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.

classification
Title: Update TLS version connection table
Type: enhancement Stage: needs patch
Components: Documentation Versions: Python 3.4, Python 3.5
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: docs@python Nosy List: christian.heimes, docs@python, vstinner
Priority: normal Keywords:

Created on 2014-03-14 14:54 by christian.heimes, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
ssltest.py christian.heimes, 2014-03-14 14:54
Messages (3)
msg213559 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2014-03-14 14:54
The table at http://docs.python.org/3.4/library/ssl.html#ssl.wrap_socket doesn't contain information for TLS 1.1 and 1.2. I've attached a script that tests connection between all supported SSL protocol versions. (Note: my OpenSSL doesn't support SSLv2).

server     client     can connect
=========  =========  ===========
SSLv23     SSLv23     True
SSLv23     SSLv3      True
SSLv23     TLSv1      True
SSLv23     TLSv1_1    True
SSLv23     TLSv1_2    True
SSLv3      SSLv23     True
SSLv3      SSLv3      True
SSLv3      TLSv1      False
SSLv3      TLSv1_1    False
SSLv3      TLSv1_2    False
TLSv1      SSLv23     True
TLSv1      SSLv3      False
TLSv1      TLSv1      True
TLSv1      TLSv1_1    False
TLSv1      TLSv1_2    False
TLSv1_1    SSLv23     True
TLSv1_1    SSLv3      False
TLSv1_1    TLSv1      False
TLSv1_1    TLSv1_1    True
TLSv1_1    TLSv1_2    False
TLSv1_2    SSLv23     False
TLSv1_2    SSLv3      False
TLSv1_2    TLSv1      False
TLSv1_2    TLSv1_1    False
TLSv1_2    TLSv1_2    True
msg213560 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014-03-14 15:03
> The table at http://docs.python.org/3.4/library/ssl.html#ssl.wrap_socket doesn't contain information for TLS 1.1 and 1.2.

Ah? I see "TLSv1  TLSv1.1  TLSv1.2" columns and rows. What is missing?
msg213565 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2014-03-14 15:47
D'oh. I guess I looked at the http://docs.python.org/3/ docs which still forward to 3.3 and then posted the link to 3.4 ... :|
History
Date User Action Args
2022-04-11 14:58:00adminsetgithub: 65124
2014-03-14 15:47:17christian.heimessetstatus: open -> closed
resolution: not a bug
messages: + msg213565
2014-03-14 15:03:26vstinnersetnosy: + vstinner
messages: + msg213560
2014-03-14 14:54:18christian.heimescreate