Skip to content

Commit

Permalink
Merge pull request #35199 from nextcloud/backport/35096/stable25
Browse files Browse the repository at this point in the history
[stable25] Mark more config values as sensitive
  • Loading branch information
nickvergessen authored Nov 17, 2022
2 parents 468951a + 3b48c25 commit e58eb46
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/private/AppConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class AppConfig implements IAppConfig {
/** @var array[] */
protected $sensitiveValues = [
'circles' => [
'/^key_pairs$/',
'/^local_gskey$/',
],
'external' => [
Expand Down Expand Up @@ -132,6 +133,9 @@ class AppConfig implements IAppConfig {
'user_ldap' => [
'/^(s..)?ldap_agent_password$/',
],
'user_saml' => [
'/^idp-x509cert$/',
],
];

/** @var Connection */
Expand Down
4 changes: 4 additions & 0 deletions lib/private/SystemConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e58eb46

Please sign in to comment.