You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1 #79226
The OP for bpo-35076 emailed me that the distribution is obarun, based on ArchLinux. with LibreSSL not officialy supported, but for the moment a personal work.
By the way LibreSSL isn't offically supported by Python, either. It just happens to work most of the time. I regard LibreSSL as not supported, because no core developer or regular contributor has shown any interest to work on LibreSSL support. OpenSSL is used on almost all platforms (most Linux distros, Windows, macOS, FreeBSD) any way.
Activity
stratakis commentedon Oct 22, 2018
There is an Python test that checks the minimum TLS version - test_min_max_version (test.test_ssl.ContextTests).
Fedora 29+ sets TLSv1 as explicit minimum version. Python's test suite assumes that the minimum protocol version is set to a magic marker.
FAIL: test_min_max_version (test.test_ssl.ContextTests)
----------------------------------------------------------------------
We currently workaround the problem by setting:
terryjreedy commentedon Oct 26, 2018
I closed bpo-35076 as a duplicate of this. The distribution was not specified. The version is 3.7.1 plus additional patches. A build log is attached.
terryjreedy commentedon Oct 28, 2018
The OP for bpo-35076 emailed me that the distribution is obarun, based on ArchLinux. with LibreSSL not officialy supported, but for the moment a personal work.
tiran commentedon Oct 28, 2018
By the way LibreSSL isn't offically supported by Python, either. It just happens to work most of the time. I regard LibreSSL as not supported, because no core developer or regular contributor has shown any interest to work on LibreSSL support. OpenSSL is used on almost all platforms (most Linux distros, Windows, macOS, FreeBSD) any way.
vstinner commentedon Jan 18, 2019
New changeset 34de2d3 by Victor Stinner (Christian Heimes) in branch 'master':
bpo-35045: Accept TLSv1 default in min max test (GH-11510)
34de2d3
vstinner commentedon Jan 18, 2019
Python 2.7 is not affected: test_ssl doesn't test minimum_version.
miss-islington commentedon Jan 18, 2019
New changeset 6ca7183 by Miss Islington (bot) in branch '3.7':
bpo-35045: Accept TLSv1 default in min max test (GH-11510)
6ca7183
vstinner commentedon Jan 18, 2019
Thanks Christian. I merged your PR.
I like the simplicity of your fix ;-)