From: Joas Schilling Date: Tue, 1 Mar 2022 19:59:27 +0000 (+0100) Subject: Censor more configs X-Git-Tag: v24.0.0beta1~137^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F31390%2Fhead;p=nextcloud-server.git Censor more configs Signed-off-by: Joas Schilling --- diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index e2d6d49a845..fc7c770fe08 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -45,17 +45,34 @@ class AppConfig implements IAppConfig { /** @var array[] */ protected $sensitiveValues = [ + 'circles' => [ + '/^local_gskey$/', + ], 'external' => [ '/^sites$/', ], + 'integration_discourse' => [ + '/^private_key$/', + '/^public_key$/', + ], + 'notify_push' => [ + '/^cookie$/', + ], 'spreed' => [ '/^bridge_bot_password/', '/^signaling_servers$/', '/^signaling_ticket_secret$/', + '/^sip_bridge_dialin_info$/', + '/^sip_bridge_shared_secret$/', '/^stun_servers$/', '/^turn_servers$/', '/^turn_server_secret$/', ], + 'support' => [ + '/^last_response$/', + '/^potential_subscription_key$/', + '/^subscription_key$/', + ], 'theming' => [ '/^imprintUrl$/', '/^privacyUrl$/', diff --git a/lib/private/SystemConfig.php b/lib/private/SystemConfig.php index 012c959ce85..0bc6154fbc4 100644 --- a/lib/private/SystemConfig.php +++ b/lib/private/SystemConfig.php @@ -57,6 +57,13 @@ class SystemConfig { 'updater.secret' => true, 'trusted_proxies' => true, 'proxyuserpwd' => true, + 'sentry.dsn' => true, + 'sentry.public-dsn' => true, + 'zammad.download.secret' => true, + 'zammad.portal.secret' => true, + 'zammad.secret' => true, + 'github.client_id' => true, + 'github.client_secret' => true, 'log.condition' => [ 'shared_secret' => true, ],