1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/models/asymkey
Giteabot deaabf66d9
Fix missing 0 prefix of GPG key id () ()
Backport  by @KN4CK3R

Fixes 

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>
2024-04-02 16:23:52 +00:00
..
error.go
gpg_key_add.go
gpg_key_commit_verification.go Fix missing 0 prefix of GPG key id () () 2024-04-02 16:23:52 +00:00
gpg_key_common.go Fix missing 0 prefix of GPG key id () () 2024-04-02 16:23:52 +00:00
gpg_key_import.go
gpg_key_list.go Move more functions to db.Find () 2024-01-15 02:19:25 +00:00
gpg_key_test.go Fix missing 0 prefix of GPG key id () () 2024-04-02 16:23:52 +00:00
gpg_key_verify.go Fix GPG subkey verify () () 2024-03-31 06:48:33 +00:00
gpg_key.go Move more functions to db.Find () 2024-01-15 02:19:25 +00:00
main_test.go
ssh_key_authorized_keys.go Fix some pending problems () 2024-03-22 19:17:30 +08:00
ssh_key_commit_verification.go
ssh_key_deploy.go
ssh_key_fingerprint.go
ssh_key_parse.go
ssh_key_principals.go Move some asymkey functions to service layer () 2024-03-04 08:57:39 +00:00
ssh_key_test.go
ssh_key_verify.go
ssh_key.go Move more functions to db.Find () 2024-01-15 02:19:25 +00:00