mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(config): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
2a437b4305
commit
1e5cb82cc1
2 changed files with 10 additions and 0 deletions
|
|
@ -1430,10 +1430,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$/',
|
||||
|
|
@ -1534,6 +1540,9 @@ class AppConfig implements IAppConfig {
|
|||
'user_saml' => [
|
||||
'/^idp-x509cert$/',
|
||||
],
|
||||
'whiteboard' => [
|
||||
'/^jwt_secret_key$/',
|
||||
],
|
||||
];
|
||||
|
||||
return $sensitiveValues[$app] ?? [];
|
||||
|
|
|
|||
|
|
@ -107,6 +107,7 @@ class SystemConfig {
|
|||
'onlyoffice' => [
|
||||
'jwt_secret' => true,
|
||||
],
|
||||
'PASS' => true,
|
||||
];
|
||||
|
||||
public function __construct(
|
||||
|
|
|
|||
Loading…
Reference in a new issue