Skip to contentSkip to conversation

openssh: add fido2 support

PATCH Superseded Dan McGregor 1 participant 1 message Apr 11, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssh: add fido2 support

OpenSSH supports FIDO security keys in both the client and server. Add an option to support them in oe. This change requires a new recipe that I've submitted to meta-openembedded that has not merged yet.

---
 meta/recipes-connectivity/openssh/openssh_9.6p1.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-connectivity/openssh/openssh_9.6p1.bb +1 -0
index 78d1ca81626..6f016b471b4 100644
@@ -59,6 +59,7 @@ DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)
 # and systemd-sshd-service-mode corresponding to sshd.service
 PACKAGECONFIG ??= "systemd-sshd-socket-mode \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'krb5', 'kerberos', '', d)}"
+PACKAGECONFIG[fido2] = "--with-security-key-builtin,--disable-security-key,libfido2"
 PACKAGECONFIG[kerberos] = "--with-kerberos5,--without-kerberos5,krb5"
 PACKAGECONFIG[ldns] = "--with-ldns,--without-ldns,ldns"
 PACKAGECONFIG[libedit] = "--with-libedit,--without-libedit,libedit"
Signature · 1 line
2.41.0