Re: OpenSSH Private Key (General questions)
I tried the load and get a trap:
An unhandled exception of type 'System.Exception' occurred in weonlydo.security.cryptography.keymanager.dll
Additional information: Failed to import key from file.
The code is from the sample app.
WeOnlyDo.Security.Cryptography.KeyManager km = new WeOnlyDo.Security.Cryptography.KeyManager();
WeOnlyDo.Security.Cryptography.SSHKeyTypes type = km.Load(textBox4.Text);
Console.WriteLine(km.PublicKeyOpenSSH(type));
Ssh1.PrivateKey = km.PrivateKey(type);
I can send you the key file if you want.
Complete thread:
- OpenSSH Private Key - Rodney Trugman, 2005-06-02, 19:16
- Re: OpenSSH Private Key - wodSupport, 2005-06-02, 20:30
- Re: OpenSSH Private Key - Rodney Trugman, 2005-06-02, 21:32
- Re: OpenSSH Private Key - wodSupport, 2005-06-02, 21:35
- Re: OpenSSH Private Key - wodSupport, 2005-06-02, 22:06
- Re: OpenSSH Private Key - wodSupport, 2005-06-02, 21:35
- Re: OpenSSH Private Key - Rodney Trugman, 2005-06-02, 21:32
- Re: OpenSSH Private Key - wodSupport, 2005-06-02, 20:30