]> source.dussan.org Git - nextcloud-server.git/commitdiff
Mark more config values as sensitive 35202/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:59 +0000 (10:08 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/AppConfig.php
lib/private/SystemConfig.php

index fc7c770fe0807d58ef8df737a7cfba75e875c1a8..8eb58d1b59d5c6d0865e29f266b1df832a5efb8d 100644 (file)
@@ -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 */
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)