1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00
forgejo/options/locale
zeripath b82293270c
Add option to provide signature for a token to verify key ownership (#14054)
* Add option to provide signed token to verify key ownership

Currently we will only allow a key to be matched to a user if it matches
an activated email address. This PR provides a different mechanism - if
the user provides a signature for automatically generated token (based
on the timestamp, user creation time, user ID, username and primary
email.

* Ensure verified keys can act for all active emails for the user

* Add code to mark keys as verified

* Slight UI adjustments

* Slight UI adjustments 2

* Simplify signature verification slightly

* fix postgres test

* add api routes

* handle swapped primary-keys

* Verify the no-reply address for verified keys

* Only add email addresses that are activated to keys

* Fix committer shortcut properly

* Restructure gpg_keys.go

* Use common Verification Token code

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-07-13 15:28:07 +02:00
..
locale_bg-BG.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2021-07-13 00:07:51 +00:00
locale_en-US.ini Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2021-07-13 00:07:51 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2021-07-13 00:07:51 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2021-07-13 00:07:51 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_ml-IN.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_pt-PT.ini [skip ci] Updated translations via Crowdin 2021-07-13 00:07:51 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_sr-SP.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2021-06-29 00:29:44 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2021-07-13 00:07:51 +00:00
TRANSLATORS European Portuguese translation (#11568) 2020-06-05 09:07:56 +01:00