[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-10-14 Thread Bug Reporter
Bug Reporter added the comment: I reported a bug at https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1899878 -- ___ Python tracker <https://bugs.python.org/issue41

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-10-12 Thread Bug Reporter
Bug Reporter added the comment: I got an advice and posted the question at https://answers.launchpad.net/ubuntu/+source/openssl/+question/693423 -- ___ Python tracker <https://bugs.python.org/issue41

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-10-11 Thread Bug Reporter
Bug Reporter added the comment: I started by asking a question at https://askubuntu.com/questions/1281942/pythons-test-ssl-fails-starting-from-ubuntu-20-04-i-need-to-find-a-person-at-c -- ___ Python tracker <https://bugs.python.org/issue41

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-10-05 Thread Bug Reporter
Bug Reporter added the comment: Just tested python 3.9.0 - same issue. -- versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue41561> ___ ___

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-25 Thread Bug Reporter
Bug Reporter added the comment: Please note that test_ssl also passes if /etc/ssl/openssl.conf is modified per msg376705 by Vladyslav Bondar (with /usr/lib/x86_64-linux-gnu/libssl.so.1.1) -- ___ Python tracker <https://bugs.python.org/issue41

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-25 Thread Bug Reporter
Bug Reporter added the comment: I downloaded Ubuntu's openssl_1.1.1f.orig.tar.gz and openssl_1.1.1f-1ubuntu2.debian.tar.xz from https://launchpad.net/ubuntu/+source/openssl/1.1.1f-1ubuntu2, but I did not know how to apply patches. In addition, too many files differ, so I could

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-23 Thread Bug Reporter
Bug Reporter added the comment: Is it worth comparing openssl vanilla code and configs with Ubuntu's version? -- ___ Python tracker <https://bugs.python.org/issue41

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-21 Thread Bug Reporter
Bug Reporter added the comment: 1) I downloaded openssl-1.1.1g source code, compiled, exported LD_LIBRARY_PATH, did sudo ldconfig - ./python Lib/test/test_ssl.py now passes. If LD_LIBRARY_PATH is unset, it fails. Thank you for advice. 2) Tried the following independently from (1

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-20 Thread Bug Reporter
Bug Reporter added the comment: I added client_context.set_ciphers("@SECLEVEL=1:HIGH"), then added server_context.set_ciphers("@SECLEVEL=1:HIGH"). The test failed in both cases. I did not have problem with python 3.7.x. in Ubuntu 18.04. I have just tried compiling 3

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-19 Thread Bug Reporter
Bug Reporter added the comment: In case it's needed: TLSVersion.MAXIMUM_SUPPORTED == -1 TLSVersion.MINIMUM_SUPPORTED == -2 -- ___ Python tracker <https://bugs.python.org/issue41

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-19 Thread Bug Reporter
Bug Reporter added the comment: (True, True, True, True) TLSVersion.MAXIMUM_SUPPORTED TLSVersion.MINIMUM_SUPPORTED -- ___ Python tracker <https://bugs.python.org/issue41

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-18 Thread Bug Reporter
Bug Reporter added the comment: https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tar.xz ... == ERROR: test_protocol_tlsv1 (test.test_ssl.ThreadedTests) Connecting to a TLSv1 server with various client options

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-18 Thread Bug Reporter
Bug Reporter added the comment: On my system, it still fails. Here is the content of modified Lib/test/test_ssl.py: 3827 @requires_minimum_version 3828 @requires_tls_version('TLSv1_2') 3829 @requires_tls_version('TLSv1') 3830 def test_min_max_version_mismatch(self): 3831

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-18 Thread Bug Reporter
Bug Reporter added the comment: I think it is not a real solution, just a workaround. What do you think the solution should be? -- ___ Python tracker <https://bugs.python.org/issue41

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-17 Thread Bug Reporter
Bug Reporter added the comment: I confirm that Tal Einat's workaround also works. -- versions: -Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/issue41

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-12 Thread Bug Reporter
Bug Reporter added the comment: Can test_ssl script determine which TLS versions are enabled in a particular Linux distribution and run tests only for enabled versions? -- ___ Python tracker <https://bugs.python.org/issue41

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-11 Thread Bug Reporter
Bug Reporter added the comment: I followed Vladyslav Bondar's 2020-09-11 09:10:30 recommendations and it worked: Tests result: SUCCESS Thank you. It is not clear though how Canonical built its python-3.8.2 which comes with Ubuntu-20.04. Does anyone know someone at Canonical to ask

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-09 Thread Bug Reporter
Bug Reporter added the comment: I don't know if it matters, but I started having this problem when I switched from Ubuntu 18.04 (native python3.7) to 20.04 (native python3.8.2). I specify --prefix to a folder in my home directory, but while running make test Ubuntu gives a system error

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-08-15 Thread Bug Reporter
New submission from Bug Reporter : FAIL: test_min_max_version_mismatch (test.test_ssl.ThreadedTests) -- Traceback (most recent call last): File "/home/vbk/Downloads/Python-3.8.5/Lib/test/test_ssl.py", line 217, i