Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing 0 prefix of GPG key id (#30245) #30247

Merged
merged 1 commit into from Apr 2, 2024

Conversation

GiteaBot
Copy link
Contributor

@GiteaBot GiteaBot commented Apr 2, 2024

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.

Fixes go-gitea#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.
@GiteaBot GiteaBot added modifies/go Pull requests that update Go code type/bug labels Apr 2, 2024
@GiteaBot GiteaBot added this to the 1.21.11 milestone Apr 2, 2024
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 2, 2024
@GiteaBot GiteaBot requested review from delvh and lunny April 2, 2024 15:51
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 2, 2024
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Apr 2, 2024
@KN4CK3R KN4CK3R enabled auto-merge (squash) April 2, 2024 15:52
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 2, 2024
@KN4CK3R KN4CK3R merged commit 935bfe6 into go-gitea:release/v1.21 Apr 2, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/go Pull requests that update Go code size/M Denotes a PR that changes 30-99 lines, ignoring generated files. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants