Re: Using ssl module over custom sockets

2015-06-08 Thread Johannes Bauer
On 08.06.2015 09:22, jbauer.use...@gmail.com wrote: > Something that I could always use as a workaround would be to open up a > listening port locally in one thread and connection to that local port in a > different thread, then forward packets. But that's pretty ugly and I'd like > to avoid it

Using ssl module over custom sockets

2015-06-08 Thread jbauer . usenet
Hi group, is it possible to use the ssl module using a custom transport? It appears to me as if currently the relationship between ssl.SSLSocket() and socket.socket() is pretty entangled. Suppose I do have some kind of reliable transport (let's say RS232) and a connection that I have wrapped i