You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exception when initializing PrivateKeyFile with type [email protected] #1483
Hey there, I am trying to connect to an SFTP server using an OpenSSH key. This OpenSSH key uses the cipher [email protected]. When initializing a new instance of PrivateKeyFile with the path to the private key and private key passphrase, the library throws an exception: Cipher '[email protected]' is not supported for an OpenSSH key.
I was under the impression 2024.1 added support for this specific cipher. Does the key need to be initialized differently?
Activity
scott-xu commentedon Sep 5, 2024
The cipher is added for packet encryption/decryption only but not for private key decryption.
I'm going to spend some time refactoring the code to make it easy for private key decryption.
Tawmy commentedon Sep 6, 2024
That is much appreciated, thank you!