New submission from Charalampos Stratakis <[email protected]>:
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)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/Python-3.7.0/Lib/test/test_ssl.py", line 1084, in
test_min_max_version
ctx.minimum_version, ssl.TLSVersion.MINIMUM_SUPPORTED
AssertionError: <TLSVersion.TLSv1: 769> != <TLSVersion.MINIMUM_SUPPORTED: -2>
We currently workaround the problem by setting:
export OPENSSL_CONF=/non-existing-file
----------
assignee: christian.heimes
components: SSL
messages: 328255
nosy: christian.heimes, cstratak
priority: normal
severity: normal
status: open
title: test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+
and openssl 1.1.1
versions: Python 3.6, Python 3.7, Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35045>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com