Releases: ProtonMail/gopenpgp
Release version 2.1.9
Upgrade the underlying go-crypto forking off from x/crypto, remove duplicate modules.
Release version 2.1.8
Added:
- Key and KeyRing methods to check if a key/keyring can Encrypt or Verify
(key *Key) CanVerify() bool
(key *Key) CanEncrypt() bool
(keyRing *KeyRing) CanVerify() bool
(keyRing *KeyRing) CanEncrypt() bool
- SessionKey methods to encrypt/decrypt and simultaneously sign/verify with an asymmetric key (embedded signature)
(sk *SessionKey) EncryptAndSign(message *PlainMessage, signKeyRing *KeyRing) ([]byte, error)
(sk *SessionKey) DecryptAndVerify(dataPacket []byte, verifyKeyRing *KeyRing, verifyTime int64) (*PlainMessage, error)
- The mobile helper
DecryptSessionKeyExplicitVerify
to allow using session key decryption + verification operations via gomobile
Release version 2.1.7
Add ManualAttachmentProcessor
for manual memory management in attachments and add support mobile building with go 1.16
Release version 2.1.6
Update underlying crypto lib, add support for multiple embedded signatures, improve session key handling, and fix headers for public keys
Release version 2.1.5
Removed an unnecessary cloning in the attachment processor, to perform better in low memory settings
Release version 2.1.4
Add functions to directly handle encrypted detached signatures
Release version 2.1.3
This version changes the upstream library to use ProtonMail/go-crypto replacing x/crypto and improves the memory management for attachments
Release version 2.1.2
In this release SetKeyGenerationOffset
was added to allow an offset in key generation time and prevent not-yet-valid keys, and the regex for canonicalization was removed, increasing performance for large messages.
Release version 2.1.1
Minor session key management fixes and x/crypto update
Release version 2.1.0
This release adds several helpers, fixes filename and binary data handling, adds compression support, and improves the session key handling.
For the detailed list of changes please consult the changelog