mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
Added a form for entering a passphrase for a private ssh key and the corresponding logic for processing a private key
This commit is contained in:
@@ -13,6 +13,7 @@ struct ServerCredentials
|
||||
QString hostName;
|
||||
QString userName;
|
||||
QString password;
|
||||
QString decryptedPrivateKey;
|
||||
int port = 22;
|
||||
|
||||
bool isValid() const { return !hostName.isEmpty() && !userName.isEmpty() && !password.isEmpty() && port > 0; }
|
||||
|
||||
Reference in New Issue
Block a user