ProtonMail / gopenpgp

A high-level OpenPGP library
https://gopenpgp.org
MIT License
1.01k stars 111 forks source link

Add decryption quick check for SEIPDv2 #250

Open lubux opened 10 months ago

lubux commented 10 months ago

This pull request updates the helper.QuickCheckDecrypt function to support SEIPDv2 data packets. To quick check that a session key can decrypt a SEIPDv2 data packet, the function checks that the aead authentication tag of the last chunk matches.