HighTechTalks DotNet Forums  

SSH2 RSA key import/export

Dotnet Security microsoft.public.dotnet.security


Discuss SSH2 RSA key import/export in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Gary W. Smith
 
Posts: n/a

Default SSH2 RSA key import/export - 07-23-2007 , 01:10 PM






We have a need to use public/private keys generated with OpenSSH in a
C# app. Ideally we would like to use RSACryptoServiceProvider to load
the keys up, all attempts in up with "Bad Version of provider." I
found a referemnce to a slight implementation change between
RSACryptoServiceProvider and normalized SSH keys.

Does anyone know of a simple way to implement loading of public and
private keys generated from OpenSSH with RSACryptoServiceProvider?

I did look at how SharpSSH did it (fairly complicated, but for their
own reasons) and was hoping to find a simpler solution.

Thanks,

Gary Smith


Reply With Quote
  #2  
Old   
Gary W. Smith
 
Posts: n/a

Default Re: SSH2 RSA key import/export - 08-28-2007 , 12:12 PM






On Jul 23, 10:10 am, "Gary W. Smith" <gary.sm... (AT) primeexalia (DOT) com>
wrote:
Quote:
We have a need to use public/private keys generated with OpenSSH in a
C# app. Ideally we would like to use RSACryptoServiceProvider to load
the keys up, all attempts in up with "Bad Version of provider." I
found a referemnce to a slight implementation change between
RSACryptoServiceProvider and normalized SSH keys.

Does anyone know of a simple way to implement loading of public and
private keys generated from OpenSSH with RSACryptoServiceProvider?

I did look at how SharpSSH did it (fairly complicated, but for their
own reasons) and was hoping to find a simpler solution.

Thanks,

Gary Smith
Anyone?



Reply With Quote
  #3  
Old   
Gary W. Smith
 
Posts: n/a

Default Re: SSH2 RSA key import/export - 08-28-2007 , 12:12 PM



On Jul 23, 10:10 am, "Gary W. Smith" <gary.sm... (AT) primeexalia (DOT) com>
wrote:
Quote:
We have a need to use public/private keys generated with OpenSSH in a
C# app. Ideally we would like to use RSACryptoServiceProvider to load
the keys up, all attempts in up with "Bad Version of provider." I
found a referemnce to a slight implementation change between
RSACryptoServiceProvider and normalized SSH keys.

Does anyone know of a simple way to implement loading of public and
private keys generated from OpenSSH with RSACryptoServiceProvider?

I did look at how SharpSSH did it (fairly complicated, but for their
own reasons) and was hoping to find a simpler solution.

Thanks,

Gary Smith
Anyone?



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.