Closed
Description
Hi,
Newer OpenSSH versions seem to create private keys enciphered with aes256-ctr by default, at least for ed25519 keys, making them impossible to load with SSH.NET. Given than ssh-keygen doesn't provide a handy way to reencode the key, it's pretty annoying.
Stacktrace of an attempt at loading such a key:
Renci.SshNet.Common.SshException: cipher name aes256-ctr for openssh key file is not supported
. Renci.SshNet.PrivateKeyFile.ParseOpenSshV1Key(Byte[] keyFileData, String passPhrase)
. Renci.SshNet.PrivateKeyFile.Open(Stream privateKey, String passPhrase)
. Renci.SshNet.PrivateKeyFile..ctor(Stream privateKey, String passPhrase)
Metadata
Metadata
Assignees
Labels
No labels