-
Notifications
You must be signed in to change notification settings - Fork 562
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
Addition of AEAD Encrypted Data Packet (Tag 20) #497
Comments
Generating a new default key with Gpg and encrypting a file, produces a PGP file that crashes with PgpCore (due to it's dependency on BouncyCastle.Cryptography). The message is:
I suspect this comes from the method ReadPacket in BcpgInputStream, but I am hesitant to make a PR to this library myself, since I am not familiar with it's workings. Let me know, if I can assist in any way in getting this implemented. |
Maybe there is a "special" way to decrypt and verify data when AEAD is present. By PgpCore, you can check how the decrypt method is here : https://github.com/mattosaurus/PgpCore/blob/master/PgpCore/PGP.DecryptAsync.cs (from 198) But it is weird because if I check the last release notes : AEAD is managed. I updated the PgpCore ticket too. |
Are there any solutions available for this issue? I'm encountering the same error |
Getting this same error. Doesn't look like bouncy castle has a solution for files encrypted with AEAD keys. |
This issue is a blocker for us, can any one please help on this issue |
we are able to remove AEAD blocks from keys and got this work as a work around. This isn't a blocker for us now. |
Org.BouncyCastle.Bcpg.PacketTag needs the new 20 tag for AEAD.
The text was updated successfully, but these errors were encountered: