Package Details: libfido2-full 1.14.0-1

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: 1
Popularity: 0.028373
First Submitted: 2022-08-05 07:48 (UTC)
Last Updated: 2024-05-08 01:09 (UTC)

Required by (63)

Sources (2)

Latest Comments

Brummbaer commented on 2024-02-20 11:32 (UTC)

Thank you for the explanation.

BryanJacobs commented on 2024-02-20 10:28 (UTC)

libfido2.so links to libcbor.so, and it'll use whichever version is in your filesystem.

If there's an upgrade to libcbor you need to remove the package you build from this package and rebuild it. Then it'll link to the new libcbor in your filesystem and depend on that version instead.

Removing the dependency from the pkgbuild file just means that now the package has an undeclared dependency and will fail at run time when libcbor gets upgraded.

Brummbaer commented on 2024-02-20 10:22 (UTC)

looks like it depends on a fixed version of libcbor.

:: installing libcbor (0.11.0-1) breaks dependency 'libcbor.so=0.10-64' required by libfido2-full

It works if I remove "libcbor.so" from the depends in the MAKEPKG.

depends=('glibc' 'openssl' 'libcbor' 'libcbor.so' 'hidapi' 'systemd-libs'  'libudev.so' 'zlib' 'pcsclite')

Why is there a dependency on "libcbor.so" in there?

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.