Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
bpo-44888: Add ssl.OP_LEGACY_SERVER_CONNECT#27776
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Required for making OpenSSL 3.0.0 behave like 1.1.1.
the-knights-who-say-ni commentedAug 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 thePSF contributor agreement (CLA). Recognized GitHub usernameWe couldn't find abugs.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 followthe steps outlined in the CPython devguide to rectify this issue. You cancheck yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
xtkoba commentedAug 16, 2021
See alsoopenssl/openssl#16278 |
ambv commentedAug 17, 2021
Please add a NEWS entry. |
tiran commentedAug 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 commentedAug 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 commentedAug 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 commentedAug 18, 2021
Thanks for making the requested changes! @tiran: please review the changes made to this pull request. |
jerrychong25 commentedFeb 4, 2022
Hi@xtkoba , just checking is thisssl.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 withssl.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 configuressl.OP_LEGACY_SERVER_CONNECT as of now? Thanks. CC:@tiran |
tiran commentedFeb 4, 2022
The changeset has not been merged and the flag is not available.@xtkoba closed the PR. |
hjmallon commentedMar 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 |
Uh oh!
There was an error while loading.Please reload this page.
Required for making OpenSSL 3.0.0 behave like 1.1.1.
https://bugs.python.org/issue44888