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

null pointer when doing v6 aead symmetric encryption #1913

Open
singpolyma opened this issue Nov 17, 2024 · 0 comments
Open

null pointer when doing v6 aead symmetric encryption #1913

singpolyma opened this issue Nov 17, 2024 · 0 comments
Assignees

Comments

@singpolyma
Copy link

https://github.com/bcgit/bc-java/blob/main/pg/src/main/java/org/bouncycastle/openpgp/operator/bc/BcPBEKeyEncryptionMethodGenerator.java#L119 expects sessionInfo to be non-null, but https://github.com/bcgit/bc-java/blob/main/pg/src/main/java/org/bouncycastle/openpgp/PGPEncryptedDataGenerator.java#L229 sets it to null when there is only a single symmetric encryption key.

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

2 participants