Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ssl] Remove deprecated protocols, OP_NO_TLS/SSL, and support for TLS < 1.2 #94598

Open
tiran opened this issue Jul 6, 2022 · 2 comments
Open
Assignees
Labels
3.13 bugs and security fixes stdlib Python modules in the Lib dir topic-SSL type-feature A feature request or enhancement

Comments

@tiran
Copy link
Member

tiran commented Jul 6, 2022

Feature or enhancement

Python 3.10 or earlier versions of Python have deprecated

  • all PROTOCOL_* constants except PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_CLIENT
  • SSLContext without a protocol parameter
  • all OP_NO_TLS* and OP_NO_SSL* options
  • support for SSL 2.0, SSL 3.0, TLS 1.0, and TLS 1.1

It is time to remove the constants and features.

@tiran tiran added the type-feature A feature request or enhancement label Jul 6, 2022
@tiran tiran self-assigned this Jul 6, 2022
@tiran tiran added the 3.12 bugs and security fixes label Jul 6, 2022
@vstinner
Copy link
Member

vstinner commented Jul 8, 2022

support for SSL 2.0

It was removed in Python 3.10, no?

@tiran
Copy link
Member Author

tiran commented Jul 8, 2022

There was still a bit of SSLv2 code left.

tiran added a commit to tiran/cpython that referenced this issue Jul 28, 2022
@arhadthedev arhadthedev added stdlib Python modules in the Lib dir topic-SSL labels May 5, 2023
@erlend-aasland erlend-aasland added 3.13 bugs and security fixes and removed 3.12 bugs and security fixes labels Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 bugs and security fixes stdlib Python modules in the Lib dir topic-SSL type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

4 participants