[Twisted-Python] Importing/Exporting Putty and SSH.com keys

Glyph glyph at twistedmatrix.com
Sun Nov 30 09:52:23 MST 2014


> On Nov 29, 2014, at 13:39, Adi Roiban <adi at roiban.ro> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20141130/d49a548d/attachment-0002.html>


More information about the Twisted-Python mailing list