0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 03:22:26 +01:00
gitea/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
locale_cs-CZ.ini
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
locale_fi-FI.ini
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2021-07-13 00:07:51 +00:00
locale_hu-HU.ini
locale_id-ID.ini
locale_it-IT.ini
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2021-07-13 00:07:51 +00:00
locale_ko-KR.ini
locale_lv-LV.ini
locale_ml-IN.ini
locale_nl-NL.ini
locale_pl-PL.ini
locale_pt-BR.ini
locale_pt-PT.ini [skip ci] Updated translations via Crowdin 2021-07-13 00:07:51 +00:00
locale_ru-RU.ini
locale_sr-SP.ini
locale_sv-SE.ini
locale_tr-TR.ini
locale_uk-UA.ini
locale_zh-CN.ini
locale_zh-HK.ini
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2021-07-13 00:07:51 +00:00
TRANSLATORS