diff options
author | Joas Schilling <coding@schilljs.com> | 2022-11-11 09:02:28 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-11-11 09:02:28 +0100 |
commit | 663cf0446961d3631c9bfd618002a07b7fc27e1e (patch) | |
tree | 257ec232ae7fa419dec822cdea98dea1cd37b47f | |
parent | 96855d73a23dd702653674031ee4e1e78a7f7c66 (diff) | |
download | nextcloud-server-663cf0446961d3631c9bfd618002a07b7fc27e1e.tar.gz nextcloud-server-663cf0446961d3631c9bfd618002a07b7fc27e1e.zip |
Mark more config values as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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) |