chore: Prepare pre-release v2.8.0-beta.0 (#302)

This commit is contained in:
Lukas Burkhalter 2024-10-01 16:55:59 +02:00 committed by GitHub
parent 1136c7d026
commit 5ec8559b90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 12 additions and 5 deletions

View file

@ -4,6 +4,13 @@ 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/), 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). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.8.0-beta.0] 2024-10-01
### Added
- Add `GetSHA256Fingerprint` method to `Key`.
### Changed
- Update go-crypto to `1.1.0-beta.0`.
## [2.8.0-alpha.1] 2024-04-09 ## [2.8.0-alpha.1] 2024-04-09
### Added ### Added

View file

@ -301,7 +301,7 @@ func Test_SignDetachedWithNonCriticalContext(t *testing.T) {
t.Fatal("Packet was not a signature") t.Fatal("Packet was not a signature")
} }
notations := sig.Notations notations := sig.Notations
if len(notations) != 1 { if len(notations) != 2 {
t.Fatal("Wrong number of notations") t.Fatal("Wrong number of notations")
} }
notation := notations[0] notation := notations[0]
@ -344,7 +344,7 @@ func Test_SignDetachedWithCriticalContext(t *testing.T) {
t.Fatal("Packet was not a signature") t.Fatal("Packet was not a signature")
} }
notations := sig.Notations notations := sig.Notations
if len(notations) != 1 { if len(notations) != 2 {
t.Fatal("Wrong number of notations") t.Fatal("Wrong number of notations")
} }
notation := notations[0] notation := notations[0]

2
go.mod
View file

@ -3,7 +3,7 @@ module github.com/ProtonMail/gopenpgp/v2
go 1.17 go 1.17
require ( require (
github.com/ProtonMail/go-crypto v1.1.0-alpha.1 github.com/ProtonMail/go-crypto v1.1.0-beta.0
github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f
github.com/pkg/errors v0.9.1 github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.7.0 github.com/stretchr/testify v1.7.0

4
go.sum
View file

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