Please implement ssl.OP_LEGACY_SERVER_CONNECT constant that corresponds to SSL_OP_LEGACY_SERVER_CONNECT in C. This is required to make OpenSSL 3.0.0 behave like 1.1.1.
Reacted by Richard Green, Vladimir remar, John, Rachel Tan, Kodiak and Mohamed H. Oreaba
The first argument must be given and is the version in question. The second argument is optional and can be used to describe the details of the feature.
Activity
xtkoba commented on Aug 11, 2021
Please implement ssl.OP_LEGACY_SERVER_CONNECT constant that corresponds to SSL_OP_LEGACY_SERVER_CONNECT in C. This is required to make OpenSSL 3.0.0 behave like 1.1.1.
tiran commented on Aug 3, 2022
@graingert Do you want to backport the change to 3.11 and 3.10?
graingert commented on Aug 3, 2022
I'd like the backport in 3.10 and I hope the patch will apply automatically
3 remaining items
graingert commented on Aug 3, 2022
Hmm but then users reading the 3.11 docs will see the wrong versionadded
cc @hugovk
hugovk commented on Aug 3, 2022
So was it added in 3.11 and backported to 3.10.6?
Can it be .. versionadded:: 3.10.6 for both?
Otherwise, https://devguide.python.org/documentation/markup/?highlight=versionadded#paragraph-level-markup says of versionadded:
For example:
https://docs.python.org/3/library/decimal.html#decimal.HAVE_CONTEXTVAR
https://docs.python.org/3/c-api/typeobj.html#c.PyTypeObject.tp_vectorcall
gh-89051: Add ssl.OP_LEGACY_SERVER_CONNECT (#93927)
hugovk commented on Dec 20, 2022
I've merged #93927 with:
And let's go for:
@graingert Please could you make the 3.10 and 3.11 backport PRs?
hugovk commented on Dec 20, 2022
Actually, let's try using Miss Islington and then modify those PRs.
pythongh-89051: Add ssl.OP_LEGACY_SERVER_CONNECT (python#93927)
hugovk commented on Dec 20, 2022
Miss Islington didn't like the merge conflicts, back to the command line. Please see PRs #100359 and #100360.
pythongh-89051: Add ssl.OP_LEGACY_SERVER_CONNECT (python#93927)
hugovk commented on Dec 21, 2022
I closed the backports, as we don't normally backport new features to bugfix branches.
https://devguide.python.org/versions/
This will be in the next 3.12.0 alpha 4, due on 2023-01-09.
Merged main into regmachine branch (#50)
gh-89051: Add ssl.OP_LEGACY_SERVER_CONNECT (#93927)