From: Joas Schilling Date: Fri, 19 Jun 2020 11:44:27 +0000 (+0200) Subject: Don't log Keys X-Git-Tag: v20.0.0beta1~398^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a7f26cfe28c45ea3959983d31bad42de44c97448;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 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 {