diff options
author | Johan Fleury <jfleury+github@arcaik.net> | 2021-04-06 04:58:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 10:58:10 +0200 |
commit | bd662b091fad176e225b39e7f05b73ecba37cd72 (patch) | |
tree | 06c08a7a32d641462f39804fae1549b69301364c /plumbing/object/commit.go | |
parent | d5ed15d99d9b5c375dc15b0a009c915ac4edc6f7 (diff) | |
download | go-git-bd662b091fad176e225b39e7f05b73ecba37cd72.tar.gz |
*: replace golang.org/x/crypto/openpgp by github.com/ProtonMail/go-crypto/openpgp (#283)
Diffstat (limited to 'plumbing/object/commit.go')
-rw-r--r-- | plumbing/object/commit.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/object/commit.go b/plumbing/object/commit.go index 98664a1..7a1b8e5 100644 --- a/plumbing/object/commit.go +++ b/plumbing/object/commit.go @@ -9,7 +9,7 @@ import ( "io" "strings" - "golang.org/x/crypto/openpgp" + "github.com/ProtonMail/go-crypto/openpgp" "github.com/go-git/go-git/v5/plumbing" "github.com/go-git/go-git/v5/plumbing/storer" @@ -374,7 +374,7 @@ func (c *Commit) Verify(armoredKeyRing string) (*openpgp.Entity, error) { return nil, err } - return openpgp.CheckArmoredDetachedSignature(keyring, er, signature) + return openpgp.CheckArmoredDetachedSignature(keyring, er, signature, nil) } func indent(t string) string { |