loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix GPG subkey verify (#30193)

Fixes #30189

Can't verify subkeys if they are not loaded.

(cherry picked from commit 82ffd91607ba03907ebad31ec9a38555b153a331)

authored by

KN4CK3R and committed by
Gergely Nagy
5a674dd0 fbca0dd9

+4
+4
models/asymkey/gpg_key_verify.go
··· 46 46 return "", ErrGPGKeyNotExist{} 47 47 } 48 48 49 + if err := key.LoadSubKeys(ctx); err != nil { 50 + return "", err 51 + } 52 + 49 53 sig, err := extractSignature(signature) 50 54 if err != nil { 51 55 return "", ErrGPGInvalidTokenSignature{