Skip to content

Commit 8b8b48e

Browse files
authored
Use ProtonMail/go-crypto for opengpg in tests (#30736)
1 parent 7b8e418 commit 8b8b48e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ require (
1616
gitea.com/lunny/levelqueue v0.4.2-0.20230414023320-3c0159fe0fe4
1717
github.com/42wim/sshsig v0.0.0-20211121163825-841cf5bbc121
1818
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358
19+
github.com/ProtonMail/go-crypto v1.0.0
1920
github.com/PuerkitoBio/goquery v1.9.1
2021
github.com/alecthomas/chroma/v2 v2.13.0
2122
github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb
@@ -135,7 +136,6 @@ require (
135136
github.com/Masterminds/semver/v3 v3.2.1 // indirect
136137
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
137138
github.com/Microsoft/go-winio v0.6.1 // indirect
138-
github.com/ProtonMail/go-crypto v1.0.0 // indirect
139139
github.com/RoaringBitmap/roaring v1.9.0 // indirect
140140
github.com/andybalholm/brotli v1.1.0 // indirect
141141
github.com/andybalholm/cascadia v1.3.2 // indirect

tests/integration/gpg_git_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import (
1919
"code.gitea.io/gitea/modules/test"
2020
"code.gitea.io/gitea/tests"
2121

22+
"github.com/ProtonMail/go-crypto/openpgp"
23+
"github.com/ProtonMail/go-crypto/openpgp/armor"
2224
"github.com/stretchr/testify/assert"
23-
"golang.org/x/crypto/openpgp"
24-
"golang.org/x/crypto/openpgp/armor"
2525
)
2626

2727
func TestGPGGit(t *testing.T) {

0 commit comments

Comments
 (0)