Fix wrong password method to also say 'passphrase'
This commit is contained in:
+1
-1
@@ -158,7 +158,7 @@ class PrivateKey(object):
|
||||
logging.error(str(exc))
|
||||
msg = 'Invalid key'
|
||||
if self.password:
|
||||
msg += ' or wrong password "{}" for decrypting it.'.format(
|
||||
msg += ' or wrong passphrase "{}" for decrypting it.'.format(
|
||||
self.password)
|
||||
raise InvalidValueError(msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user