Python SSL and TLS security¶
Python bundled OpenSSL in Windows and macOS installers.
OpenSSL versions (read from the Windows installer):
- Python 3.6.1: OpenSSL 1.0.2k
- Python 2.7.13, 3.5.3 and 3.6.0: OpenSSL 1.0.2j
- Python 2.7.12, 3.5.2: OpenSSL 1.0.2h
- Python 2.7.11, 3.4.4, 3.5.0, 3.5.1: OpenSSL 1.0.2d
- Python 2.7.10: OpenSSL 1.0.2a
- Python 2.7.9: OpenSSL 1.0.1j
- Python 3.3.5: OpenSSL 1.0.1e
Windows: see PCbuild/get_externals.bat (or PCbuild/readme.txt in older versions).
# Since Apple removed the header files for the deprecated system # OpenSSL as of the Xcode 7 release (for OS X 10.10+), we do not # have much choice but to build our own copy here, too.
Example of OpenSSL update: Upgrade installers to OpenSSL 1.0.2k (March 2017).
Links¶
- The future of the Python ssl module (June, 2016 )
- cryptography (cryptography.io): Python library which exposes cryptographic recipes and primitives
- pyOpenSSL
- M2Crypto
- urllib3 _
- LibreSSL
- boringssl
- multissl (by Christian Heimes): Run Python tests against multiple installations of OpenSSL and LibreSSL
© Copyright 2017, Victor Stinner Revision 6639b1b4 .
Versions latest Downloads On Read the Docs Project Home Builds Free document hosting provided by Read the Docs.