Uh oh!
There was an error while loading. Please reload this page.
bpo-44888: Add ssl.OP_LEGACY_SERVER_CONNECT - #27776
Conversation
Required for making OpenSSL 3.0.0 behave like 1.1.1.
the-knights-who-say-ni
commented
Aug 16, 2021
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). Recognized GitHub usernameWe couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames: This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
xtkoba
commented
Aug 16, 2021
See also openssl/openssl#16278 |
ambv
commented
Aug 17, 2021
Please add a NEWS entry. |
tiran
commented
Aug 17, 2021
Please also add documentation update and a test case. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bedevere-bot
commented
Aug 18, 2021
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
xtkoba
commented
Aug 18, 2021
I have made the requested changes; please review again. Note that the connection test would really require an "unpatched" server, which I didn't come up with how to prepare. |
bedevere-bot
commented
Aug 18, 2021
Thanks for making the requested changes! @tiran: please review the changes made to this pull request. |
jerrychong25
commented
Feb 4, 2022
Hi @xtkoba , just checking is this ssl.OP_LEGACY_SERVER_CONNECT issue already fixed in Python OpenSSL 3.0.0 side? Source of Issue: https://bugs.python.org/issue44888 I've tried with configure with ssl.OP_LEGACY_SERVER_CONNECT in OpenSSL 3.0.0, but can't found this option as per error messages below: Checked also in Python OpenSSL 3.0.0 documentation (Link: https://docs.python.org/3/library/ssl.html), also can't found this option. In this situation, what is best workaround solution for making OpenSSL 3.0.0 behave like 1.1.1 due to unable configure ssl.OP_LEGACY_SERVER_CONNECT as of now? Thanks. CC: @tiran |
tiran
commented
Feb 4, 2022
The changeset has not been merged and the flag is not available. @xtkoba closed the PR. |
hjmallon
commented
Mar 28, 2022
Note to self/others, I was able to work around by manually setting the numeric value. ctx=ssl.create_default_context(ssl.Purpose.SERVER_AUTH)
ctx.options|=0x4 |
Required for making OpenSSL 3.0.0 behave like 1.1.1.
https://bugs.python.org/issue44888