aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2023-02-01 09:17:16 +0100
committerKhem Raj <raj.khem@gmail.com>2023-02-01 09:28:47 -0800
commit01cc91abb68ff520c7f0de0b67a7deb78c6f14bf (patch)
treec2d28a0bbfcf8e227b6f8eb7e0c3eb233c6980c0
parent7b0e71e00ce1b003c96ef38ead72a9e02555afbe (diff)
downloadmeta-openembedded-contrib-01cc91abb68ff520c7f0de0b67a7deb78c6f14bf.tar.gz
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. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/extract-cert/extract-cert_0.3.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/extract-cert/extract-cert_0.3.bb b/meta-oe/recipes-devtools/extract-cert/extract-cert_0.3.bb
new file mode 100644
index 0000000000..a4cd7ad157
--- /dev/null
+++ b/meta-oe/recipes-devtools/extract-cert/extract-cert_0.3.bb
@@ -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"