You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/asymkey
Giteabot 935bfe6445
Fix missing 0 prefix of GPG key id (#30245) (#30247)
Backport #30245 by @KN4CK3R

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.

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
11 months ago
..
error.go
gpg_key.go
gpg_key_add.go
gpg_key_commit_verification.go Fix missing 0 prefix of GPG key id (#30245) (#30247) 11 months ago
gpg_key_common.go Fix missing 0 prefix of GPG key id (#30245) (#30247) 11 months ago
gpg_key_import.go
gpg_key_test.go Fix missing 0 prefix of GPG key id (#30245) (#30247) 11 months ago
gpg_key_verify.go
main_test.go
ssh_key.go
ssh_key_authorized_keys.go
ssh_key_authorized_principals.go
ssh_key_commit_verification.go
ssh_key_deploy.go
ssh_key_fingerprint.go
ssh_key_parse.go
ssh_key_principals.go
ssh_key_test.go
ssh_key_verify.go Retry SSH key verification with additional CRLF if it failed (#28392) (#28464) 1 year ago