[Python-ideas] Re: TLS session resumption

2020-04-18 Thread Barry
> On 15 Apr 2020, at 19:56, Ander Juaristi wrote: > > Hi list, > > I haven't seen this being discussed, but TL;DR I just want to propose to > extend the ssl module so that TLS session state can be serialized to disk. You might want to read this analysis of TLS session tickets in TLS 1.2. h

[Python-ideas] Re: TLS session resumption

2020-04-16 Thread Ander Juaristi
Ander: personally, I would be +1 on the proposed improvement, but someone needs to submit a PR (and of course it has to be reviewed then :-)). I have a (dirty) patch that partially works :-) But I wanted to gather some feedback from this list before I think of finishing and submitting it.

[Python-ideas] Re: TLS session resumption

2020-04-16 Thread Antoine Pitrou
On Thu, 16 Apr 2020 05:07:15 +1000 Chris Angelico wrote: > On Thu, Apr 16, 2020 at 4:55 AM Ander Juaristi wrote: > > TLS session resumption is currently supported, but only within the same > > process. To the best of my knowledge, there is no way to save the TLS > > session to a file to resume th

[Python-ideas] Re: TLS session resumption

2020-04-16 Thread Ander Juaristi
El 15/4/20 a las 21:07, Chris Angelico escribió: On Thu, Apr 16, 2020 at 4:55 AM Ander Juaristi wrote: TLS session resumption is currently supported, but only within the same process. To the best of my knowledge, there is no way to save the TLS session to a file to resume the TLS session later

[Python-ideas] Re: TLS session resumption

2020-04-15 Thread Andrew Barnert via Python-ideas
On Apr 15, 2020, at 12:11, Chris Angelico wrote: > > On Thu, Apr 16, 2020 at 4:55 AM Ander Juaristi wrote: >> TLS session resumption is currently supported, but only within the same >> process. To the best of my knowledge, there is no way to save the TLS >> session to a file to resume the TLS s

[Python-ideas] Re: TLS session resumption

2020-04-15 Thread Chris Angelico
On Thu, Apr 16, 2020 at 4:55 AM Ander Juaristi wrote: > TLS session resumption is currently supported, but only within the same > process. To the best of my knowledge, there is no way to save the TLS > session to a file to resume the TLS session later on. Please tell me how > this is done if I'm w