Merge pull request #48950 from nextcloud/backport/48947/stable30

[stable30] fix(config): Mark more configs as sensitive
This commit is contained in:
Joas Schilling 2024-10-28 20:30:03 +01:00 committed by GitHub
commit 084c43fb38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View file

@ -1430,10 +1430,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$/',
@ -1534,6 +1540,9 @@ class AppConfig implements IAppConfig {
'user_saml' => [
'/^idp-x509cert$/',
],
'whiteboard' => [
'/^jwt_secret_key$/',
],
];
return $sensitiveValues[$app] ?? [];

View file

@ -107,6 +107,7 @@ class SystemConfig {
'onlyoffice' => [
'jwt_secret' => true,
],
'PASS' => true,
];
public function __construct(