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

PGPMessage.decrypt should offer the ability to decrypt with a session key #389

Open
dkg opened this issue Feb 2, 2022 · 0 comments
Open

Comments

@dkg
Copy link
Contributor

dkg commented Feb 2, 2022

Currently, PGPMessage.decrypt() allows decryption with a passphrase, expecting an SKESK packet in the message to yield a session key.

But it's possible that the user already has a session key handy, and would like to use it instead of a passphrase (or in the event that no SKESK packet is present).

It would be nice if PGPy could support this use case cleanly and simply.

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

No branches or pull requests

1 participant