From: Joas Schilling Date: Fri, 19 Jun 2020 11:44:27 +0000 (+0200) Subject: Don't log Keys X-Git-Tag: v18.0.7RC1~34^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f5ee7736d93267d53c7364a7a8e9024005b1bbf2;p=nextcloud-server.git Don't log Keys Signed-off-by: Joas Schilling --- diff --git a/lib/private/Log/ExceptionSerializer.php b/lib/private/Log/ExceptionSerializer.php index 4ec35b95673..e4980492d30 100644 --- a/lib/private/Log/ExceptionSerializer.php +++ b/lib/private/Log/ExceptionSerializer.php @@ -29,6 +29,7 @@ namespace OC\Log; use OC\Core\Controller\SetupController; use OC\HintException; +use OC\Security\IdentityProof\Key; use OC\Setup; class ExceptionSerializer { @@ -94,7 +95,10 @@ class ExceptionSerializer { ], Setup::class => [ 'install' - ] + ], + Key::class => [ + '__construct' + ], ]; private function editTrace(array &$sensitiveValues, array $traceLine): array {