This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cstratak
Recipients christian.heimes, cstratak
Date 2018-10-22.14:30:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540218627.92.0.788709270274.issue35045@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2018-10-22 14:30:27cstrataksetrecipients: + cstratak, christian.heimes
2018-10-22 14:30:27cstrataksetmessageid: <1540218627.92.0.788709270274.issue35045@psf.upfronthosting.co.za>
2018-10-22 14:30:27cstrataklinkissue35045 messages
2018-10-22 14:30:27cstratakcreate