Python and SSL

I

Illo de' Illis

While I was coding a software which needs to set up a SSL transaction
with a client using an underlying proprietary protocol, I found
that the _ssl module works only in SSL client mode. Moreover it is
impossible to write a select()-based polling algorithm with it since
I can't query SSLObject for any available data in input (this occurs
only for nonblocking sockets of course), or alternatively I can't
push the characters I read back into the OpenSSL BIO cache.
Since the patch to apply to _ssl for this stuff to work is trivial,
I would like to know whether somebody is doing that.

Ciao,
Illo.
 
J

John J. Lee

Illo de' Illis said:
While I was coding a software which needs to set up a SSL transaction
with a client using an underlying proprietary protocol, I found
that the _ssl module works only in SSL client mode. Moreover it is
[...]

Don't know if it does what you want, but have you found m2crypto?


John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top