Skip to contentSkip to conversation

openssh: add fido2 support

PATCH In review Dan McGregor 2 participants 4 messages Apr 5, 2024 – Apr 8, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssh: add fido2 support

From: Dan McGregor <[email protected]>

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 edd8e8c2d18..d941664b417 100644
@@ -58,6 +58,7 @@ DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)
 # systemd-sshd-socket-mode means installing sshd.socket
 # and systemd-sshd-service-mode corresponding to sshd.service
 PACKAGECONFIG ??= "systemd-sshd-socket-mode"
+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
#1 lore raw
Quoted 11 lines · Dan McGregor

From: Dan McGregor <[email protected]>

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(+)

Which branch is this against?

Cheers,

Richard

#2 lore raw
Quoted 9 lines · Richard Purdie
Quoted 7 lines · Dan McGregor

From: Dan McGregor <[email protected]>

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.

Quoted 6 lines
Quoted 4 lines
---
 meta/recipes-connectivity/openssh/openssh_9.6p1.bb | 1 +
 1 file changed, 1 insertion(+)

Which branch is this against?

The intent is master/scarthgap. The change mentioned is now in meta-openembedded master.

Quoted 4 lines

Cheers,

Richard

#3 lore raw
Quoted 16 lines · Dan McGregor
Quoted 14 lines · Richard Purdie
Quoted 11 lines · Dan McGregor

From: Dan McGregor <[email protected]>

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(+)
Quoted 4 lines
Quoted 1 line

Which branch is this against?

The intent is master/scarthgap. The change mentioned is now in meta-openembedded master.

Right, but scarthgap/master have:

meta/recipes-connectivity/openssh/openssh_9.7p1.bb

so this doesn't apply.

I then have to wonder what it was tested against. At this point in the release cycle that is a significant worry.

Cheers,

Richard