➜

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.

作者 cstratak
收信人 christian.heimes, cstratak
日期 2018-10-22.14:30:27
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1540218627.92.0.788709270274.issue35045@psf.upfronthosting.co.za>
In-reply-to
内容
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
历史
日期 用户 动作 参数
2018-10-22 14:30:27cstratak修改recipients: + cstratak, christian.heimes
2018-10-22 14:30:27cstratak修改messageid: <1540218627.92.0.788709270274.issue35045@psf.upfronthosting.co.za>
2018-10-22 14:30:27cstratak链接issue35045 messages
2018-10-22 14:30:27cstratak创建