Skip to content

Releases: ProtonMail/gopenpgp

Release version 2.4.8

22 Jun 14:32
Compare
Choose a tag to compare

Add AEAD decryption support

Release version 2.4.7

27 Apr 13:23
8145690
Compare
Choose a tag to compare
  • DecryptMIMEMessage will return the decrypted content in the OnBody callback, even when there's a signature verification error. That lets the caller decide whether they want to use the content with a warning or hard fail on signature errors.
  • Key generation functions no longer return an error if either the name or email is empty

Release version 2.4.6

25 Mar 16:32
e04eb20
Compare
Choose a tag to compare

Fix MIME signature parsing issues

Release version 2.4.5

01 Mar 10:44
Compare
Choose a tag to compare

Deprecate SeparateKeyAndData, replace with (msg *PGPMessage) SplitMessage() to split PGP messages

Release version 2.4.4

28 Feb 11:39
Compare
Choose a tag to compare

Clone returned slices from SeparateKeyAndData

Release version 2.4.3

24 Feb 21:02
6495eca
Compare
Choose a tag to compare

Security

  • Fixed incorrect MDC parsing for session key decryption

Changed

  • SeparateKeyAndData is now implemented in a more generic way, by checking for the location in the bytes of the last session key packet, then splitting the binary message after that point.

Fixed

  • SeparateKeyAndData now correctly parses AEAD packets.
  • (ap *AttachmentProcessor) Finish() now returns encryption errors correctly.

Release version 2.4.2

13 Jan 13:57
16358e8
Compare
Choose a tag to compare

Update underlying crypto library and prevent AEAD messages from being created until the specification is stable

Release version 2.4.1

10 Jan 15:53
6c08b55
Compare
Choose a tag to compare

Fixed bug with NewPGPSplitMessageFromArmored(armored) and PGPMessage.SeparateKeyAndData(). Those functions didn't parse AEAD encrypted messages correctly (eg messages encrypted with the latest versions of gnupg), resulting in a nil DataPacket.

Release version 2.4.0

21 Dec 18:08
3aafa3c
Compare
Choose a tag to compare

Update underlying crypto library and add functionality to get the signature timestamp of a verified signature

Release version 2.3.1

15 Dec 11:01
eec2885
Compare
Choose a tag to compare

Fix the verification of PGP/MIME message signatures:

  • Improve the handling of the dual verification status so that it is considered invalid if both embedded and PGP/MIME signatures are invalid.
  • start calling callback.OnVerified(status int) to communicate the status verification of the message.