Re: git: 7b1e19ad78c6 - main - Add libfido2 to the build

From: Ed Maste <emaste_at_freebsd.org>
Date: Tue, 26 Oct 2021 21:04:44 UTC
On Tue, 26 Oct 2021 at 16:54, Peter Jeremy <peter@rulingia.com> wrote:
>
> This triggered build failures on two of my hosts:
>
> The first problem is that libfido2 is always built but has hard
> dependencies on <dev/usb/usb_ioctl.h> and <dev/usb/usbhid.h>.  The latter
> two headers are optionally installed based on "WITHOUT_USB".  I worked
> around it by removing WITHOUT_USB but I'm not sure of the best general
> solution here - making libfido2 optional would make the SSH integration
> more complex.

Thanks for the report. I think we can always build ssh-sk-helper, but
have it use internal support only when MK_USB is true. This should
simplify the integration.