From 21f0fde0deaf982a99ca945d6454e2de8208498a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 11 Nov 2022 09:02:28 +0100 Subject: [PATCH] Mark more config values as sensitive Signed-off-by: Joas Schilling --- lib/private/AppConfig.php | 4 ++++ lib/private/SystemConfig.php | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index fc7c770fe08..8eb58d1b59d 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' => [ @@ -82,6 +83,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) -- 2.39.5