Skip to content

Commit

Permalink
deps: update to latest protonmail crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
whereswaldon committed Oct 31, 2020
1 parent e3b60d5 commit 0e51e2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions fields/qualifieds.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,6 @@ func (q *QualifiedSignature) Validate() error {
switch concrete := p.(type) {
case *packet.Signature:
algorithm = concrete.PubKeyAlgo
case *packet.SignatureV3:
algorithm = concrete.PubKeyAlgo
default:
return fmt.Errorf("signature packet did not contain signature, had %T instead", concrete)
}
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module git.sr.ht/~whereswaldon/forest-go

require golang.org/x/crypto v0.0.0-20190513172903-22d7a77e9e5f
require golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897

replace golang.org/x/crypto => github.com/ProtonMail/crypto v0.0.0-20200416114516-1fa7f403fb9c
replace golang.org/x/crypto => github.com/ProtonMail/crypto v0.0.0-20201022141144-3fe6b6992c0f

go 1.14
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/ProtonMail/crypto v0.0.0-20200416114516-1fa7f403fb9c h1:DAvlgde2Stu18slmjwikiMPs/CKPV35wSvmJS34z0FU=
github.com/ProtonMail/crypto v0.0.0-20200416114516-1fa7f403fb9c/go.mod h1:Pxr7w4gA2ikI4sWyYwEffm+oew1WAJHzG1SiDpQMkrI=
github.com/ProtonMail/crypto v0.0.0-20201022141144-3fe6b6992c0f h1:CrqdTsoF7teMqQok+iHUx3yjYJfkpDuU7y/nIxRJ2rY=
github.com/ProtonMail/crypto v0.0.0-20201022141144-3fe6b6992c0f/go.mod h1:Pxr7w4gA2ikI4sWyYwEffm+oew1WAJHzG1SiDpQMkrI=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
Expand Down

0 comments on commit 0e51e2b

Please sign in to comment.