From 3639dcc33a3c9387420e0ce0a94db618bdbc38b7 Mon Sep 17 00:00:00 2001 From: masc0 Date: Mon, 19 Jul 2021 16:47:17 +0200 Subject: [PATCH] Fix Passphrase Disclosure --- webssh/handler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webssh/handler.py b/webssh/handler.py index 85e31a1..6c45b4f 100644 --- a/webssh/handler.py +++ b/webssh/handler.py @@ -178,8 +178,7 @@ class PrivateKey(object): logging.error(str(self.last_exception)) msg = 'Invalid key' if self.password: - msg += ' or wrong passphrase "{}" for decrypting it.'.format( - self.password) + msg += ' or wrong passphrase for decrypting it.' raise InvalidValueError(msg)