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.

Author christian.heimes
Recipients christian.heimes
Date 2018-01-21.14:00:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516543224.12.0.467229070634.issue32609@psf.upfronthosting.co.za>
In-reply-to
Content
OpenSSL 1.1 has introduced a new API to set the minimum and maximum supported protocol version. The API is easier to use than the old OP_NO_TLSv1 option flags, too

https://www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_set_min_proto_version.html

Debian used the new setters to disable TLS 1.0 and 1.1 in testing, #31453. The old TLS versions have been enabled again for now. Python must expose the new API in case Debian decides to disable them again.

I also like to deprecate the old OP_NO_TLSv1 et al. flags in favor of the new API. The option flags are awkward to use and easy to get wrong. For example applications must not leave holes in the OP_NO range (e.g. allow TLS 1.0 and 1.2 but disable 1.1).
History
Date User Action Args
2018-01-21 14:00:24christian.heimessetrecipients: + christian.heimes
2018-01-21 14:00:24christian.heimessetmessageid: <1516543224.12.0.467229070634.issue32609@psf.upfronthosting.co.za>
2018-01-21 14:00:23christian.heimeslinkissue32609 messages
2018-01-21 14:00:23christian.heimescreate