Skip to content

gh-133623: Add ssl.HAS_PSK_TLS13 to detect external TLS 1.3 PSK support - #133624

Merged
picnixz merged 9 commits into
python:mainfrom
WillChilds-Klein:has-psk-tls13
May 9, 2025
Merged

picnixz merged 9 commits into
python:mainfrom
WillChilds-Klein:has-psk-tls13

Conversation

@WillChilds-Klein

@WillChilds-Klein WillChilds-Klein commented May 7, 2025 •

Copy link
Copy Markdown
Contributor

Notes

Please see #133623's description for broader discussion of the feature.

AWS-LC now sets an OPENSSL_NO_EXTERNAL_PSK_TLS13 macro that this PR uses to detect external TLS 1.3 PSK support.

This PR is largely based on PR #128036's patterns. If the edit to Doc/whatsnew/3.15.rst is unnecessary, I'm happy to remove it.

Testing

  • CPython CI
  • AWS-LC recently adjusted our CPython CI patch file, conforming to this PR's contents


📚 Documentation preview 📚: https://cpython-previews--133624.org.readthedocs.build/

Comment thread Doc/library/ssl.rst Resolved
Comment thread Doc/whatsnew/3.15.rst Resolved
WillChilds-Klein and others added 2 commits May 7, 2025 19:00
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@picnixz picnixz self-assigned this May 7, 2025
Comment thread Doc/whatsnew/3.15.rst Resolved
@picnixz
picnixz merged commit 6801bd3 into python:main May 9, 2025
@WillChilds-Klein
WillChilds-Klein deleted the has-psk-tls13 branch May 9, 2025 14:13
WillChilds-Klein added a commit to aws/aws-lc that referenced this pull request May 9, 2025
As of [PR 133624](python/cpython#133624),
CPython's mainline is now fully source- and test-compatible with AWS-LC.
This means that we can reduce our CI patch file to a static build
configuration.
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants