Merge pull request #234 from ProtonMail/release-2.7.0
Prepare release of gopenpgp v2.7.0
This commit is contained in:
commit
753a3fedff
3 changed files with 6 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ 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.7.0] 2023-04-14
|
||||
### Changed
|
||||
- The `SignatureVerificationError` struct now has a `Cause error` field, which is returned by the the Unwrap function. The cause is also included in the error message.
|
||||
NB: If the caller was relying on the exact message of the error, it might break the flow.
|
||||
|
|
@ -15,6 +15,9 @@ status `constants.SIGNATURE_BAD_CONTEXT` instead of `constants.SIGNATURE_FAILED`
|
|||
- Add api for signature context on streams `SignDetachedStreamWithContext`.
|
||||
- Add API for signature context on embedded signatures.
|
||||
|
||||
## Fixed
|
||||
- When verifying detached signatures, gopenpgp sometimes needs to reattempt verification a second time to check for edge cases of signature expiration. This logic was broken because it was not rewinding the data readers.
|
||||
|
||||
## [2.6.1] 2023-03-22
|
||||
|
||||
### Security fix
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ package constants
|
|||
|
||||
// Constants for armored data.
|
||||
const (
|
||||
ArmorHeaderVersion = "GopenPGP 2.6.1"
|
||||
ArmorHeaderVersion = "GopenPGP 2.7.0"
|
||||
ArmorHeaderComment = "https://gopenpgp.org"
|
||||
PGPMessageHeader = "PGP MESSAGE"
|
||||
PGPSignatureHeader = "PGP SIGNATURE"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
package constants
|
||||
|
||||
const Version = "2.6.1"
|
||||
const Version = "2.7.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue