aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2024-10-28 20:01:58 +0100
committerGitHub <noreply@github.com>2024-10-28 20:01:58 +0100
commitc2e356a24e655f8e15afe1675d0bb108f5d954f1 (patch)
tree70622ae2a46533fd366e8900792e197336c0d456 /lib
parentd5e649ad966840cde686ecaf671a2b28a371b0fb (diff)
parent12a567137b0b41efb70e876f99db07a9b6734c82 (diff)
downloadnextcloud-server-c2e356a24e655f8e15afe1675d0bb108f5d954f1.tar.gz
nextcloud-server-c2e356a24e655f8e15afe1675d0bb108f5d954f1.zip
Merge pull request #48949 from nextcloud/backport/48947/stable29
[stable29] fix(config): Mark more configs as sensitive
Diffstat (limited to 'lib')
-rw-r--r--lib/private/AppConfig.php9
-rw-r--r--lib/private/SystemConfig.php1
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php
index 094fa24eaff..143c31618d7 100644
--- a/lib/private/AppConfig.php
+++ b/lib/private/AppConfig.php
@@ -1459,10 +1459,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$/',
@@ -1563,6 +1569,9 @@ class AppConfig implements IAppConfig {
'user_saml' => [
'/^idp-x509cert$/',
],
+ 'whiteboard' => [
+ '/^jwt_secret_key$/',
+ ],
];
return $sensitiveValues[$app] ?? [];
diff --git a/lib/private/SystemConfig.php b/lib/private/SystemConfig.php
index 7aeba1fcec5..f8a219091e0 100644
--- a/lib/private/SystemConfig.php
+++ b/lib/private/SystemConfig.php
@@ -125,6 +125,7 @@ class SystemConfig {
'onlyoffice' => [
'jwt_secret' => true,
],
+ 'PASS' => true,
];
public function __construct(