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))
|
logging.error(str(exc))
|
||||||
msg = 'Invalid key'
|
msg = 'Invalid key'
|
||||||
if self.password:
|
if self.password:
|
||||||
msg += ' or wrong password "{}" for decrypting it.'.format(
|
msg += ' or wrong passphrase "{}" for decrypting it.'.format(
|
||||||
self.password)
|
self.password)
|
||||||
raise InvalidValueError(msg)
|
raise InvalidValueError(msg)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user