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.
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>
1 year ago
..
advanced Add setting to disable the git apply step in test patch (#22130) 1 year ago
developers Refactor docs (#21627) 2 years ago
features Improve documentation for PAM and static deployment (#21866) 2 years ago
help Attempt clarify AppWorkPath etc. (#21656) 2 years ago
installation Fix markdown typo of an extra backtick in docs (#22123) 1 year ago
packages Add pnpm to packages/overview (#22008) 1 year ago
secrets Secrets storage with SecretKey encrypted (#22142) 1 year ago
translation Add plural definitions for German translations (#21802) 2 years ago
upgrade Add redirect of /upgrade/ to /upgrade-from-gitea/ on docs site (#21330) 2 years ago
usage Refactor docs (#21627) 2 years ago
advanced.en-us.md Import docs into main repository (#2874) 7 years ago
advanced.fr-fr.md General documentation cleanup (#3317) 6 years ago
advanced.zh-cn.md Import docs into main repository (#2874) 7 years ago
advanced.zh-tw.md [docs] Add zh-tw Translations (#14507) 3 years ago
developers.en-us.md Add Package Registry (#16510) 2 years ago
developers.zh-cn.md Refactor docs (#21627) 2 years ago
developers.zh-tw.md Add Package Registry (#16510) 2 years ago
features.en-us.md Import docs into main repository (#2874) 7 years ago
features.zh-cn.md Import docs into main repository (#2874) 7 years ago
features.zh-tw.md Import docs into main repository (#2874) 7 years ago
help.en-us.md Implement documentation search (#8937) 5 years ago
help.fr-fr.md Implement documentation search (#8937) 5 years ago
help.zh-cn.md Implement documentation search (#8937) 5 years ago
help.zh-tw.md [docs] Add zh-tw Translations (#14507) 3 years ago
installation.en-us.md Import docs into main repository (#2874) 7 years ago
installation.fr-fr.md General documentation cleanup (#3317) 6 years ago
installation.zh-cn.md Import docs into main repository (#2874) 7 years ago
installation.zh-tw.md Import docs into main repository (#2874) 7 years ago
packages.en-us.md Add Package Registry (#16510) 2 years ago
translation.de-de.md Add Package Registry (#16510) 2 years ago
translation.en-us.md Add Package Registry (#16510) 2 years ago
translation.zh-tw.md Add Package Registry (#16510) 2 years ago
upgrade.en-us.md Import docs into main repository (#2874) 7 years ago
upgrade.fr-fr.md General documentation cleanup (#3317) 6 years ago
upgrade.zh-cn.md Import docs into main repository (#2874) 7 years ago
upgrade.zh-tw.md Import docs into main repository (#2874) 7 years ago
usage.en-us.md Import docs into main repository (#2874) 7 years ago
usage.zh-cn.md ZH-CN translation of Usage part (#5086) 6 years ago
usage.zh-tw.md [docs] Add zh-tw Translations (#14507) 3 years ago