aboutsummaryrefslogtreecommitdiffstats
path: root/models/asymkey
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-02-03 01:11:39 +0100
committerGitHub <noreply@github.com>2024-02-02 19:11:39 -0500
commita6cea595146d0de42aa83c9cca929b015aae4552 (patch)
tree72b7b7e808531567ec08ba074f178818a0027c7d /models/asymkey
parenta9bc590d5d10b97bd8aa050ffb720e141a600064 (diff)
downloadgitea-a6cea595146d0de42aa83c9cca929b015aae4552.tar.gz
gitea-a6cea595146d0de42aa83c9cca929b015aae4552.zip
Update tool dependencies (#29030)
Diffstat (limited to 'models/asymkey')
-rw-r--r--models/asymkey/gpg_key_verify.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/models/asymkey/gpg_key_verify.go b/models/asymkey/gpg_key_verify.go
index 98a3e7d390..4cf46ab556 100644
--- a/models/asymkey/gpg_key_verify.go
+++ b/models/asymkey/gpg_key_verify.go
@@ -63,7 +63,6 @@ func VerifyGPGKey(ctx context.Context, ownerID int64, keyID, token, signature st
}
if signer == nil {
signer, err = hashAndVerifyWithSubKeys(sig, token+"\n", key)
-
if err != nil {
return "", ErrGPGInvalidTokenSignature{
ID: key.KeyID,