# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt 安装 libu2f-server

查看 libu2f-server 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:libu2f-server
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libu2f-server
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libu2f-server
```

  证据: MacPorts ports tree: security/libu2f-server/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libu2f-server
```

  证据: Alpine Linux edge package indexes: libu2f-server from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install libu2f-server
```

  证据: Fedora Rawhide package metadata: libu2f-server from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libu2f-server
```

  证据: nixpkgs package indexes: pkgs/by-name/li/libu2f-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libu2f-server
```

  证据: Arch Linux sync databases: libu2f-server from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libu2f-server-dev
```

  证据: Debian stable package indexes: libu2f-server-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:libu2f-server
- **软件包管理器:** Homebrew
- **版本:** 1.1.0
- **来源摘要:** Server-side of the Universal 2nd Factor (U2F) protocol
- **主页:** <https://developers.yubico.com/libu2f-server/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- u2f-server (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.1.0
## 项目历史与用法

libu2f-server is Yubico's C implementation of the server-side Universal 2nd Factor protocol, providing APIs and a small command-line tool for U2F registration and authentication flows.

### 项目历史

Yubico built libu2f-server for relying-party applications that needed to generate U2F registration and authentication JSON challenges and verify the cryptographic responses from U2F devices. Its README pairs it with libu2f-host, the host-side library and tool for talking to U2F authenticators.

The project followed semantic versioning and shipped a u2f-server debugging/testing utility. Its README also documented an important attestation-certificate limitation: the library did not validate the full X.509 attestation chain at registration time.

### 采用历史

The library belongs to the first wave of open-source U2F building blocks around the FIDO U2F 1.0 and 1.2 specifications. It was useful when web services and system integrators were adding hardware second-factor support before WebAuthn and FIDO2 became the dominant developer-facing APIs.

Yubico later moved the U2F libraries into maintenance and end-of-life status. Yubico's EOL page lists libu2f-server with a March 16, 2020 announcement date, March 16, 2021 end-of-life date, and libfido2 as the recommended alternative.

### 使用方式

Applications used the library to create registration and authentication challenges and verify responses. Operators and developers could use the u2f-server command with key-handle and public-key files to test registration and authentication flows together with libu2f-host.

### 为什么软件包爱好者会关心

libu2f-server is a neat package-history marker for the transition from U2F-specific libraries to FIDO2/WebAuthn stacks. It also shows the older split between host-side and server-side U2F packages that many distributions carried before libfido2 consolidated U2F and FIDO2 support.

### 时间线

- 2014: FIDO U2F 1.0 Proposed Standard defined the protocol family libu2f-server implemented.
- 2017: FIDO U2F 1.2 Proposed Standard refined the U2F specifications.
- 2020: Yubico announced end-of-life status for libu2f-server on March 16, 2020.
- 2021: Yubico's listed end-of-life date for libu2f-server was March 16, 2021.
- 2026: The GitHub repository was archived on June 3, 2026.

### Related projects

- libu2f-host is the matching host-side Yubico U2F library.
- libfido2 is Yubico's recommended successor with U2F and FIDO2 support.
- FIDO2 and WebAuthn are the broader successor standards that subsumed most U2F developer workflows.

### 来源

- <https://developers.yubico.com/libu2f-server/>
- <https://fidoalliance.org/specs/fido-u2f-v1.0-ps-20141009/fido-u2f-overview-ps-20141009.html>
- <https://github.com/Yubico/libu2f-server>
- <https://www.yubico.com/support/terms-conditions/yubico-end-of-life-policy/eol-products/>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- Debian apt - libu2f-server-dev - 1.1.0-4+b2: normalized package name match | Debian stable package indexes: libu2f-server-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for the U2F server C library libu2f-server | https://developers.yubico.com/libu2f-server/
- Debian apt - libu2f-server0 - 1.1.0-4+b2: normalized package name match | Debian stable package indexes: libu2f-server0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Universal 2nd Factor (U2F) server communication C Library | https://developers.yubico.com/libu2f-server/
- Debian apt - u2f-server - 1.1.0-4+b2: normalized package name match | Debian stable package indexes: u2f-server from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command line tool to do Universal 2nd Factor (U2F) operations | https://developers.yubico.com/libu2f-server/
- Nix - libu2f-server: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libu2f-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libu2f-server-dev - 1.1.0-4build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libu2f-server-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for the U2F server C library libu2f-server | https://developers.yubico.com/libu2f-server/
- Ubuntu apt - libu2f-server0 - 1.1.0-4build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libu2f-server0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Universal 2nd Factor (U2F) server communication C Library | https://developers.yubico.com/libu2f-server/
- Ubuntu apt - u2f-server - 1.1.0-4build3: normalized package name match | Ubuntu 24.04 LTS package indexes: u2f-server from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command line tool to do Universal 2nd Factor (U2F) operations | https://developers.yubico.com/libu2f-server/
- apk - libu2f-server - 1.1.0-r6: normalized package name match | Alpine Linux edge package indexes: libu2f-server from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Yubico Universal 2nd Factor (U2F) Server C Library | https://developers.yubico.com/libu2f-server/
- apk - libu2f-server-dev - 1.1.0-r6: normalized package name match | Alpine Linux edge package indexes: libu2f-server-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Yubico Universal 2nd Factor (U2F) Server C Library (development files) | https://developers.yubico.com/libu2f-server/
- apk - libu2f-server-doc - 1.1.0-r6: normalized package name match | Alpine Linux edge package indexes: libu2f-server-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Yubico Universal 2nd Factor (U2F) Server C Library (documentation) | https://developers.yubico.com/libu2f-server/
- dnf - libu2f-server - 1.0.1-36.fc45: normalized package name match | Fedora Rawhide package metadata: libu2f-server from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Yubico Universal 2nd Factor (U2F) Server C Library | https://developers.yubico.com/libu2f-server
- dnf - libu2f-server-devel - 1.0.1-36.fc45: normalized package name match | Fedora Rawhide package metadata: libu2f-server-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libu2f-server | https://developers.yubico.com/libu2f-server
- dnf - u2f-server - 1.0.1-36.fc45: normalized package name match | Fedora Rawhide package metadata: u2f-server from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Server-side command-line tool for U2F devices | https://developers.yubico.com/libu2f-server
- pacman - libu2f-server - 1.1.0-7: normalized package name match | Arch Linux sync databases: libu2f-server from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Yubico Universal 2nd Factor (U2F) Server C Library | https://github.com/Yubico/libu2f-server
- MacPorts - libu2f-server: normalized package name match | MacPorts ports tree: security/libu2f-server/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/libu2f-server.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libu2f-server.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
