]> source.dussan.org Git - nextcloud-server.git/commitdiff
Mark more config values as sensitive 35200/head
authorJoas Schilling <coding@schilljs.com>
Fri, 11 Nov 2022 08:02:28 +0000 (09:02 +0100)
committerJoas Schilling <coding@schilljs.com>
Wed, 16 Nov 2022 09:08:04 +0000 (10:08 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/AppConfig.php
lib/private/SystemConfig.php

index 1324d7f3056754afd12ce05c7762fc9529e34489..dbfa391ca5bf35ea4f66da0fb9a34ebe7ead7132 100644 (file)
@@ -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 */
index 0bc6154fbc4a41f919338ecad8c0592c4a3b16c1..6cd0e4376c5253c89f7aa2e70ae7c4abc2e3d7b5 100644 (file)
@@ -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)