gitea/templates/user
Gusted f882747209
Fix key signature error page (#22229) (#22231)
- Backport of #22229
- When the GPG key contains an error, such as an invalid signature or an
email address that does not match the user.A page will be shown that
says you must provide a signature for the token.
- This page had two errors: one had the wrong translation key and the
other tried to use an undefined variable
[`.PaddedKeyID`](e81ccc406b/models/asymkey/gpg_key.go (L65-L72)),
which is a function implemented on the `GPGKey` struct, given that we
don't have that, we use
[`KeyID`](e81ccc406b/routers/web/user/setting/keys.go (L102))
which is [the fingerprint of the
publickey](https://pkg.go.dev/golang.org/x/crypto/openpgp/packet#PublicKey.KeyIdString)
and is a valid way for opengpg to refer to a key.

<!--

Please check the following:

1. Make sure you are targeting the `main` branch, pull requests on
release branches are only allowed for bug fixes.
2. Read contributing guidelines:
https://github.com/go-gitea/gitea/blob/main/CONTRIBUTING.md
3. Describe what your pull request does and which issue you're targeting
(if any)

-->
2022-12-28 22:16:18 +02:00
..
auth Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
dashboard Use correct variable for issue count (#20086) 2022-06-22 11:26:41 -05:00
notification Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
overview Add missing Tabs on organisation/package view (#20539) 2022-07-29 19:14:50 +02:00
settings Fix key signature error page (#22229) (#22231) 2022-12-28 22:16:18 +02:00
heatmap.tmpl Remove fetch request from heatmap (#13623) 2020-11-18 16:00:16 -06:00
profile.tmpl Make user profile image show full image on mobile (#19840) 2022-06-10 19:06:34 +08:00
project.tmpl Fix truncated organization names (#14655) 2021-02-12 03:29:07 +02:00