mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-01 07:09:21 +01:00
bf41958c16
Backport #20878 The go crypto library does not pad keyIDs to 16 characters with preceding zeroes. This is a somewhat confusing thing for most users who expect these to have preceding zeroes. This PR prefixes any sub 16 length KeyID with preceding zeroes and removes preceding zeroes from KeyIDs inputted on the API. Fix #20876 Signed-off-by: Andrew Thornton <art27@cantab.net> |
||
---|---|---|
.. | ||
error.go | ||
gpg_key.go | ||
gpg_key_add.go | ||
gpg_key_commit_verification.go | ||
gpg_key_common.go | ||
gpg_key_import.go | ||
gpg_key_test.go | ||
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 |