macOS
brew install pam-u2flocal Homebrew formula metadata
sudo port install pam-u2fMacPorts ports tree · security/pam-u2f/Portfile · 来源: api.github.com
安装
brew install pam-u2flocal Homebrew formula metadata
sudo port install pam-u2fMacPorts ports tree · security/pam-u2f/Portfile · 来源: api.github.com
sudo apk add pam-u2fAlpine Linux edge package indexes · pam-u2f · 来源: dl-cdn.alpinelinux.org
sudo dnf install pam-u2fFedora Rawhide package metadata · pam-u2f · 来源: dl.fedoraproject.org
sudo pacman -S pam-u2fArch Linux sync databases · pam-u2f · 来源: geo.mirror.pkgbuild.com
sudo apt install libpam-u2fDebian stable package indexes · libpam-u2f · 来源: deb.debian.org
nix profile install nixpkgs#pam_u2fnixpkgs package indexes · pkgs/by-name/pa/pam_u2f/package.nix · 来源: api.github.com
sudo zypper install pam_u2fopenSUSE Tumbleweed package metadata · pam_u2f · 来源: download.opensuse.org
概览
Provides an easy way to use U2F-compliant authenticators with PAM
历史
pam-u2f is Yubico's PAM module for authenticating Unix users with YubiKeys and other U2F- or FIDO2-compliant authenticators.
Yubico released the initial pam-u2f version in December 2014. Version 1.0.0 followed in June 2015 with XDG-based per-user mappings plus manual and interactive modes.
Version 1.1.0 migrated the implementation from the older U2F libraries to libfido2 in September 2020, adding FIDO2 capabilities including user verification, PIN verification, resident credentials, and SSH credential format.
Version 1.4.0 in March 2025 introduced the default /etc/security/pam_u2f.conf module configuration file and began a build-system transition from Autotools to CMake.
Yubico documents packages for Ubuntu, Fedora, and macOS/Homebrew, while the input metadata additionally records packages for Alpine, Debian, MacPorts, Nix, Arch, Ubuntu, and openSUSE.
The module originally targeted U2F authenticators and broadened into FIDO2, PIN, user-verification, resident-credential, and OpenSSH security-key workflows.
Administrators add pam_u2f.so to the relevant files under /etc/pam.d, typically as a required second factor after primary authentication or as a sufficient module for passwordless PIN or biometric authentication.
Users enroll a connected authenticator with pamu2fcfg and store its mapping in the per-user XDG location, while administrators can instead maintain a central mapping such as /etc/u2f_mappings.
pam-u2f connects hardware-backed FIDO authentication to the traditional Unix PAM stack. It is attractive to system integrators because it supports both per-user and centrally administered mappings and can provide either a second factor or passwordless authentication.
Its authentication-critical placement makes packaging and upgrades unusually sensitive: incorrect PAM configuration can cause lockouts, and its release history includes security hardening and fixes for authentication bypass or unsafe debug handling.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/pam.d/*path supplied with pam_u2f.so conf=path/to/pam_u2f.confCredential-bearing paths to review before unattended agent runs.
$XDG_CONFIG_HOME/Yubico/u2f_keys~/.config/Yubico/u2f_keys/etc/u2f_mappings可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
pamu2fcfg | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://developers.yubico.com/pam-u2f/
安装元数据
| 软件包键 | brew:pam-u2f |
|---|---|
| 版本 | 1.4.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/pam-u2f |
| 主页 | https://developers.yubico.com/pam-u2f/ |
| 仓库 | https://github.com/Yubico/pam-u2f |
| 上游文档 | https://developers.yubico.com/pam-u2f/ |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://developers.yubico.com/pam-u2f/Releases/pam_u2f-1.4.0.tar.gz |
| 最后更新 | 2026-09-11T18:19:01Z |
| Pulse | updated |
| 依赖 | libfido2, openssl@3 |
| 构建依赖 | asciidoc, autoconf, automake, libtool, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | To use a U2F key for PAM authentication, specify the full path to the module ($HOMEBREW_PREFIX/opt/pam-u2f/lib/pam/pam_u2f.so) in a PAM configuration. You can find all PAM configurations in /etc/pam.d. For further installation instructions, please visit https://developers.yubico.com/pam-u2f/#installation. |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pam-u2f |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libpam-u2f 1.4.0-1
universal 2nd factor (U2F) PAM module
https://developers.yubico.com/pam-u2f/
sudo apt install libpam-u2fpamu2fcfg 1.4.0-1
universal 2nd factor (U2F) PAM module command-line helper tool
https://developers.yubico.com/pam-u2f/
sudo apt install pamu2fcfgpam_u2f
nix profile install nixpkgs#pam_u2flibpam-u2f 1.1.0-1.1build3
universal 2nd factor (U2F) PAM module
https://developers.yubico.com/pam-u2f/
sudo apt install libpam-u2fpamu2fcfg 1.1.0-1.1build3
universal 2nd factor (U2F) PAM module command-line helper tool
https://developers.yubico.com/pam-u2f/
sudo apt install pamu2fcfgpam-u2f 1.4.0-r0
Pluggable Authentication Module (PAM) for U2F
https://developers.yubico.com/pam-u2f/
sudo apk add pam-u2fpam-u2f-doc 1.4.0-r0
Pluggable Authentication Module (PAM) for U2F (documentation)
https://developers.yubico.com/pam-u2f/
sudo apk add pam-u2f-docpam-u2f 1.4.0-7.fc45
Implements PAM authentication over U2F
https://github.com/Yubico/pam-u2f
sudo dnf install pam-u2fpamu2fcfg 1.4.0-7.fc45
Configures PAM authentication over U2F
https://github.com/Yubico/pam-u2f
sudo dnf install pamu2fcfgpam-u2f 1.4.0-2
Universal 2nd Factor (U2F) PAM authentication module from Yubico
https://developers.yubico.com/pam-u2f
sudo pacman -S pam-u2fpam_u2f 1.4.0-1.5
U2F authentication integration into PAM
sudo zypper install pam_u2fpam-u2f
sudo port install pam-u2f来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.