mirror of https://github.com/huashengdun/webssh
Fix Passphrase Disclosure
parent
3c5b4ad8f9
commit
3639dcc33a
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue