Merge pull request #140 from ProtonMail/release-2.2.1
Release version 2.2.1
This commit is contained in:
commit
dc08a383a1
3 changed files with 4 additions and 5 deletions
|
|
@ -4,15 +4,14 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## Unreleased
|
## [2.2.1] 2021-07-27
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Changed the returned `SignatureVerificationError.Status` when trying to verify a message with no embedded signature. It used to return `constants.SIGNATURE_NO_VERIFIER` and now returns `constants.SIGNATURE_NOT_SIGNED`.
|
- Changed the returned `SignatureVerificationError.Status` when trying to verify a message with no embedded signature. It used to return `constants.SIGNATURE_NO_VERIFIER` and now returns `constants.SIGNATURE_NOT_SIGNED`.
|
||||||
This change impacts :
|
This change impacts :
|
||||||
- `func (sk *SessionKey) DecryptAndVerify(...)`
|
- `func (sk *SessionKey) DecryptAndVerify(...)`
|
||||||
- `func (msg *PlainMessageReader) VerifySignature(...)`
|
- `func (msg *PlainMessageReader) VerifySignature(...)`
|
||||||
- `func (keyRing *KeyRing) Decrypt(...)`
|
- `func (keyRing *KeyRing) Decrypt(...)`
|
||||||
|
- Improved error messages for failures in password protected message decryption
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
- Helper to access the SignatureVerificationError explicitly when decrypting streams in mobile apps:
|
- Helper to access the SignatureVerificationError explicitly when decrypting streams in mobile apps:
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package constants
|
||||||
|
|
||||||
// Constants for armored data.
|
// Constants for armored data.
|
||||||
const (
|
const (
|
||||||
ArmorHeaderVersion = "GopenPGP 2.2.0"
|
ArmorHeaderVersion = "GopenPGP 2.2.1"
|
||||||
ArmorHeaderComment = "https://gopenpgp.org"
|
ArmorHeaderComment = "https://gopenpgp.org"
|
||||||
PGPMessageHeader = "PGP MESSAGE"
|
PGPMessageHeader = "PGP MESSAGE"
|
||||||
PGPSignatureHeader = "PGP SIGNATURE"
|
PGPSignatureHeader = "PGP SIGNATURE"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
package constants
|
package constants
|
||||||
|
|
||||||
const Version = "2.2.0"
|
const Version = "2.2.1"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue