Title: ssl and hashlib: Remove functions deprecated in Python 3.10 · Issue #94199 · python/cpython · GitHub
Open Graph Title: ssl and hashlib: Remove functions deprecated in Python 3.10 · Issue #94199 · python/cpython
X Title: ssl and hashlib: Remove functions deprecated in Python 3.10 · Issue #94199 · python/cpython
Description: The commit 2875c60 deprecated many ssl and hashlib functions in Python 3.10: ssl.OP_NO_SSLv2 ssl.OP_NO_SSLv3 ssl.OP_NO_TLSv1 ssl.OP_NO_TLSv1_1 ssl.OP_NO_TLSv1_2 ssl.OP_NO_TLSv1_3 ssl.PROTOCOL_SSLv2 ssl.PROTOCOL_SSLv3 ssl.PROTOCOL_SSLv23 ...
Open Graph Description: The commit 2875c60 deprecated many ssl and hashlib functions in Python 3.10: ssl.OP_NO_SSLv2 ssl.OP_NO_SSLv3 ssl.OP_NO_TLSv1 ssl.OP_NO_TLSv1_1 ssl.OP_NO_TLSv1_2 ssl.OP_NO_TLSv1_3 ssl.PROTOCOL_SSLv2...
X Description: The commit 2875c60 deprecated many ssl and hashlib functions in Python 3.10: ssl.OP_NO_SSLv2 ssl.OP_NO_SSLv3 ssl.OP_NO_TLSv1 ssl.OP_NO_TLSv1_1 ssl.OP_NO_TLSv1_2 ssl.OP_NO_TLSv1_3 ssl.PROTOCOL_SSLv2...
Opengraph URL: https://github.com/python/cpython/issues/94199
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ssl and hashlib: Remove functions deprecated in Python 3.10","articleBody":"The commit 2875c603b2a7691b55c2046aca54831c91efda8e deprecated many ssl and hashlib functions in Python 3.10:\r\n\r\n* ssl.OP_NO_SSLv2\r\n* ssl.OP_NO_SSLv3\r\n* ssl.OP_NO_TLSv1\r\n* ssl.OP_NO_TLSv1_1\r\n* ssl.OP_NO_TLSv1_2\r\n* ssl.OP_NO_TLSv1_3\r\n* ssl.PROTOCOL_SSLv2\r\n* ssl.PROTOCOL_SSLv3\r\n* ssl.PROTOCOL_SSLv23 (alias for PROTOCOL_TLS)\r\n* ssl.PROTOCOL_TLS\r\n* ssl.PROTOCOL_TLSv1\r\n* ssl.PROTOCOL_TLSv1_1\r\n* ssl.PROTOCOL_TLSv1_2\r\n* ssl.TLSVersion.SSLv3\r\n* ssl.TLSVersion.TLSv1\r\n* ssl.TLSVersion.TLSv1_1\r\n* ssl.wrap_socket()\r\n* ssl.RAND_pseudo_bytes()\r\n* ssl.RAND_egd() (already removed since it's not supported by OpenSSL 1.1.1)\r\n* ssl.SSLContext() without a protocol argument\r\n* ssl.match_hostname()\r\n* hashlib.pbkdf2_hmac() (pure Python implementation, fast OpenSSL function will stay)\r\n\r\nThey emit a DeprecationWarning in Python 3.10 and 3.11. According to PEP 387, they can now be removed in Python 3.12.\r\n\r\nI'm not sure that we should actively remove all of these deprecated features, it should be decided on a case by case basis. Backward compatibility is even more complex when it's about security and old security protocols like SSL and old TLS versions.\n\n\u003c!-- gh-pr-number: gh-99023 --\u003e\n* PR: gh-99023\n\u003c!-- /gh-pr-number --\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2022-06-24T08:14:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/94199/cpython/issues/94199"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:13b72f50-acce-c3dd-6c90-4d63a5a869de |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B9BE:252C46:174F39:1F79F9:696967B8 |
| html-safe-nonce | 2de57e2379b7faa70c70fc2d6636856ab90a414517a39ae78c1d0f01136e9d61 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUJFOjI1MkM0NjoxNzRGMzk6MUY3OUY5OjY5Njk2N0I4IiwidmlzaXRvcl9pZCI6IjkwNjA4NDE4NDc1NTMzNTM2NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6ae2977b14aa58d07bc204a4ba7b5958a6dec88e10014da9ebe756a5e94ab733 |
| hovercard-subject-tag | issue:1283416922 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/94199/issue_layout |
| twitter:image | https://opengraph.githubassets.com/507513fc5b9382072e0e7472dbaa39fa74057e7151addb7e6bb564955c844ac3/python/cpython/issues/94199 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/507513fc5b9382072e0e7472dbaa39fa74057e7151addb7e6bb564955c844ac3/python/cpython/issues/94199 |
| og:image:alt | The commit 2875c60 deprecated many ssl and hashlib functions in Python 3.10: ssl.OP_NO_SSLv2 ssl.OP_NO_SSLv3 ssl.OP_NO_TLSv1 ssl.OP_NO_TLSv1_1 ssl.OP_NO_TLSv1_2 ssl.OP_NO_TLSv1_3 ssl.PROTOCOL_SSLv2... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width