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/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## Unreleased
|
||||
|
||||
## [2.2.1] 2021-07-27
|
||||
### 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`.
|
||||
This change impacts :
|
||||
- `func (sk *SessionKey) DecryptAndVerify(...)`
|
||||
- `func (msg *PlainMessageReader) VerifySignature(...)`
|
||||
- `func (keyRing *KeyRing) Decrypt(...)`
|
||||
- Improved error messages for failures in password protected message decryption
|
||||
|
||||
### Added
|
||||
- Helper to access the SignatureVerificationError explicitly when decrypting streams in mobile apps:
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ package constants
|
|||
|
||||
// Constants for armored data.
|
||||
const (
|
||||
ArmorHeaderVersion = "GopenPGP 2.2.0"
|
||||
ArmorHeaderVersion = "GopenPGP 2.2.1"
|
||||
ArmorHeaderComment = "https://gopenpgp.org"
|
||||
PGPMessageHeader = "PGP MESSAGE"
|
||||
PGPSignatureHeader = "PGP SIGNATURE"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
package constants
|
||||
|
||||
const Version = "2.2.0"
|
||||
const Version = "2.2.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue