Skip to contentSkip to conversation

extract-cert: add recipe

PATCH New Jan Luebbe 1 participant 1 message Feb 1, 2023

lore
Share & tools
lore

Jan Luebbe

author
#0 lore raw

PATCH v2 1/1 extract-cert: add recipe

The extract-cert tool is used to fetch the X.509 certificate associated with a key from a PKCS#11 token (such as a HSM or YubiKey). This version is derived from certs/extract-cert in the Linux kernel as a stand-alone tool to make it available when signing other software components besides the kernel.

---

v1->v2:
Renamed from _git.bb to _0.3.bb and removed 'PR = "0.3"' line as requested by Khem Raj.

 .../extract-cert/extract-cert_0.3.bb               | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/extract-cert/extract-cert_0.3.bb
meta-oe/recipes-devtools/extract-cert/extract-cert_0.3.bb new file +14 -0
new file mode 100644
index 000000000000..a4cd7ad1577a
@@ -0,0 +1,14 @@
+SUMMARY = "small helper program to extract X.509 certificates from PKCS#11 tokens"
+LICENSE = "LGPL-2.1-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = "openssl"
+
+SRC_URI = "git://git.pengutronix.de/git/extract-cert;protocol=https;branch=master;"
+SRCREV = "d652b4e8279aef2a85f58676ab472744bafeafc9"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.30.2