Release version 2.2.1

This commit is contained in:
Aron Wussler 2021-07-27 12:51:54 +02:00
parent 126388e321
commit 44016a15c4
3 changed files with 4 additions and 5 deletions

View file

@ -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: