Skip to content
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

[3.10] gh-116333: Relax error string text expectations in SSL-related tests (GH-116334) #117229

Closed

Conversation

WillChilds-Klein
Copy link
Contributor

@WillChilds-Klein WillChilds-Klein commented Mar 25, 2024

This is a backport of PR #116334 to the 3.10 branch.

…tests (pythonGH-116334)

As suggested [here][1], this change relaxes the OpenSSL error string
text expectations in a number of tests. This was specifically done in
support of more easily building CPython [AWS-LC][2], but because AWS-LC
is a fork of [BoringSSL][3], it should increase compatibility with that
library as well.

In addition to the error string relaxations, we also add some guards
around the `tls-unique` channel binding being used with TLSv1.3, as that
feature (described in [RFC 6929][4]) is [not defined][5] for TLSv1.3.

[1]: https://discuss.python.org/t/support-building-ssl-and-hashlib-modules-against-aws-lc/44505/4
[2]: https://github.com/aws/aws-lc
[3]: https://github.com/google/boringssl
[4]: https://datatracker.ietf.org/doc/html/rfc5929#section-3
[5]: https://datatracker.ietf.org/doc/html/rfc8446#appendix-C.5
@arhadthedev
Copy link
Member

arhadthedev commented Apr 6, 2024

3.10 now accepts security patches only (see https://devguide.python.org/versions/ for the timeline and https://peps.python.org/pep-0619/#bugfix-releases for the schedule).

Should we close this bugfix PR then?

@arhadthedev arhadthedev added the pending The issue will be closed if no feedback is provided label Apr 10, 2024
@WillChilds-Klein
Copy link
Contributor Author

Hi @arhadthedev, thank you for the links and head's up. I'll close the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review pending The issue will be closed if no feedback is provided tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants