Skip to contentSkip to conversation

python3-tpm2-pytss: add python tss2 support

PATCH New Armin Kuster 1 participant 2 messages Jul 3, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-tpm2-pytss: add python tss2 support

---
 .../tpm2-pytss/python3-tpm2-pytss_2.1.0.bb        | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-tpm/recipes-tpm2/tpm2-pytss/python3-tpm2-pytss_2.1.0.bb
meta-tpm/recipes-tpm2/tpm2-pytss/python3-tpm2-pytss_2.1.0.bb new file +15 -0
new file mode 100644
index 0000000..c98d4ab
@@ -0,0 +1,15 @@
+DESCRIPTION = "TPM2 TSS Python bindings for Enhanced System API (ESYS), Feature API (FAPI), Marshaling (MU), TCTI Loader (TCTILdr), TCTIs, policy, and RC Decoding (rcdecode) libraries"
+HOMEPAGE = "https://github.com/tpm2-software/tpm2-pytss"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=500b2e742befc3da00684d8a1d5fd9da"
+
+SRC_URI[sha256sum] = "5b5b4b1456fdc1aeef3d2c3970beaa078c8f7f2648c97a69bcf60c5a2f95c897"
+
+PYPI_PACKAGE = "tpm2-pytss"
+
+DEPENDS = "python3-pkgconfig-native python3-pycparser-native python3-asn1crypto-native"
+DEPENDS:append = " python3-cryptography-native tpm2-tss" 
+
+inherit autotools pkgconfig pypi setuptools3_legacy
+
+RDEPENDS:${PN} = "libtss2"
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 packagegroup: add python3-tpm2-pytss

---
 meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb | 1 +
 1 file changed, 1 insertion(+)
meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb +1 -0
index fb0105e..8663b77 100644
@@ -20,4 +20,5 @@ RDEPENDS:packagegroup-security-tpm2 = " \
     libtss2 \
     tpm2-abrmd \
     tpm2-pkcs11 \
+    python3-tpm2-pytss \
     "
Signature · 1 line
2.34.1