diff options
author | Antoine GIRARD <sapk@users.noreply.github.com> | 2017-06-14 02:43:43 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-06-14 08:43:43 +0800 |
commit | 274149dd14909d4ba87f25f8e5160f51ca5f7265 (patch) | |
tree | 37157530111d5bf90efcc914fbc8c8e7cdff3db9 /models/gpg_key.go | |
parent | 5e92b82ac632043f622117419ad04e57e9c029f3 (diff) | |
download | gitea-274149dd14909d4ba87f25f8e5160f51ca5f7265.tar.gz gitea-274149dd14909d4ba87f25f8e5160f51ca5f7265.zip |
Switch to keybase go-crypto (for some elliptic curve key) + test (#1925)
* Switch to keybase go-crypto (for some elliptic curve key) + test
* Use assert.NoError
and add a little more context to failing test description
* Use assert.(No)Error everywhere 🌈
and assert.Error in place of .Nil/.NotNil
Diffstat (limited to 'models/gpg_key.go')
-rw-r--r-- | models/gpg_key.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/models/gpg_key.go b/models/gpg_key.go index 862bd88596..6a5daf6361 100644 --- a/models/gpg_key.go +++ b/models/gpg_key.go @@ -19,9 +19,9 @@ import ( "code.gitea.io/gitea/modules/log" "github.com/go-xorm/xorm" - "golang.org/x/crypto/openpgp" - "golang.org/x/crypto/openpgp/armor" - "golang.org/x/crypto/openpgp/packet" + "github.com/keybase/go-crypto/openpgp" + "github.com/keybase/go-crypto/openpgp/armor" + "github.com/keybase/go-crypto/openpgp/packet" ) // GPGKey represents a GPG key. |