Fix wrong password method to also say 'passphrase'

pull/83/head
khuxkm fbexl 5 years ago
parent dc8016d21b
commit 1a9ba5bb31

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

Loading…
Cancel
Save