diff options
author | Simon L <szaimen@e.mail.de> | 2022-11-14 09:45:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 09:45:19 +0100 |
commit | 98543b160c49153e5e5391fa9f70e5266e6400c7 (patch) | |
tree | cf9996afb29072bf1560029fbe77da0fc93f6e22 /lib | |
parent | 47327e66302cf96156b7803925aa4d832083024b (diff) | |
parent | 663cf0446961d3631c9bfd618002a07b7fc27e1e (diff) | |
download | nextcloud-server-98543b160c49153e5e5391fa9f70e5266e6400c7.tar.gz nextcloud-server-98543b160c49153e5e5391fa9f70e5266e6400c7.zip |
Merge pull request #35096 from nextcloud/bugfix/noid/mark-more-values-as-sensitive
Mark more config values as sensitive
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/AppConfig.php | 4 | ||||
-rw-r--r-- | lib/private/SystemConfig.php | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index 00e5dddc1f9..708b31b3136 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -46,6 +46,7 @@ class AppConfig implements IAppConfig { /** @var array[] */ protected $sensitiveValues = [ 'circles' => [ + '/^key_pairs$/', '/^local_gskey$/', ], 'external' => [ @@ -132,6 +133,9 @@ class AppConfig implements IAppConfig { 'user_ldap' => [ '/^(s..)?ldap_agent_password$/', ], + 'user_saml' => [ + '/^idp-x509cert$/', + ], ]; /** @var Connection */ diff --git a/lib/private/SystemConfig.php b/lib/private/SystemConfig.php index 0bc6154fbc4..6cd0e4376c5 100644 --- a/lib/private/SystemConfig.php +++ b/lib/private/SystemConfig.php @@ -72,6 +72,10 @@ class SystemConfig { 'host' => true, 'password' => true, ], + 'redis.cluster' => [ + 'seeds' => true, + 'password' => true, + ], 'objectstore' => [ 'arguments' => [ // Legacy Swift (https://github.com/nextcloud/server/pull/17696#discussion_r341302207) |