Skip to content

Releases: ProtonMail/gopenpgp

Release version 2.5.2

26 Jan 11:43
b4e40eb
Compare
Choose a tag to compare

Changed

  • Update github.com/ProtonMail/go-crypto to the latest version

Release version 2.5.1

25 Jan 09:30
2adafdb
Compare
Choose a tag to compare

Added

  • Streaming API to encrypt with compression:
    • func (keyRing *KeyRing) EncryptStreamWithCompression
    • func (keyRing *KeyRing) EncryptSplitStreamWithCompression
    • func (sk *SessionKey) EncryptStreamWithCompression

Release version 2.5.0

16 Dec 09:34
e1f4ae0
Compare
Choose a tag to compare

Changed

  • Update github.com/ProtonMail/go-crypto to the latest version
  • Update github.com/ProtonMail/go-mime to the latest version, which cleans up unneeded dependencies. And fix an issue with PGP/MIME messages with non standard encodings.
  • Sanitize strings returned in MIMECallbacks.OnBody() and PlainMessage.GetString(). Strings that have non utf8 characters will be sanitized to have the "character unknown" character : � instead.
  • Detached sign text messages with signature type text. Similarly, clearsigned messages now also use signature type text.
  • Leave trailing spaces of text messages intact (except for clearsigned messages, where the spec requires us to trim trailing spaces). Note that for backwards compatibility, when verifying detached signatures over text messages, the application will have to trim trailing spaces in order for the signature to verify, if it was created by a previous version of this library (using crypto.NewPlainMessageFromString()).

Release version 2.4.10

23 Aug 11:54
dd858da
Compare
Choose a tag to compare

Update go-crypto

Release version 2.4.9

19 Aug 09:58
3278880
Compare
Choose a tag to compare

Upgrade underlying go-crypto version

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