Title: Add support in SSL module for getting and setting TLS signature algorithms · Issue #138252 · python/cpython · GitHub
Open Graph Title: Add support in SSL module for getting and setting TLS signature algorithms · Issue #138252 · python/cpython
X Title: Add support in SSL module for getting and setting TLS signature algorithms · Issue #138252 · python/cpython
Description: Proposal: This feature proposal is a continuation of SSL feature work begun in issues #136306 and #137197. It adds the ability to set TLS signature algorithms for both client and server in the SSLContext class and later query the selecte...
Open Graph Description: Proposal: This feature proposal is a continuation of SSL feature work begun in issues #136306 and #137197. It adds the ability to set TLS signature algorithms for both client and server in the SSLC...
X Description: Proposal: This feature proposal is a continuation of SSL feature work begun in issues #136306 and #137197. It adds the ability to set TLS signature algorithms for both client and server in the SSLC...
Opengraph URL: https://github.com/python/cpython/issues/138252
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add support in SSL module for getting and setting TLS signature algorithms","articleBody":"### Proposal:\n\nThis feature proposal is a continuation of SSL feature work begun in issues #136306 and #137197. It adds the ability to set TLS signature algorithms for both client and server in the SSLContext class and later query the selected signature algorithms on an SSHSocket, after the TLS handshake is complete. The new methods would look something like:\n\n```python\n ssl.get_sigalgs() -\u003e List[str]:\n \"\"\"Get a list of TLS signature algorithms available for server validation\n and client authentication.\"\"\"\n\n SSLContext.set_server_sigalgs(sigalgs: str) -\u003e None:\n \"\"\"Set the TLS signature algorithms allowed for server validation.\"\"\"\n\n SSLContext.set_client_sigalgs(sigalgs: str) -\u003e None:\n \"\"\"Set the TLS signature algorithms allowed for client authentication.\"\"\"\n\n SSLSocket.server_sigalg() -\u003e str | None:\n \"\"\"Return the TLS signature algorithm selected for server validation.\"\"\"\n\n SSLSocket.client_sigalg() -\u003e str | None:\n \"\"\"Return the TLS signature algorithm selected for client authentication.\"\"\"\n```\n\n### Links to previous discussion of this feature:\n\nThis work was discussed originally in PR #119244.\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-138269\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/ronf","@type":"Person","name":"ronf"},"datePublished":"2025-08-29T19:44:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/138252/cpython/issues/138252"}
| 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:85ae35ad-6953-4cf1-eb33-c4c1de2ec9e2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD64:3A6082:76953A:98FE01:696AEE28 |
| html-safe-nonce | 61d294fd8d0c8113fe5b8fc17ab57bcc2817026f6c6397b771a2cf1f91be4e27 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDY0OjNBNjA4Mjo3Njk1M0E6OThGRTAxOjY5NkFFRTI4IiwidmlzaXRvcl9pZCI6IjkwNjU0MTM0Mjc5MjMxODUxOTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6cee742beae8c6b94c73dbe67097ee3d56265bdb377f22951153ad1a524a73d3 |
| hovercard-subject-tag | issue:3367923381 |
| 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/138252/issue_layout |
| twitter:image | https://opengraph.githubassets.com/598575e52c95513f185d301f091a167130f56c0380550ce1123848b87a78c8d4/python/cpython/issues/138252 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/598575e52c95513f185d301f091a167130f56c0380550ce1123848b87a78c8d4/python/cpython/issues/138252 |
| og:image:alt | Proposal: This feature proposal is a continuation of SSL feature work begun in issues #136306 and #137197. It adds the ability to set TLS signature algorithms for both client and server in the SSLC... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ronf |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width