macOS
brew install age-plugin-yubikeylocal Homebrew formula metadata
sudo port install age-plugin-yubikeyMacPorts ports tree · security/age-plugin-yubikey/Portfile · source: api.github.com
brew
Plugin for encrypting files with age and PIV tokens such as YubiKeys. Version 0.5.1 via Homebrew; verified from local package data.
install
brew install age-plugin-yubikeylocal Homebrew formula metadata
sudo port install age-plugin-yubikeyMacPorts ports tree · security/age-plugin-yubikey/Portfile · source: api.github.com
nix profile install nixpkgs#age-plugin-yubikeynixpkgs package indexes · pkgs/by-name/ag/age-plugin-yubikey/package.nix · source: api.github.com
sudo pacman -S age-plugin-yubikeyArch Linux sync databases · age-plugin-yubikey · source: geo.mirror.pkgbuild.com
overview
Plugin for encrypting files with age and PIV tokens such as YubiKeys
history
age-plugin-yubikey is the YubiKey/PIV hardware-token plugin for age clients, storing key material on supported YubiKeys while giving age and rage a normal identity-file interface.
The project was created by str4d in August 2020, during the early period of the age ecosystem. Its first stable public release, v0.1.0, was published in May 2021, before age 1.0. The README presents it as a plugin for age clients such as age and rage, enabling files to be encrypted to age identities stored on YubiKeys.
The plugin matured alongside age's plugin support. age 1.1.0 was released in December 2022 with plugin and YubiKey support, while age-plugin-yubikey had already reached the 0.3.x series. Later releases continued through 0.5.x, with official packages and prebuilt binaries making it less of a from-source Rust tool and more of a normal installable CLI.
The upstream README lists Cargo, Homebrew, Arch Linux, Debian packages from releases, NixOS, Ubuntu, OpenBSD, and prebuilt binaries for Windows, Linux, and macOS. The supplied package metadata additionally records Homebrew, MacPorts, Nix, and pacman coverage. This is a wider packaging footprint than many age plugins because hardware-token support is a common operational need.
Users configure a YubiKey identity either interactively by running `age-plugin-yubikey` or programmatically with `--generate`, then save the resulting age identity text to a file. Encryption uses recipients printed by `--list`; decryption works by ensuring the plugin is on `PATH` and passing the identity file to an age client with `-i`.
The README documents platform dependencies such as `pcscd` and `pcsc-lite`, WSL usage, PIN-cache behavior, supported YubiKey 4 and 5 variants, PIV slot details, and security management for default PIN and management-key handling.
This package matters in the age ecosystem because it turns the plugin protocol into real hardware-backed daily use. It also shows the messy package-manager side of security tooling: Rust binary distribution, PC/SC middleware, distro packages, and USB-token platform support all have to line up before the simple age CLI flow feels simple.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
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 |
|---|---|---|---|
age-plugin-yubikey | 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/str4d/age-plugin-yubikey
install metadata
| Package key | brew:age-plugin-yubikey |
|---|---|
| Version | 0.5.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/age-plugin-yubikey |
| Homepage | https://github.com/str4d/age-plugin-yubikey |
| Repository | https://github.com/str4d/age-plugin-yubikey |
| Upstream docs | https://github.com/str4d/age-plugin-yubikey#readme |
| License | Apache-2.0 OR MIT |
| Source archive | https://github.com/str4d/age-plugin-yubikey/archive/refs/tags/v0.5.1.tar.gz |
| Build dependencies | pkgconf, rust |
| Uses from macOS | pcsc-lite |
| 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 | age-plugin-yubikey |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
age-plugin-yubikey
nix profile install nixpkgs#age-plugin-yubikeyage-plugin-yubikey 0.5.1-1
Yubikey plugin for age
https://github.com/str4d/age-plugin-yubikey
sudo pacman -S age-plugin-yubikeyage-plugin-yubikey
sudo port install age-plugin-yubikeysource 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.