diff mbox series

[meta-security,2/2] tpm2-pytss: Add python3-asn1crypto runtime dependency

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

Commit Message

stefan.prisacariu@prevas.dk April 9, 2026, 2:10 p.m. UTC
From: Omri Sarig <omri.sarig13@gmail.com>

The tpm2-pytss module is importing the module asn1crypto in tsskey.py,
however, the current bitbake recipe is not including this python package
as runtime dependency. This causes the module invocation to fail at the
moment.

The commit adds this dependency to the bitbake recipe, to make the
recipe self contained.

Signed-off-by: Omri Sarig <omri.sarig13@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 75a6ea387b1f48d875ae23ed92a8346c93720f0f)
Signed-off-by: Stefan Prisacariu <stefan.prisacariu@prevas.dk>
---
 meta-tpm/recipes-tpm2/tpm2-pytss/python3-tpm2-pytss_2.3.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-tpm/recipes-tpm2/tpm2-pytss/python3-tpm2-pytss_2.3.0.bb b/meta-tpm/recipes-tpm2/tpm2-pytss/python3-tpm2-pytss_2.3.0.bb
index ae7dcfa..45b094c 100644
--- a/meta-tpm/recipes-tpm2/tpm2-pytss/python3-tpm2-pytss_2.3.0.bb
+++ b/meta-tpm/recipes-tpm2/tpm2-pytss/python3-tpm2-pytss_2.3.0.bb
@@ -17,4 +17,4 @@  DEPENDS = " \
     tpm2-tss \
 "
 
-RDEPENDS:${PN} = "libtss2"
+RDEPENDS:${PN} = "libtss2 python3-asn1crypto"