forked from gitea/gitea
1
0
Fork 0
gitea/templates/org/settings
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
..
applications.tmpl Allow creation of OAuth2 applications for orgs (#18084) 2022-10-09 20:07:41 +08:00
applications_oauth2_edit.tmpl Allow creation of OAuth2 applications for orgs (#18084) 2022-10-09 20:07:41 +08:00
delete.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
hook_new.tmpl Embed Matrix icon as SVG (#21890) 2022-11-21 20:25:26 +00:00
hooks.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
labels.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
navbar.tmpl Secrets storage with SecretKey encrypted (#22142) 2022-12-20 17:07:13 +08:00
options.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
packages.tmpl Add package registry cleanup rules (#21658) 2022-11-20 16:08:38 +02:00
packages_cleanup_rules_edit.tmpl Add package registry cleanup rules (#21658) 2022-11-20 16:08:38 +02:00
packages_cleanup_rules_preview.tmpl Add package registry cleanup rules (#21658) 2022-11-20 16:08:38 +02:00
secrets.tmpl Secrets storage with SecretKey encrypted (#22142) 2022-12-20 17:07:13 +08:00