Open qris opened 2 years ago
I think I've opened this one somewhere
Related:
Not entirely fixed as of today, as the edits were made to TLS v1.3 as min/max, yet the explainer says TLSv1.3 or newer, which is still wrong.
So the question is: should the max be changed to MAXIMUM_SUPPORTED
(or left out completely?) or the description altered to say it's exactly TLS v1.3 only?
Maybe it should be changed back to ssl.TLSVersion.TLSv1_2
to demonstrate a range of versions as proposed via https://github.com/python/cpython/issues/105090#issuecomment-1650591893 in #107273 …?
Documentation
The example at https://docs.python.org/3/library/ssl.html#protocol-versions says:
Which should require exactly TLSv1.3 (no higher or lower). But the explanation then says:
I think this is an incorrect statement. I also think the example is not ideal, as it would be strange to refuse to use more recent versions of TLS if they were supported.