[Twisted-Python] Importing/Exporting Putty and SSH.com keys
Hi, I just want to let you know about a piece of code I was working on. I wanted to import and export Putty and SSH.com (Tectia) SSH keys in Python and I could not find any existing code for that... my final goal is to replicate the puttygen functionality. I have extended the current twisted.conch.ssh.key.Key class to import/export Putty and SSH.com keys Code is here: https://github.com/chevah/chevah-keycert Not sure if it make sense to have it integrated in Twisted. If there is someone willing to review (part of) and merge this code I am happy to send patches. Right now it depend on Twisted but only because of the original Key and packing/unpacking MP/NS values... Have a nice day! -- Adi Roiban
On Nov 29, 2014, at 13:39, Adi Roiban
wrote: Hi,
I just want to let you know about a piece of code I was working on.
I wanted to import and export Putty and SSH.com (Tectia) SSH keys in Python and I could not find any existing code for that... my final goal is to replicate the puttygen functionality.
I have extended the current twisted.conch.ssh.key.Key class to import/export Putty and SSH.com keys
Code is here: https://github.com/chevah/chevah-keycert https://github.com/chevah/chevah-keycert
Not sure if it make sense to have it integrated in Twisted. If there is someone willing to review (part of) and merge this code I am happy to send patches.
Right now it depend on Twisted but only because of the original Key and packing/unpacking MP/NS values...
Have a nice day!
Cool, thanks for letting us know about this! It might be nice to gradually turn Conch into an actually useful SSH command-line for Windows; PuTTY does not seem to me to be very friendly to automation. So perhaps this could make sense in Twisted, since being able to deal with PuTTY keys would definitely be part of that. -glyph
On Nov 30, 2014, at 21:02, Tristan Seligmann
wrote: On 30 November 2014 at 18:52, Glyph
wrote: PuTTY does not seem to me to be very friendly to automation.
OT: for automation, you probably want Plink not PuTTY.
I'm familiar with Plink, and its necessity is sort of what I mean :). (Consider an application like "vagrant ssh" - Plink doesn't work so well for that.) -glyph
participants (3)
-
Adi Roiban
-
Glyph
-
Tristan Seligmann