mirror of https://github.com/huashengdun/webssh
Fix wrong password method to also say 'passphrase'
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…
Reference in New Issue