1
1
mirror of https://github.com/go-gitea/gitea synced 2025-10-31 19:38:23 +00:00
Files
gitea/models/asymkey/gpg_key_test.go
KN4CK3R eb505b128c Fix missing 0 prefix of GPG key id (#30245)
Fixes #30235

If the key id "front" byte has a single digit, `%X` is missing the 0
prefix.
` 38D1A3EADDBEA9C` instead of
`038D1A3EADDBEA9C`
When using the `IssuerFingerprint` slice `%X` is enough but I changed it
to `%016X` too to be consistent.
2024-04-02 17:50:57 +02:00

20 KiB