sockets and encryption

Michael Stenner mstenner at phy.duke.edu
Wed Nov 20 16:49:27 EST 2002


On Wed, Nov 20, 2002 at 06:55:02PM +0100, Paul Nilsson wrote:
> 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).
> 
> Ideally I'd like to be able to drop these sockets in where I'm using
> the standard socke library now.
> 
> It's not really to difficult to code this up, however I really don't
> want to re-invent the wheel here.

Would SSL work for you?  That's basically made to do exactly what you
describe, no?

					-Michael
-- 
  Michael Stenner                       Office Phone: 919-660-2513
  Duke University, Dept. of Physics       mstenner at phy.duke.edu
  Box 90305, Durham N.C. 27708-0305




More information about the Python-list mailing list