Re: [OE-core] [PATCH 0/3] Disable OpenSSL and Python3-cryptography legacy features by default

Mathieu Dubois-Briand
2026-02-12T16:39:05Z

On Wed Feb 11, 2026 at 7:49 PM CET, Colin McAllister via lists.openembedded.org wrote:
> TLS 1.0 and 1.1 have been deprecated by the IETF since 2021, and
> OpenSSL's legacy module contains deprecated and unmaintained components.
> This series disables legacy support by default in both OpenSSL and
> python3-cryptography, requiring users to explicitly opt-in if needed.
>
> The first two patches add packageconfig options to control legacy TLS
> protocol support and the legacy OpenSSL module. The final patch aligns
> python3-cryptography with the new OpenSSL defaults.
>
> Note that the TLS 1.0/1.1 changes replace the existing "no-tls1" and
> "no-tls1_1" packageconfig options with affirmative "tls1" and "tls1_1"
> options that are disabled by default. While less disruptive to enable
> the "no-*" options by default, using affirmative options provides
> consistency with the new "legacy" option and is clearer than having
> default-enabled "no-*" options.
>
> Testing performed:
> * Verified both recipes build successfully with and without the new
> options
> * Ran OpenSSL ptests with legacy enabled/disabled and TLS 1.0/1.1
> disabled
> * Ran python3-cryptography ptests with legacy-openssl disabled
> * Confirmed ptests correctly skip tests for disabled legacy features
>
> Colin Pinnell McAllister (3):
> openssl: Disable TLS 1.x by default
> openssl: Add legacy packageconfig option
> python3-cryptography: Disable legacy-openssl by default
>
> meta/recipes-connectivity/openssl/openssl_3.5.5.bb | 14 +++++++++-----
> .../python/python3-cryptography.bb | 2 +-
> 2 files changed, 10 insertions(+), 6 deletions(-)

Hi Colin,

Thanks for your patch.

It looks like we are having some ptest failing on the autobuilder:

Failed ptests:
{'python3': ['test_min_max_version', 'python3']}

https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/3075
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3030

Test logs can be found here:

https://valkyrie.yocto.io/pub/non-release/20260212-56/testresults/qemux86-64-ptest/core-image-ptest-python3/
https://valkyrie.yocto.io/pub/non-release/20260212-56/testresults/qemuarm64-ptest/core-image-ptest-python3/

Can you have a look at this error?

Thanks,
Mathieu

--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering