mirror of
https://github.com/vale981/rmview
synced 2025-03-05 17:21:39 -05:00
Bug in passphrase dialog
This commit is contained in:
parent
abac93a341
commit
1f249190dd
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class rMConnect(QRunnable):
|
|||
try:
|
||||
pkey = paramiko.RSAKey.from_private_key_file(key)
|
||||
except paramiko.ssh_exception.PasswordRequiredException:
|
||||
passphrase, ok = QInputDialog.getText(self.viewer, "Configuration","SSH key passphrase:", QLineEdit.Password)
|
||||
passphrase, ok = QInputDialog.getText(None, "Configuration","SSH key passphrase:", QLineEdit.Password)
|
||||
if ok:
|
||||
pkey = paramiko.RSAKey.from_private_key_file(key, password=passphrase)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue