Description:
Command-line tool for the YubiKey PIV application
|
|
Type: Formula
|
Tracked Since: Dec 28, 2025
|
|
Links:
Homepage |
@Yubico |
formulae.brew.sh
|
|
Category: Security
|
|
Tags:
yubikey
piv
security
smart-card
authentication
cryptography
|
|
Install:
brew install yubico-piv-tool
|
About:
Yubico PIV Tool is a command-line utility for interacting with the Personal Identity Verification (PIV) application on YubiKeys. It enables users to manage keys and certificates, perform digital signatures, and encrypt or decrypt data. The tool is essential for developers and security professionals configuring hardware-backed authentication and secure communication channels.
|
Key Features:
- Manage private keys and X.509 certificates on the YubiKey
- Perform PIN/PUK management and device reset operations
- Support for RSA and ECC key generation and operations
- Import/export and generate self-signed certificates
- Interactive and scriptable command-line interface
|
Use Cases:
- Configuring a YubiKey for use as a smart card for user authentication
- Generating and storing certificate signing requests (CSRs) on hardware
- Setting up a YubiKey for SSH authentication using PIV certificates
- Managing enterprise smart card deployments and certificate lifecycle
|
Alternatives:
-
ykman
– The YubiKey Manager (ykman) is a more modern, Python-based tool that also supports FIDO2 and OTP applications, whereas yubico-piv-tool is focused specifically on the PIV applet.
-
OpenSC
– OpenSC provides a broader suite of smart card utilities and libraries, while yubico-piv-tool is a dedicated, streamlined utility for YubiKey's PIV functionality.
|
| Detected |
Version |
Rev |
Change |
Commit |
| Sep 15, 2025 11:17am |
|
0 |
VERSION_BUMP |
27d45076 |
| Dec 19, 2024 11:49am |
|
0 |
VERSION_BUMP |
7495e2e4 |
| Dec 19, 2024 11:15am |
|
0 |
VERSION_BUMP |
7354c64c |
| Nov 13, 2024 10:49am |
|
0 |
VERSION_BUMP |
e1ef586e |
| Sep 12, 2024 5:11pm |
|
0 |
VERSION_BUMP |
e4fe2e0b |
| Sep 12, 2024 4:10pm |
|
0 |
VERSION_BUMP |
f39c8f82 |
| Sep 10, 2024 9:25pm |
|
0 |
VERSION_BUMP |
46c3fc53 |
| Aug 21, 2024 3:54pm |
|
0 |
VERSION_BUMP |
b9e24e13 |
| May 17, 2024 5:18pm |
|
0 |
VERSION_BUMP |
8a2774dd |
| May 7, 2024 9:47am |
|
0 |
VERSION_BUMP |
5319aeb3 |
| Feb 14, 2024 9:17am |
|
0 |
VERSION_BUMP |
ac8f0f38 |
| Jan 31, 2024 8:37pm |
|
0 |
VERSION_BUMP |
faf9173a |
|