Attaching the patch referenced in the original report. It makes two changes against debian/sid HEAD (56ac1a33ba8953bec4fcc10243c6fb2d8b288c8d):
* debian/control: add libpcsclite-dev to Build-Depends * debian/rules: pass -DUSE_PCSC=ON to dh_auto_configure Tested locally: libfido2 built with -DUSE_PCSC=ON drives a YubiKey 5 over an ACS ACR1252 contactless reader, and pam_u2f authenticates sudo over that transport with an existing USB-registered credential, unmodified.
diff --git a/debian/control b/debian/control index ede0529..c3a3772 100644 --- a/debian/control +++ b/debian/control @@ -10,6 +10,7 @@ Build-Depends: cmake (>= 3.14), debhelper-compat (= 13), libcbor-dev, + libpcsclite-dev, libssl-dev, libudev-dev, mandoc, diff --git a/debian/rules b/debian/rules index b6d5fec..ee084e0 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all override_dh_auto_configure: dh_auto_configure -- -DUDEV_RULES_DIR=/lib/udev/rules.d \ - -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON + -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \ + -DUSE_PCSC=ON override_dh_makeshlibs: dh_makeshlibs -- -c4

