summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-19 13:44:27 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-06-19 13:11:18 +0000
commit0ebbabebe83c636ea3436e267f980f63e32ed13b (patch)
tree5e14b54b2995d0f558c9ef475611c0e2a7ca053d
parente5b468fb1abbae6b0daa4887fcf44dd182971184 (diff)
downloadnextcloud-server-0ebbabebe83c636ea3436e267f980f63e32ed13b.tar.gz
nextcloud-server-0ebbabebe83c636ea3436e267f980f63e32ed13b.zip
Don't log Keys
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/private/Log/ExceptionSerializer.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/private/Log/ExceptionSerializer.php b/lib/private/Log/ExceptionSerializer.php
index a13c97aa0c5..587d6ff37db 100644
--- a/lib/private/Log/ExceptionSerializer.php
+++ b/lib/private/Log/ExceptionSerializer.php
@@ -30,6 +30,7 @@ namespace OC\Log;
use OC\Core\Controller\SetupController;
use OC\HintException;
+use OC\Security\IdentityProof\Key;
use OC\Setup;
class ExceptionSerializer {
@@ -95,7 +96,10 @@ class ExceptionSerializer {
],
Setup::class => [
'install'
- ]
+ ],
+ Key::class => [
+ '__construct'
+ ],
];
private function editTrace(array &$sensitiveValues, array $traceLine): array {