Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redwood: Relax requirements for decrypting messages #7000

Merged
merged 1 commit into from
Oct 27, 2023

Commits on Oct 27, 2023

  1. redwood: Relax requirements for decrypting messages

    Even if a source key is no longer valid per policy, we still want them
    to be able to decrypt a previously valid message for them. We can also
    drop the revocation/expiry filters, which were mostly theoretical in the
    SecureDrop context anyways.
    
    We first try validating the key with the StandardPolicy before trying
    again with a NullPolicy to avoid downgrade attacks. Since we now have
    another type of policy being used, the constant has been renamed to
    STANDARD_POLICY to be clearer what kind it is.
    
    Fixes #6991.
    legoktm committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    3596bb0 View commit details
    Browse the repository at this point in the history