➜

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.

作者 christian.heimes
收信人 christian.heimes
日期 2018-01-21.14:00:23
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1516543224.12.0.467229070634.issue32609@psf.upfronthosting.co.za>
In-reply-to
内容
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).
历史
日期 用户 动作 参数
2018-01-21 14:00:24christian.heimes修改recipients: + christian.heimes
2018-01-21 14:00:24christian.heimes修改messageid: <1516543224.12.0.467229070634.issue32609@psf.upfronthosting.co.za>
2018-01-21 14:00:23christian.heimes链接issue32609 messages
2018-01-21 14:00:23christian.heimes创建