Skip to content

Commit 5ec8559

Browse files
authored
chore: Prepare pre-release v2.8.0-beta.0 (#302)
1 parent 1136c7d commit 5ec8559

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ 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+
## [2.8.0-beta.0] 2024-10-01
8+
### Added
9+
- Add `GetSHA256Fingerprint` method to `Key`.
10+
11+
### Changed
12+
- Update go-crypto to `1.1.0-beta.0`.
13+
714
## [2.8.0-alpha.1] 2024-04-09
815

916
### Added

crypto/signature_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ func Test_SignDetachedWithNonCriticalContext(t *testing.T) {
301301
t.Fatal("Packet was not a signature")
302302
}
303303
notations := sig.Notations
304-
if len(notations) != 1 {
304+
if len(notations) != 2 {
305305
t.Fatal("Wrong number of notations")
306306
}
307307
notation := notations[0]
@@ -344,7 +344,7 @@ func Test_SignDetachedWithCriticalContext(t *testing.T) {
344344
t.Fatal("Packet was not a signature")
345345
}
346346
notations := sig.Notations
347-
if len(notations) != 1 {
347+
if len(notations) != 2 {
348348
t.Fatal("Wrong number of notations")
349349
}
350350
notation := notations[0]

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/ProtonMail/gopenpgp/v2
33
go 1.17
44

55
require (
6-
github.com/ProtonMail/go-crypto v1.1.0-alpha.1
6+
github.com/ProtonMail/go-crypto v1.1.0-beta.0
77
github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f
88
github.com/pkg/errors v0.9.1
99
github.com/stretchr/testify v1.7.0

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/ProtonMail/go-crypto v1.1.0-alpha.1 h1:iKLDnKGL+3u4Q5OjYgixAxWdkkGBPidCQumqVryUgtY=
2-
github.com/ProtonMail/go-crypto v1.1.0-alpha.1/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE=
1+
github.com/ProtonMail/go-crypto v1.1.0-beta.0 h1:9ZLo7gzqEbrSakeRM4L0jaHMuZSLrjoYBIdIwcBr4C4=
2+
github.com/ProtonMail/go-crypto v1.1.0-beta.0/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE=
33
github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f h1:tCbYj7/299ekTTXpdwKYF8eBlsYsDVoggDAuAjoK66k=
44
github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f/go.mod h1:gcr0kNtGBqin9zDW9GOHcVntrwnjrK+qdJ06mWYBybw=
55
github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=

0 commit comments

Comments
 (0)