Skip to content

Python 3.12 / cryptography >= 42 fixes

[email protected] yocto-patches 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2python3-tpm2-pytss: update from 2.1.0 to 2.3.0meta-tpm/recipes-tpm2/tpm2-pytss/python3-tpm2-pytss_2.3.0.bb+10 -50 replies
2/2tpm2-pytss: Add python3-asn1crypto runtime dependencymeta-tpm/recipes-tpm2/tpm2-pytss/python3-tpm2-pytss_2.3.0.bb+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [meta-security][PATCH 0/2] Python 3.12 / cryptography >= 42 fixes

From: Stefan Prisacariu <[email protected]>

This patch series backports upstream fixes required for python3-tpm2-pytss to work correctly with Python 3.12 and newer cryptography releases.

Starting with version 2.2.1, tpm2-pytss includes a fix for integration with cryptography >= 42.0.1, addressing incompatibilities that cause runtime failures in PKCS#11 tooling such as tpm2_ptool.

Patch 1 updates python3-tpm2-pytss to version 2.3.0, which incorporates the Python 3.12 and cryptography compatibility fixes introduced upstream.

Patch 2 adds a missing runtime dependency on python3-asn1crypto, which is required by tpm2-pytss at runtime but not currently declared in the recipe.

Both patches are cherry-picked from upstream and are required to restore functional TPM2 PKCS#11 support on Python 3.12-based systems.

Mikko Rapeli (1):
python3-tpm2-pytss: update from 2.1.0 to 2.3.0

Omri Sarig (1):
tpm2-pytss: Add python3-asn1crypto runtime dependency

 ...tss_2.1.0.bb => python3-tpm2-pytss_2.3.0.bb} | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)
 rename meta-tpm/recipes-tpm2/tpm2-pytss/{python3-tpm2-pytss_2.1.0.bb => python3-tpm2-pytss_2.3.0.bb} (52%)
Signature · 1 line
2.39.5