Skip to contentSkip to conversation

libfido2: new recipe

PATCH Applied Dan McGregor 2 participants 2 messages Apr 5, 2024 – Apr 7, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libfido2: new recipe

From: Dan McGregor <[email protected]>

libfido2 adds support for FIDO2 authenticators. It's required for OpenSSH to support FIDO backed keys, which I intend to add optional support for in oe-core.

---
 .../libfido2/libfido2_1.14.0.bb               | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-oe/recipes-support/libfido2/libfido2_1.14.0.bb
meta-oe/recipes-support/libfido2/libfido2_1.14.0.bb new file +25 -0
new file mode 100644
index 00000000000..08d3f4e84df
@@ -0,0 +1,25 @@
+SUMMARY = "FIDO 2.0 support library"
+DESCRIPTION = "libfido2 provides library functionality and command-line tools to \
+communicate with a FIDO device over USB, and to verify attestation and \
+assertion signatures."
+HOMEPAGE = "https://developers.yubico.com/libfido2"
+LICENSE = "BSD-2-Clause"
+SECTION = "libs/network"
+DEPENDS = "libcbor openssl zlib udev"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5f14cb32bdf2b87063e0a2d20c4178d0"
+
+SRC_URI = "https://developers.yubico.com/${BPN}/Releases/${BPN}-${PV}.tar.gz"
+SRC_URI[sha256sum] = "3601792e320032d428002c4cce8499a4c7b803319051a25a0c9f1f138ffee45a"
+
+inherit cmake pkgconfig manpages
+
+PACKAGECONFIG[manpages] = "-DBUILD_MANPAGES:BOOL=ON,-DBUILD_MANPAGES:BOOL=OFF"
+
+EXTRA_OECMAKE = "-DUDEV_RULES_DIR=${nonarch_base_libdir}/udev/rules.d -DBUILD_EXAMPLES:BOOL=OFF"
+
+PACKAGE_BEFORE_PN = "${PN}-tools"
+
+FILES:${PN}-tools = "${bindir}/fido2-*"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.41.0
Applied
#1 lore raw
Quoted 5 lines · Dan McGregor

libfido2 adds support for FIDO2 authenticators. It's required for OpenSSH to support FIDO backed keys, which I intend to add optional support for in oe-core.

Applied, thanks!

[1/1] libfido2: new recipe

      commit: 96c7e7d6834a62d215caaa9fa2ac531aca7649a3

Best regards,

Signature · 1 line
Khem Raj <[email protected]>