pyOpenSSL is dead or not?

Roger Binns rogerb at rogerbinns.com
Tue Mar 23 11:02:41 EST 2004


webmaster at keyphrene.com wrote:
> The last pyOpenSSL has been released in September 2002.
> pyOpenSSL is dead or not?

Having just been through this, the only living OpenSSL project I
found was M2Crypto.  (I wanted to do client and server side
XML-RPC over SSL and needed to do things like present certificates
to the user).

M2Crypto does work on Windows, Linux and Mac.  I did however have
to spend almost a week to get things working well, mainly because
M2Crypto is geared to work on Python 1.5 and up, and I needed
some recent things to work such as persistent connections which
use classes not in Python 1.5.  There are also several comments
thoughout the code that imply there may be memory leaks (mainly
due to a mismatch between the Python and OpenSSL models of
when things are freed).

Recently TLS Lite appeared which is a pure Python implementation
of SSL.  It can however find local libraries of OpenSSL, GMP etc
and use them to go faster.  http://trevp.net/tlslite/
I can't vouch for it, as I really don't want to have to redo
all my work with a different library.  However if I hadn't already
done the work, I would start with this one.

Roger





More information about the Python-list mailing list