Re: [Cryptography-dev] pyOpenSSL: non-blocking socket support

2016-06-28 Thread Nikolaus Rath
On Jun 28 2016, Vladimir Didenko wrote: > 2016-06-28 2:07 GMT+03:00 Nikolaus Rath > : > >> Hello, >> >> IIAC, when using the standard library's ssl module, the following can >> happen (distilled from http://bugs.python.org/issue22499): >> > > I read this issue and it looks like I misunderstood y

Re: [Cryptography-dev] pyOpenSSL: non-blocking socket support

2016-06-28 Thread Nikolaus Rath
On Jun 27 2016, Glyph wrote: >> On Jun 27, 2016, at 22:23, Vladimir Didenko >> wrote: >> >> Resume: you can use nonblocking ssl socket with standard ssl module >> and PyOpenSSL. Though it requires some work from you (but it is not >> hard!). > > The better way to use pyOpenSSL (and more recent

Re: [Cryptography-dev] pyOpenSSL: non-blocking socket support

2016-06-28 Thread Nikolaus Rath
On Jun 27 2016, Glyph wrote: >> On Jun 27, 2016, at 22:23, Vladimir Didenko >> wrote: >> >> Resume: you can use nonblocking ssl socket with standard ssl module >> and PyOpenSSL. Though it requires some work from you (but it is not >> hard!). > > The better way to use pyOpenSSL (and more recent

Re: [Cryptography-dev] Fernet NG or alternative simple, high-level, encrypted message module?

2016-06-28 Thread Simo Sorce
I see no problem matching the license, let's discuss if this merge can be done and I will change the license as we start working on it for real. Simo. On Tue, 2016-06-14 at 09:19 -0700, Frank Siebenlist wrote: > Hi Simo - if you could accommodate the jwcrypto-license to match > pyca/cryptography'

Re: [Cryptography-dev] pyOpenSSL: non-blocking socket support

2016-06-28 Thread Cory Benfield
> On 28 Jun 2016, at 17:24, Nikolaus Rath wrote: > > I don't understand why everyone using it would have to re-implement the > same functionality. Would you be interested in a patch that adds this to > pyOpenSSL? We would not, for two reasons. Firstly, PyOpenSSL’s stated goal is of being a thi

Re: [Cryptography-dev] pyOpenSSL: non-blocking socket support

2016-06-28 Thread Cory Benfield
> On 28 Jun 2016, at 17:50, Nikolaus Rath wrote: > > Hum. When using BIOs, does this mean that I can safely refill/read-out > the BIO when getting SSLWantRead/SSLWantRead and then call the SSL > function again, or do I need to keep track of the detailed io state > again? > > Best, > -Nikolaus

Re: [Cryptography-dev] pyOpenSSL: non-blocking socket support

2016-06-28 Thread Nikolaus Rath
On Jun 28 2016, Cory Benfield wrote: >> On 28 Jun 2016, at 17:50, Nikolaus Rath >> wrote: >> >> Hum. When using BIOs, does this mean that I can safely refill/read-out >> the BIO when getting SSLWantRead/SSLWantRead and then call the SSL >> function again, or do I need to keep track of the deta