Skip to contentSkip to conversation

extract-cert: add recipe

PATCH Superseded Jan Luebbe 2 participants 2 messages Jan 31, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jan Luebbe

author
#0 lore raw

PATCH 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.

---
 .../extract-cert/extract-cert_git.bb             | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/extract-cert/extract-cert_git.bb
meta-oe/recipes-devtools/extract-cert/extract-cert_git.bb new file +16 -0
new file mode 100644
index 000000000000..b2007eb8214f
@@ -0,0 +1,16 @@
+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"
+
+PV = "0.3"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.30.2
#1 lore raw
Quoted 19 lines · Jan Luebbe

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.

---
 .../extract-cert/extract-cert_git.bb             | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/extract-cert/extract-cert_git.bb
meta-oe/recipes-devtools/extract-cert/extract-cert_git.bb new file +0 -0
new file mode 100644
index 000000000000..b2007eb8214f

meta-oe/recipes-devtools/extract-cert/extract-cert_git.bb line 10

Quoted 10 lines
meta-oe/recipes-devtools/extract-cert/extract-cert_git.bb new file +10 -0
@@ -0,0 +1,16 @@
+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"
+
+PV = "0.3"

Rename the recipe to extract-cert_0.3.bb and remove the PV setting here.

Quoted 18 lines
meta-oe/recipes-devtools/extract-cert/extract-cert_git.bb new file +6 -1
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
+
+BBCLASSEXTEND = "native nativesdk"
--

2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#100875): https://lists.openembedded.org/g/openembedded-devel/message/100875
Mute This Topic: https://lists.openembedded.org/mt/96649870/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-