Skip to content

Commit 753a3fe

Browse files
authored
Merge pull request #234 from ProtonMail/release-2.7.0
Prepare release of gopenpgp v2.7.0
2 parents 5aebf6a + 300603d commit 753a3fe

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## Unreleased
7+
## [2.7.0] 2023-04-14
88
### Changed
99
- 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.
1010
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`
1515
- Add api for signature context on streams `SignDetachedStreamWithContext`.
1616
- Add API for signature context on embedded signatures.
1717

18+
## Fixed
19+
- 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.
20+
1821
## [2.6.1] 2023-03-22
1922

2023
### Security fix

constants/armor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package constants
33

44
// Constants for armored data.
55
const (
6-
ArmorHeaderVersion = "GopenPGP 2.6.1"
6+
ArmorHeaderVersion = "GopenPGP 2.7.0"
77
ArmorHeaderComment = "https://gopenpgp.org"
88
PGPMessageHeader = "PGP MESSAGE"
99
PGPSignatureHeader = "PGP SIGNATURE"

constants/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package constants
22

3-
const Version = "2.6.1"
3+
const Version = "2.7.0"

0 commit comments

Comments
 (0)