Skip to content

Commit

Permalink
fix(config): Mark more configs as sensitive
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Oct 28, 2024
1 parent 129be71 commit 5159a5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/private/AppConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,16 @@ class AppConfig implements IAppConfig {
'/^key_pairs$/',
'/^local_gskey$/',
],
'call_summary_bot' => [
'/^secret_(.*)$/',
],
'external' => [
'/^sites$/',
'/^jwt_token_privkey_(.*)$/',
],
'globalsiteselector' => [
'/^gss\.jwt\.key$/',
],
'integration_discourse' => [
'/^private_key$/',
'/^public_key$/',
Expand Down Expand Up @@ -153,6 +159,9 @@ class AppConfig implements IAppConfig {
'user_saml' => [
'/^idp-x509cert$/',
],
'whiteboard' => [
'/^jwt_secret_key$/',
],
];

/** @var Connection */
Expand Down
1 change: 1 addition & 0 deletions lib/private/SystemConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ class SystemConfig {
'onlyoffice' => [
'jwt_secret' => true,
],
'PASS' => true,
];

/** @var Config */
Expand Down

0 comments on commit 5159a5f

Please sign in to comment.