1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00
forgejo/models
KN4CK3R 63904e2f97
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.

(cherry picked from commit eb505b128c7b9b2459f2a5d20b5740017125178b)

Conflicts:
	- models/asymkey/gpg_key_commit_verification.go
          Ported the change to models/asymkey/gpg_key_object_verification.go
2024-04-07 15:40:31 +02:00
..
actions Add API for Variables (#29520) 2024-04-07 10:57:53 +02:00
activities [Port] gitea#29930: Move notifications to a standalone file 2024-03-28 14:21:42 +01:00
admin
asymkey Fix missing 0 prefix of GPG key id (#30245) 2024-04-07 15:40:31 +02:00
auth Sort BuiltinApplicationsClientIDs() in test 2024-04-06 11:30:02 +02:00
avatars Replace 10 more gt- classes with tw- (#29945) 2024-03-26 19:04:27 +01:00
db [FEAT] Mark database errors in tests as failure 2024-04-02 14:40:31 +02:00
dbfs
fixtures [TESTS] pull review deleted from gitea#29888 2024-03-31 13:53:47 +02:00
forgejo/semver
forgejo_migrations Add back ID field to pronouns migration 2024-04-03 15:16:38 -05:00
git Refactor LFS GC functions 2024-04-05 16:49:15 +02:00
issues [GITEA] Apply changes to archived labels 2024-04-01 17:46:02 +05:00
migrations [CHORE] Remove u2f dependency 2024-04-05 16:23:10 +02:00
organization Respect DEFAULT_ORG_MEMBER_VISIBLE setting when adding creator to org (#30013) 2024-03-26 19:04:28 +01:00
packages Fix incorrect relative/absolute URL usages (#29531) 2024-03-06 12:10:46 +08:00
perm Users with read permission of pull requests can be assigned too (#27263) 2024-02-26 22:30:27 +01:00
project Fix migration v292 (#30153) 2024-03-30 07:17:32 +01:00
pull
repo [I18N] Allow custom repo size format 2024-04-02 18:43:12 +05:00
secret Make runs-on support variable expression (#29468) 2024-03-11 23:36:59 +07:00
shared/types
system
unit
unittest [Windows] prevent ? in testdata path 2024-03-15 13:15:46 +01:00
user Add setting to disable user features when user login type is not plain (#29615) 2024-04-07 11:09:21 +02:00
webhook [TEST] webhook creation payload ref 2024-04-05 16:21:41 +02:00
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go
repo_transfer_test.go