macOS
brew install yubico-piv-toollocal Homebrew formula metadata
sudo port install yubico-piv-toolMacPorts ports tree · security/yubico-piv-tool/Portfile · 来源: api.github.com
安装
brew install yubico-piv-toollocal Homebrew formula metadata
sudo port install yubico-piv-toolMacPorts ports tree · security/yubico-piv-tool/Portfile · 来源: api.github.com
sudo apk add yubico-piv-toolAlpine Linux edge package indexes · yubico-piv-tool · 来源: dl-cdn.alpinelinux.org
sudo apt install yubico-piv-toolDebian stable package indexes · yubico-piv-tool · 来源: deb.debian.org
sudo dnf install yubico-piv-toolFedora Rawhide package metadata · yubico-piv-tool · 来源: dl.fedoraproject.org
nix profile install nixpkgs#yubico-piv-toolnixpkgs package indexes · pkgs/by-name/yu/yubico-piv-tool/package.nix · 来源: api.github.com
sudo pacman -S yubico-piv-toolArch Linux sync databases · yubico-piv-tool · 来源: geo.mirror.pkgbuild.com
sudo zypper install yubico-piv-toolopenSUSE Tumbleweed package metadata · yubico-piv-tool · 来源: download.opensuse.org
scoop install main/yubico-piv-toolScoop official bucket manifest trees · bucket/yubico-piv-tool.json · 来源: api.github.com
winget install --id Yubico.PIVTool -eWindows Package Manager source index · Yubico.PIVTool · 来源: cdn.winget.microsoft.com
概览
Command-line tool for the YubiKey PIV application
历史
Yubico PIV Tool is the command-line, library, and PKCS#11 toolchain for the YubiKey PIV application, packaged because it turns hardware-backed smart-card identity into scriptable Unix tooling.
Yubico’s PIV tooling grew from the YubiKey NEO/YubiKey 4 era when YubiKeys exposed a Personal Identity Verification smart-card interface compatible with NIST SP 800-73 concepts. The developer documentation describes PIV as enabling RSA or ECC signing and decryption with private keys stored on the smart card, exposed through interfaces such as PKCS#11.
The project bundles several layers: the `yubico-piv-tool` command, the libykpiv library, and the YKCS11 PKCS#11 module. That combination made it useful both for direct provisioning tasks and for applications that already know how to talk PKCS#11.
Over time, release notes show the project tracking newer YubiKey capabilities and platform integration needs: improved YKCS11 behavior, Windows/minidriver integration, firmware 5.7-era RSA3072/RSA4096, ED25519 and X25519 support, key deletion and movement, and expanded error handling.
Adoption followed enterprise and developer uses of YubiKeys as smart-card-like credentials: client certificates, SSH through PKCS#11, code signing, certificate requests, and hardware-backed private-key operations. Distribution packages often split the command-line tool, development library, and PKCS#11 module, reflecting its use both by humans and by other applications.
Yubico’s own guides for SSH with PIV and PKCS#11 helped make the package a standard dependency in hardware-backed SSH setups before OpenSSH’s newer FIDO2 key types became widespread. Even with FIDO2 available, PIV remains relevant where certificate, PKCS#11, or smart-card interoperability is required.
Users use `yubico-piv-tool` to generate keys on a YubiKey, import keys or certificates, create certificate signing requests, read and write PIV objects, inspect status, verify PINs, and test signatures. Applications can use YKCS11 when they need a PKCS#11 provider for the YubiKey PIV applet.
For package users, the practical pattern is often: install the tool, initialize or inspect the PIV applet, provision slots such as 9a for authentication, and point OpenSSH, OpenSSL, Firefox, Java keytool, or another PKCS#11-aware consumer at the YKCS11 module.
This package is a bridge between hardware security tokens and the Unix package ecosystem. It is small on the surface, but it explains why smart-card support pulls in PC/SC, PKCS#11, OpenSSL, and vendor-specific libraries in real deployments.
It also documents the hardware reality ponytail code usually cannot ignore: firmware capabilities matter, slots matter, PIN/PUK/management-key state matters, and package upgrades may unlock algorithms only when the physical YubiKey supports them.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
yubico-piv-tool | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://developers.yubico.com/yubico-piv-tool/
安装元数据
| 软件包键 | brew:yubico-piv-tool |
|---|---|
| 版本 | 2.7.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/yubico-piv-tool |
| 主页 | https://developers.yubico.com/yubico-piv-tool/ |
| 仓库 | https://github.com/Yubico/yubico-piv-tool |
| 上游文档 | https://developers.yubico.com/PIV |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://developers.yubico.com/yubico-piv-tool/Releases/yubico-piv-tool-2.7.3.tar.gz |
| 最后更新 | 2026-06-25T13:38:13+02:00 |
| Pulse | updated |
| 依赖 | openssl@3 |
| 构建依赖 | check, cmake, gengetopt, help2man, pkgconf |
| macOS 提供的库 | pcsc-lite |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | yubico-piv-tool |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libykpiv-dev 2.7.1-1
Development files for the YubiKey PIV Library
https://developers.yubico.com/yubico-piv-tool/
sudo apt install libykpiv-devlibykpiv2 2.7.1-1
Library for communication with the YubiKey PIV smartcard
https://developers.yubico.com/yubico-piv-tool/
sudo apt install libykpiv2ykcs11 2.7.1-1
PKCS#11 module for the YubiKey PIV applet
https://developers.yubico.com/yubico-piv-tool/
sudo apt install ykcs11yubico-piv-tool 2.7.1-1
Command line tool for the YubiKey PIV applet
https://developers.yubico.com/yubico-piv-tool/
sudo apt install yubico-piv-toolyubico-piv-tool
nix profile install nixpkgs#yubico-piv-toollibykpiv-dev 2.2.0-1.1build2
Development files for the YubiKey PIV Library
https://developers.yubico.com/yubico-piv-tool/
sudo apt install libykpiv-devlibykpiv2 2.2.0-1.1build2
Library for communication with the YubiKey PIV smartcard
https://developers.yubico.com/yubico-piv-tool/
sudo apt install libykpiv2ykcs11 2.2.0-1.1build2
PKCS#11 module for the YubiKey PIV applet
https://developers.yubico.com/yubico-piv-tool/
sudo apt install ykcs11yubico-piv-tool 2.2.0-1.1build2
Command line tool for the YubiKey PIV applet
https://developers.yubico.com/yubico-piv-tool/
sudo apt install yubico-piv-toolyubico-piv-tool 2.7.3-r0
PIV Tools for yubikey
https://developers.yubico.com/yubico-piv-tool
sudo apk add yubico-piv-toolyubico-piv-tool-dev 2.7.3-r0
PIV Tools for yubikey (development files)
https://developers.yubico.com/yubico-piv-tool
sudo apk add yubico-piv-tool-devyubico-piv-tool-doc 2.7.3-r0
PIV Tools for yubikey (documentation)
https://developers.yubico.com/yubico-piv-tool
sudo apk add yubico-piv-tool-docyubico-piv-tool-libs 2.7.3-r0
PIV Tools for yubikey (libraries)
https://developers.yubico.com/yubico-piv-tool
sudo apk add yubico-piv-tool-libsyubico-piv-tool-static 2.7.3-r0
PIV Tools for yubikey (static library)
https://developers.yubico.com/yubico-piv-tool
sudo apk add yubico-piv-tool-staticyubico-piv-tool 2.7.3-1.fc44
Tool for interacting with the PIV applet on a YubiKey
https://developers.yubico.com/yubico-piv-tool/
sudo dnf install yubico-piv-toolyubico-piv-tool-devel 2.7.3-1.fc44
Tool for interacting with the PIV applet on a YubiKey
https://developers.yubico.com/yubico-piv-tool/
sudo dnf install yubico-piv-tool-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.