Fix Passphrase Disclosure

pull/223/head
masc0 2021-07-19 16:47:17 +02:00
parent 3c5b4ad8f9
commit 3639dcc33a
1 changed files with 1 additions and 2 deletions

View File

@ -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)