Releases: ProtonMail/gopenpgp
Releases · ProtonMail/gopenpgp
Pre-Release v2.8.0-alpha.0
This pre-release adds support for the OpenPGP crypto-refresh in v2 by updating the go-crypto dependency.
Added
- Updates go-crypto dependency to
v1.1.0-alpha.1
- Adapts the session key logic to handle PKESK/SKESK v6 packets without an algorithm attached
- Updates the min go version to
1.17
as requires by go-cryptov1.1.0-alpha.1
- Update the cricl dependency to
1.3.7
matching go-crypto
Not supported crypto-refresh features:
- intended recipients
- v6 key generation
Release v2.7.5-proton
This release is 2.7.5 with support for symmetric keys and automatic forwarding, both of which are not standardized yet.
Release v2.7.5
Added
- API to get signature key IDs for mobile:
func (msg *PGPMessage) GetHexSignatureKeyIDsJson() []byte
- API to get encryption key IDs for mobile:
func (msg *PGPMessage) GetHexEncryptionKeyIDsJson() []byte
- API to get the number of key packets in a PGP message:
func (msg *PGPSplitMessage) GetNumberOfKeyPackets() (int, error)
- API in package
helper
to encrypt a PGP message to an additional key:func EncryptPGPMessageToAdditionalKey(messageToModify *crypto.PGPSplitMessage, keyRing *crypto.KeyRing, additionalKey *crypto.KeyRing) error
Release v3.0.0-alpha.0-proton
This release is v3.0.0-alpha.0 with support for symmetric keys and automatic forwarding, both of which are not standardized yet.
Release v3.0.0-alpha.0
Added
- New simplified API that is not backward compatible.
- Full support for the crypto refresh.
- Improved interoperability with other OpenPGP libraries.
- Streaming support for all operations.
- Introduces profiles for OpenPGP customization.
- More documentation and examples.
Changed
- Mobile specific code is moved to the
mobile
package. - Mime specific code is moved to the
mime
package. - Replaces the go-crypto v1 API with the v2 API.
Removed
- The
helper
package, use the crypto package with the new API instead. subtle
andmodels
package.- Time management code for retrieving and setting timestamps.
Release 2.7.4-proton
This release is 2.7.4 with support for symmetric keys and automatic forwarding, both of which are not standardized yet.
Release v2.7.4
Fixed
- Ensure that
(SessionKey).Decrypt
functions return an error if no integrity protection is present in the encrypted input. To protect SEIPDv1 encrypted messages, SED packets must not be allowed in decryption.
Release 2.7.3-proton
This release is 2.7.3 with support for symmetric keys and automatic forwarding, both of which are not standardized yet.
Release v2.7.3
Added
- Add
helper.QuickCheckDecrypt
function to the helper package. The function allows to check with high probability if a session key can decrypt a SEIPDv1 data packet given its 24-byte prefix.
Release 2.7.2-proton
This release is 2.7.2 with support for symmetric keys and automatic forwarding, both of which are not standardized yet.