-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Add a CI job for testing OpenSSL 1.1.1 bindings #135261
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
Comments
FWIW, testing of 1.1.1 was deliberately removed in #123700 nine months ago. |
I'll forward the comment I wrote on the PR here as well:
See https://docs.python.org/3/using/configure.html#build-requirements as well. To be clear, the code paths that need to be tested are those in cpython/Modules/_hashopenssl.c Lines 62 to 72 in 8d17a41
cpython/Modules/_hashopenssl.c Lines 2086 to 2103 in 8d17a41
Also, some constructions are deprecated in OpenSSL 3.0 but are still used (the |
Considering that the OpenSSL project officially ended unpaid support for 1.1.1 in 2023, I think we should consider updating our build requirements docs to exclude 1.1.1 rather than reintroduce 1.1.1 support in testing. At the moment the OpenSSL project offers at considerable expense extended support contracts for 1.1.1 . There are also vendors who provide paid extended support contract for various versions of Python. We could leave that support to them for users who need it. |
See also recent discussion in #131423. |
One relevant comment was #131423 (comment). And I actually agreed with dropping 1.1.1 requirements. It's just that my system-wide installation is 1.1.1. It's not an issue for me to upgrade it. The advantage of dropping 1.1.1 is that it simplifies a lot the code, both in However, whatever we choose, if we keep it some code path that only works for OpenSSL 1.1.1, we should somehow test it (because now, we don't test it at all) |
Uh oh!
There was an error while loading. Please reload this page.
The minimal required OpenSSL version is 1.1.1 but we recommend to use OpenSSL 3.x and later for hashlib and ssl. However, we still have many code paths that are conditioned to OpenSSL versions and those are not eagerly tested. I suggest adding an SSL CI job for OpenSSL 1.1.1.
Ideally, I'd like to backport such job up to 3.9, but I'm not sure if I'm allowed to do this as it's not really a security issue.
Linked PRs
The text was updated successfully, but these errors were encountered: