1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-19 16:58:37 +00:00

Update tool dependencies (#29030)

This commit is contained in:
silverwind
2024-02-03 01:11:39 +01:00
committed by GitHub
parent a9bc590d5d
commit a6cea59514
7 changed files with 5 additions and 12 deletions

View File

@@ -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,