gitea/templates/user/settings
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
..
security Fix linked account translation (#21331) (#21334) 2022-10-05 10:25:34 -04:00
account.tmpl Hide notify mail setting ui if not enabled (#20138) (#20336) 2022-07-13 09:47:29 +08:00
appearance.tmpl Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
applications.tmpl Remove out-dated comments (#19921) 2022-06-08 18:17:44 +01:00
applications_oauth2.tmpl Add modals to Organization and Team remove/leave (#16471) 2021-08-26 22:57:40 -04:00
applications_oauth2_edit.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
grants_oauth2.tmpl Add modals to Organization and Team remove/leave (#16471) 2021-08-26 22:57:40 -04:00
keys.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
keys_gpg.tmpl Fix key signature error page (#22229) (#22231) 2022-12-28 22:16:18 +02:00
keys_principal.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
keys_ssh.tmpl Make Ctrl+Enter (quick submit) work for issue comment and wiki editor (#19729) 2022-05-20 04:26:04 +02:00
navbar.tmpl Add appearance section in settings (#17433) 2021-10-27 23:40:08 +08:00
organization.tmpl Replace blue button and label classes with primary (#19763) 2022-05-20 00:08:08 +02:00
profile.tmpl Cleanup and use global style on popups (#17674) 2021-11-18 11:26:50 +08:00
repos.tmpl Update JS dependencies (#19281) 2022-04-01 02:15:46 +02:00