aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-11-11 09:02:28 +0100
committerJoas Schilling <coding@schilljs.com>2022-11-11 09:02:28 +0100
commit663cf0446961d3631c9bfd618002a07b7fc27e1e (patch)
tree257ec232ae7fa419dec822cdea98dea1cd37b47f
parent96855d73a23dd702653674031ee4e1e78a7f7c66 (diff)
downloadnextcloud-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.php4
-rw-r--r--lib/private/SystemConfig.php4
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)