You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates
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)

-->
2 years ago
..
admin Fix sorting admin user list by last login (#22081) (#22106) 2 years ago
api/packages/pypi Add Package Registry (#16510) 3 years ago
base Enable contenthash in filename for dynamic assets (#20813) (#20932) 3 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Remove tab/TabName usage where it's not needed (#19973) 3 years ago
mail Add disable download source configuration (#20548) (#20579) 3 years ago
org Do not add links to Posters or Assignees with ID < 0 (#20577) (#21037) 3 years ago
package Fix container layer display overflow (#22208) (#22212) 2 years ago
repo Fix button in branch list, avoid unexpected page jump before restore branch actually done (#21562) (#21927) 2 years ago
shared Do not add links to Posters or Assignees with ID < 0 (#20577) (#21037) 3 years ago
status Refactor HTTP request context (#17979) 3 years ago
swagger Use Go 1.19 fmt for Gitea 1.17, sync emoji data (#21239) 3 years ago
user Fix key signature error page (#22229) (#22231) 2 years ago
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
install.tmpl Refactor install page (db type) (#17919) 3 years ago
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago