Package Details: libfido2-full 1.12.0-0

Git Clone URL: https://aur.archlinux.org/libfido2-full.git (read-only, click to copy)
Package Base: libfido2-full
Description: Library functionality for FIDO 2.0, with support for USB, NFC, and PCSC devices
Upstream URL: https://developers.yubico.com/libfido2/
Licenses: BSD
Conflicts: libfido2
Provides: libfido2, libfido2.so
Submitter: BryanJacobs
Maintainer: BryanJacobs
Last Packager: BryanJacobs
Votes: 0
Popularity: 0.000000
First Submitted: 2022-08-05 07:48 (UTC)
Last Updated: 2023-01-11 09:41 (UTC)

Required by (39)

Sources (2)

Latest Comments

BryanJacobs commented on 2023-01-11 09:42 (UTC)

You're right. libfido2 doesn't use libnfc to provide NFC support.

I've removed the extraneous dependency and updated the package to the latest.

mk-fg commented on 2022-12-29 03:26 (UTC) (edited on 2022-12-29 03:27 (UTC) by mk-fg)

libnfc seem to be an unused dependency here - libfido2 supports two interfaces for NFC readers:

  • Linux kernel's netlink + AF_NFC (NFC_LINUX) - enabled in base Arch package, doesn't need any extra dependencies.
  • PC/SC interface (USE_PCSC) - enabled here, used with pcscd and connecting to its socket in /run, needs pcsclite dependency.

pcsclite will likely also need reader/card-specific drivers installed into /usr/lib/pcsc/drivers/ (e.g. ccid, acsccid).

But libnfc is not one of those, it's an alternative API and set of tools to pcsc/pcscd, which afaict libfido2 does not use in any way, at least as of current 1.12.0.

(libnfc itself can also use pcsc driver to talk to things that it doesn't support directly, so there is a kind of reverse relation to that, not really relevant here)

So pretty sure libnfc dependency should be dropped from this PKGBUILD.