From 5159a5f71d49c4cf5c46ce72df632ddb2566ce83 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 28 Oct 2024 14:56:19 +0100 Subject: [PATCH] fix(config): Mark more configs as sensitive Signed-off-by: Joas Schilling --- lib/private/AppConfig.php | 9 +++++++++ lib/private/SystemConfig.php | 1 + 2 files changed, 10 insertions(+) diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index 0ae19cd0f74f1..6b4da6bb80ea8 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -49,10 +49,16 @@ class AppConfig implements IAppConfig { '/^key_pairs$/', '/^local_gskey$/', ], + 'call_summary_bot' => [ + '/^secret_(.*)$/', + ], 'external' => [ '/^sites$/', '/^jwt_token_privkey_(.*)$/', ], + 'globalsiteselector' => [ + '/^gss\.jwt\.key$/', + ], 'integration_discourse' => [ '/^private_key$/', '/^public_key$/', @@ -153,6 +159,9 @@ class AppConfig implements IAppConfig { 'user_saml' => [ '/^idp-x509cert$/', ], + 'whiteboard' => [ + '/^jwt_secret_key$/', + ], ]; /** @var Connection */ diff --git a/lib/private/SystemConfig.php b/lib/private/SystemConfig.php index 80e4ba55e3968..98e7a55e0fb00 100644 --- a/lib/private/SystemConfig.php +++ b/lib/private/SystemConfig.php @@ -125,6 +125,7 @@ class SystemConfig { 'onlyoffice' => [ 'jwt_secret' => true, ], + 'PASS' => true, ]; /** @var Config */