Title: Example requires exactly TLSv1.3, but explanation says TLSv1.2 and later · Issue #95816 · python/cpython · GitHub
Open Graph Title: Example requires exactly TLSv1.3, but explanation says TLSv1.2 and later · Issue #95816 · python/cpython
X Title: Example requires exactly TLSv1.3, but explanation says TLSv1.2 and later · Issue #95816 · python/cpython
Description: Documentation The example at https://docs.python.org/3/library/ssl.html#protocol-versions says: client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) client_context.minimum_version = ssl.TLSVersion.TLSv1_3 client_context.maximum_versi...
Open Graph Description: Documentation The example at https://docs.python.org/3/library/ssl.html#protocol-versions says: client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) client_context.minimum_version = ssl.TLSVers...
X Description: Documentation The example at https://docs.python.org/3/library/ssl.html#protocol-versions says: client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) client_context.minimum_version = ssl.TLSVers...
Opengraph URL: https://github.com/python/cpython/issues/95816
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Example requires exactly TLSv1.3, but explanation says TLSv1.2 and later","articleBody":"# Documentation\r\n\r\nThe example at https://docs.python.org/3/library/ssl.html#protocol-versions says:\r\n\r\n```\r\nclient_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)\r\nclient_context.minimum_version = ssl.TLSVersion.TLSv1_3\r\nclient_context.maximum_version = ssl.TLSVersion.TLSv1_3\r\n```\r\n\r\nWhich should require exactly TLSv1.3 (no higher or lower). But the explanation then says:\r\n\r\n> The SSL context created above will only allow TLSv1.2 and later (if supported by your system) connections to a server.\r\n\r\nI 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.\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-148574\n* gh-150008\n* gh-150009\n* gh-150010\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/qris","@type":"Person","name":"qris"},"datePublished":"2022-08-09T08:46:42Z","url":"https://github.com/python/cpython/issues/95816"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:f1dd8cae-7f07-8f63-bdc1-f3a4e3cc2f12 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E8CA:2E3FEE:3A4EBAA:49D75B3:6B01F7AB |
| html-safe-nonce | 0b49c82e40f25b696615170537afdc0571c304780857167eccb96cc1f7a79a75 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOENBOjJFM0ZFRTozQTRFQkFBOjQ5RDc1QjM6NkIwMUY3QUIiLCJ2aXNpdG9yX2lkIjoiOTE3MDYwNDIwMzU5NTM5NzAzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 37ff925c581eefddc6e9b44fd37593f3c8c7a413ac1c01b22e31f46835e31aab |
| hovercard-subject-tag | issue:1332924905 |
| 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/95816/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a3d7a588a047fbedf74cab4de5f3ddc5b525a1474dd83a01358e3c78156a796e/python/cpython/issues/95816 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a3d7a588a047fbedf74cab4de5f3ddc5b525a1474dd83a01358e3c78156a796e/python/cpython/issues/95816 |
| og:image:alt | Documentation The example at https://docs.python.org/3/library/ssl.html#protocol-versions says: client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) client_context.minimum_version = ssl.TLSVers... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | qris |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width