Skip to content

openssh: make libfido2 dependency conditional on sk-helper#29579

Open
micpf wants to merge 1 commit into
openwrt:masterfrom
micpf:fix/openssh-sk-helper-optional-libfido2
Open

openssh: make libfido2 dependency conditional on sk-helper#29579
micpf wants to merge 1 commit into
openwrt:masterfrom
micpf:fix/openssh-sk-helper-optional-libfido2

Conversation

@micpf
Copy link
Copy Markdown
Contributor

@micpf micpf commented May 29, 2026

The openssh-sk-helper package unconditionally depends on libfido2, which causes the build system to pull in libfido2 and its dependencies (libcbor, libudev) even when openssh-sk-helper is not selected.

Use the PACKAGE_openssh-sk-helper:libfido2 conditional dependency pattern so libfido2 is only required when the sk-helper sub-package is actually selected.

The openssh-sk-helper package unconditionally depends on libfido2,
which causes the build system to pull in libfido2 and its dependencies
(libcbor, libudev) even when openssh-sk-helper is not selected.

Use the PACKAGE_openssh-sk-helper:libfido2 conditional dependency
pattern so libfido2 is only required when the sk-helper sub-package
is actually selected.

Signed-off-by: Michael Pfeifroth <michael.pfeifroth@westermo.com>
@micpf micpf force-pushed the fix/openssh-sk-helper-optional-libfido2 branch from 8202714 to 1c09355 Compare May 29, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant