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
gh-63284: Add support for TLS-PSK (pre-shared key) to the ssl module #103181
Merged
Commits on Apr 3, 2023
-
SSL_CTX_set_session_id_context() is a server-side only operation. Using this on the client-side is causing authentication errors
Commits on May 14, 2023
Commits on Jun 4, 2023
-
Decode TLS-PSK identities as UTF-8 rather than ASCII
RFC4279 states these are UTF-8. Add unit test using non-ASCII chars
-
Change TLS-PSK version added from 3.12 to 3.13
The PR has missed the 3.12 merge window
Commits on Jun 5, 2023
Commits on Jul 14, 2023
Commits on Jul 15, 2023
-
-
Get single value using PyBytes_AsStringAndSize
There is no need to use PyArg_Parse in this simple case
Commits on Jul 16, 2023
-
Do not raise a decode exception if remote side sends invalid UTF-8 du…
…ring TLS-PSK negotiation In this case the remote side is breaking the standard (rfc4279). Just drop the connection
-
-
-
-
Add length limits of identity and hint parameters. Add how to reject a connection
-
Commits on Nov 26, 2023
-
-
-
Demonstrate usage in a safer way that rejects unknown connection attempts
-
Commits on Nov 27, 2023
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.