mirror of
1
Fork 0
forgejo/options/locale
Jason Song 659055138b
Secrets storage with SecretKey encrypted (#22142)
Fork of #14483, but [gave up
MasterKey](https://github.com/go-gitea/gitea/pull/14483#issuecomment-1350728557),
and fixed some problems.

Close #12065.
Needed by #13539.

Featrues:
- Secrets for repo and org, not user yet.
- Use SecretKey to encrypte/encrypt secrets.
- Trim spaces of secret value.
- Add a new locale ini block, to make it easy to support secrets for
user.

Snapshots:

Repo level secrets:

![image](https://user-images.githubusercontent.com/9418365/207823319-b8a4903f-38ca-4af7-9d05-336a5af906f3.png)

Rrg level secrets

![image](https://user-images.githubusercontent.com/9418365/207823371-8bd02e93-1928-40d1-8c76-f48b255ace36.png)

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2022-12-20 17:07:13 +08:00
..
TRANSLATORS Fix missing left and right carets in TRANSLATORS (#21397) 2022-10-10 10:36:37 -04:00
locale_bg-BG.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_cs-CZ.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_de-DE.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_el-GR.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_en-US.ini Secrets storage with SecretKey encrypted (#22142) 2022-12-20 17:07:13 +08:00
locale_es-ES.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_fa-IR.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_fi-FI.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_fr-FR.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_hu-HU.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_id-ID.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_is-IS.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_it-IT.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_ja-JP.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_ko-KR.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_lv-LV.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_ml-IN.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_nl-NL.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_pl-PL.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_pt-BR.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_pt-PT.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_ru-RU.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_si-LK.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_sk-SK.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_sv-SE.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_tr-TR.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_uk-UA.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_zh-CN.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_zh-HK.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00
locale_zh-TW.ini Revert "[skip ci] Updated translations via Crowdin" (#21689) 2022-11-06 11:29:52 +08:00