From 996bb092fff9eccc3adec16c0fac3882395b65a9 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 1324d7f3056..dbfa391ca5b 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) -- 2.39.5