Skip to content

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
@WillChilds-Klein WillChilds-Klein force-pushed the 3.10-relax-ssl-err-strs branch from c571c3b to faf9e7e Compare March 29, 2024 16:09
@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.

@AA-Turner AA-Turner removed the pending The issue will be closed if no feedback is provided label Apr 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants