Hello.
I use keys for SSH authentication. But already at the stage of loading the key I have a problem. Unsupported encryption algorithm error:
var key = new SshPrivateKey("C:\\path\\to\\id_rsa", "password");
System.Security.Cryptography.CryptographicException: Unsupported private key encryption: 'aes256-gcm@openssh.com'.
System.Security.Cryptography.CryptographicException: Unsupported private key encryption: 'chacha20-poly1305@openssh.com'.
Affected versions: 7.0.8816, 7.0.8720
Keys generated by commands:
ssh-keygen -t rsa -b 4096 -Z "chacha20-poly1305@openssh.com"
ssh-keygen -t rsa -b 4096 -Z "aes256-gcm@openssh.com"
This page has a table with Encryption Ciphers:
https://www.rebex.net/ssh-shell/features/ssh.aspx
In the table, these algorithms are presented as supported.
Please clarify, this table refers to encryption algorithms within a connection, but does this not apply to encryption of the user’s private key?
If so, where can I find an exact list of supported encryption algorithms for a user's private key?
Thank you.