[Python-Dev] Python 3.7: Require OpenSSL >=1.0.2 / LibreSSL >= 2.5.3
christian at python.org
Sat Jan 13 07:54:33 EST 2018
I'm still working on a ssl module PEP for 3.7 , but it's probably not
going to be finished before beta 1 deadline. I have a bunch of fixes and
improvements for the ssl module in queue, most of them require OpenSSL
1.0.2 features. The features are also present and working properly since
If we agree to drop support for OpenSSL 0.9.8 and 1.0.1, then I can land
bunch of useful goodies like proper hostname verification , proper
fix for IP address in SNI TLS header , PEP 543 compatible Certificate
and PrivateKey types (support loading certs and keys from file and
memory) , and simplified cipher suite configuration . I can
finally clean up _ssl.c during the beta phase, too.
OpenSSL 1.0.1 is out of support since December 2016, 0.9.8 since 2015.
These versions haven't received any security updates for more than a year!
All major Linux and BSD distributions have at least 1.0.2 . The only
relevant exception is Ubuntu 14.04 LTS, because Travis CI is running
14.04. PR 3562  contains a PoC to compile a custom build of OpenSSL
on Travis. Builds are cached.
More information about the Python-Dev