]> granicus.if.org Git - python/commit
[3.7] bpo-33618: Enable TLS 1.3 in tests (GH-7079) (GH-7082)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 23 May 2018 20:49:04 +0000 (13:49 -0700)
committerChristian Heimes <christian@python.org>
Wed, 23 May 2018 20:49:04 +0000 (22:49 +0200)
commit72ef4fc32b354f8e56eec64f4c15ac2e07d118be
tree79cca6305c0c23bd2e285665a939f59c17703d3f
parent508d7693bc09affd99fdaa4a321cc3da0638c8a0
[3.7] bpo-33618: Enable TLS 1.3 in tests (GH-7079) (GH-7082)

TLS 1.3 behaves slightly different than TLS 1.2. Session tickets and TLS
client cert auth are now handled after the initialy handshake. Tests now
either send/recv data to trigger session and client certs. Or tests
ignore ConnectionResetError / BrokenPipeError on the server side to
handle clients that force-close the socket fd.

To test TLS 1.3, OpenSSL 1.1.1-pre7-dev (git master + OpenSSL PR
https://github.com/openssl/openssl/pull/6340) is required.

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 529525fb5a8fd9b96ab4021311a598c77588b918)
Doc/library/ssl.rst
Doc/whatsnew/3.7.rst
Lib/test/test_asyncio/test_sslproto.py
Lib/test/test_asyncio/utils.py
Lib/test/test_ftplib.py
Lib/test/test_poplib.py
Lib/test/test_ssl.py
Misc/NEWS.d/next/Library/2018-05-23-20-14-34.bpo-33618.xU39lr.rst [new file with mode: 0644]
Tools/ssl/multissltests.py