macOS
brew install libfido2local Homebrew formula metadata
sudo port install libfido2MacPorts ports tree · security/libfido2/Portfile · source: api.github.com
brew
Provides library functionality for FIDO U2F & FIDO 2.0, including USB. Version 1.17.0 via Homebrew; verified 2026-04-15.
install
brew install libfido2local Homebrew formula metadata
sudo port install libfido2MacPorts ports tree · security/libfido2/Portfile · source: api.github.com
sudo apk add fido2Alpine Linux edge package indexes · fido2 · source: dl-cdn.alpinelinux.org
sudo apt install fido2-toolsDebian stable package indexes · fido2-tools · source: deb.debian.org
sudo dnf install fido2-toolsFedora Rawhide package metadata · fido2-tools · source: dl.fedoraproject.org
nix profile install nixpkgs#libfido2nixpkgs package indexes · pkgs/by-name/li/libfido2/package.nix · source: api.github.com
sudo pacman -S libfido2Arch Linux sync databases · libfido2 · source: geo.mirror.pkgbuild.com
sudo zypper install libfido2-1openSUSE Tumbleweed package metadata · libfido2-1 · source: download.opensuse.org
overview
Provides library functionality for FIDO U2F & FIDO 2.0, including USB
history
libfido2 is Yubico's BSD-licensed C library and command-line tool set for communicating with FIDO devices over USB or NFC and verifying attestation and assertion signatures. It supports FIDO U2F as CTAP1 and FIDO2 as CTAP2.
Yubico's NEWS file lists libfido2 0.1.0 on May 18, 2018 as the first beta release. The project reached 1.0.0 on March 21, 2019 with native HID support on Linux, macOS, and Windows, command options for U2F on dual authenticators, resident-key handling, CTAP2 CBOR checks, fuzzing harnesses, and documentation fixes.
Later releases followed the FIDO standards curve: hmac-secret support in 2018, credential management and richer option APIs in 2019, U2F fallback and credProtect in 2020, NFC support on Linux and FIDO 2.1 work in 2021, and CTAP 2.3 support in 2026.
The README documents package installs for Fedora, Ubuntu, Homebrew on macOS, and Windows release artifacts. Its command-line tools, fido2-cred, fido2-assert, and fido2-token, made low-level authenticator operations packageable outside browser stacks.
Developers link libfido2 when they need direct authenticator communication, attestation verification, assertion verification, or tooling around security keys. System users also install fido2-tools to inspect tokens and exercise credentials from the shell.
libfido2 is package-nerd significant because it brings passkey/security-key plumbing into the Unix packaging world as a normal C library, CLI suite, udev-rule companion, and dependency for higher-level authentication integrations.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
fido2-assert | cli | global executable | |
fido2-cred | cli | global executable | |
fido2-token | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/Yubico/libfido2
install metadata
| Package key | brew:libfido2 |
|---|---|
| Version | 1.17.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libfido2 |
| Homepage | https://developers.yubico.com/libfido2/ |
| Repository | https://github.com/Yubico/libfido2 |
| Upstream docs | https://developers.yubico.com/libfido2 |
| License | BSD-2-Clause |
| Source archive | https://github.com/Yubico/libfido2/archive/refs/tags/1.17.0.tar.gz |
| Last updated | 2026-04-15T16:21:25Z |
| Pulse | updated |
| Dependencies | libcbor, openssl@3 |
| Build dependencies | cmake, mandoc, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libfido2 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
fido2-tools 1.15.0-1+b1
command-line tools to configure and use a FIDO 2 token
https://developers.yubico.com/libfido2/
sudo apt install fido2-toolslibfido2-1 1.15.0-1+b1
library for generating and verifying FIDO 2.0 objects
https://developers.yubico.com/libfido2/
sudo apt install libfido2-1libfido2-dev 1.15.0-1+b1
library for generating and verifying FIDO 2.0 objects -- headers
https://developers.yubico.com/libfido2/
sudo apt install libfido2-devlibfido2-doc 1.15.0-1
library for generating and verifying FIDO 2.0 objects -- documentation
https://developers.yubico.com/libfido2/
sudo apt install libfido2-doclibfido2
nix profile install nixpkgs#libfido2fido2-tools 1.14.0-1build3
command-line tools to configure and use a FIDO 2 token
https://developers.yubico.com/libfido2/
sudo apt install fido2-toolslibfido2-1 1.14.0-1build3
library for generating and verifying FIDO 2.0 objects
https://developers.yubico.com/libfido2/
sudo apt install libfido2-1libfido2-dev 1.14.0-1build3
library for generating and verifying FIDO 2.0 objects -- headers
https://developers.yubico.com/libfido2/
sudo apt install libfido2-devlibfido2-doc 1.14.0-1build3
library for generating and verifying FIDO 2.0 objects -- documentation
https://developers.yubico.com/libfido2/
sudo apt install libfido2-docfido2 1.16.0-r4
commandline utilities for FIDO 2.0
https://github.com/Yubico/libfido2
sudo apk add fido2libfido2 1.16.0-r4
library for FIDO 2.0 functionality
https://github.com/Yubico/libfido2
sudo apk add libfido2libfido2-dev 1.16.0-r4
library for FIDO 2.0 functionality (development files)
https://github.com/Yubico/libfido2
sudo apk add libfido2-devlibfido2-doc 1.16.0-r4
library for FIDO 2.0 functionality (documentation)
https://github.com/Yubico/libfido2
sudo apk add libfido2-doclibfido2-udev 1.16.0-r4
library for FIDO 2.0 functionality (udev rules)
https://github.com/Yubico/libfido2
sudo apk add libfido2-udevfido2-tools 1.17.0-2.fc45
FIDO2 tools
https://github.com/Yubico/libfido2
sudo dnf install fido2-toolslibfido2 1.17.0-2.fc45
FIDO2 library
https://github.com/Yubico/libfido2
sudo dnf install libfido2source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.