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

Update session key decryption to not allow SED packets #255

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

lubux
Copy link
Contributor

@lubux lubux commented Oct 27, 2023

To protect SEIPDv1 encrypted messages, SED packets should not be allowed in decryption.
Although the decryption functions with pgp keys in gopenpgp do not allow SED packets, the decrypt with session key function allowed such packets without returning an error.
This PR addresses this issue by not allowing non-integrity protected packets in the decrypt with a session key functions.

@lubux lubux requested a review from twiss October 27, 2023 10:05
@lubux lubux merged commit da4cecf into main Oct 27, 2023
9 checks passed
@lubux lubux deleted the fix/decrypt-sed-should-fail branch October 27, 2023 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants