mbox series

[meta-security,0/2] Python 3.12 / cryptography >= 42 fixes

Message ID cover.1775741022.git.stefan.prisacariu@prevas.dk
Headers show
Series Python 3.12 / cryptography >= 42 fixes | expand

Message

stefan.prisacariu@prevas.dk April 9, 2026, 2:10 p.m. UTC
From: Stefan Prisacariu <stefan.prisacariu@prevas.dk>

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.

Signed-off-by: Stefan Prisacariu <stefan.prisacariu@prevas.dk>

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%)