From a6cea595146d0de42aa83c9cca929b015aae4552 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 3 Feb 2024 01:11:39 +0100 Subject: Update tool dependencies (#29030) --- models/asymkey/gpg_key_verify.go | 1 - 1 file changed, 1 deletion(-) (limited to 'models/asymkey') 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, -- cgit v1.2.3