I am trying to get privateKey using:
SshPrivateKey privateKey = new SshPrivateKey(byteData, passphrase);
doing it with test data as:
var byteData = Encoding.UTF8.GetBytes(openSshPrivateKey);
openSshPrivateKey as "private_key" and password as "password" (just for testing)
it throws error: "Invalid key format - no beginning"
is there any validation for password or byte data?