sockets and encryption
Chris Liechti
cliechti at gmx.net
Wed Nov 20 15:39:28 EST 2002
Paul Nilsson <p.nilsson at xtra.co.nz> wrote in
news:6pintugofjalm0sbg1u2g4q91bdonmbupk at 4ax.com:
> I'm wondering if anybody knows of an encryption module which allows a
> client/server to set up a SSH type connection. Eg. the server pushes
> over a static publick key and an hourly generated key, the client
> generates a session key and fires this back at the server, then the
> session is encrypted with this key and blowfish (or something
> similar).
well you could of course use pyssh and have something that works.
> Ideally I'd like to be able to drop these sockets in where I'm using
> the standard socke library now.
you could use ssh and port forwarding
> It's not really to difficult to code this up, however I really don't
> want to re-invent the wheel here.
sure and with pycrypto it's realy easy. however getting something _secure_
is an other task (making it attack proof).
http://pyssh.sourceforge.net/
http://www.amk.ca/python/code/crypto.html
chris
--
Chris <cliechti at gmx.net>
More information about the Python-list
mailing list