Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, pacman 安装 age-plugin-yubikey

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install age-plugin-yubikey

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install age-plugin-yubikey

MacPorts ports tree · security/age-plugin-yubikey/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#age-plugin-yubikey

nixpkgs package indexes · pkgs/by-name/ag/age-plugin-yubikey/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S age-plugin-yubikey

Arch Linux sync databases · age-plugin-yubikey · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Plugin for encrypting files with age and PIV tokens such as YubiKeys

命令和别名

  • age-plugin-yubikey

历史

项目历史与用法

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.

时间线

  • 2020: GitHub repository created.
  • 2021: v0.1.0 released.
  • 2022: v0.3.0 released; age v1.1.0 added plugin and YubiKey support.
  • 2024: v0.5.0 released.
  • 2026: v0.5.1 released.

Related projects

  • age is the reference age client and file encryption tool.
  • rage is the Rust age client named by the README as a supported client.
  • yubikey-agent is mentioned by the README as a possible integration point for future agent-style decryption support.

来源

  • age official releases API
  • official GitHub releases API
  • official GitHub repository metadata
  • source_facts.package-manager
  • upstream README

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:encrypt

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
age-plugin-yubikeycli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.5.1
管理器更新时间2026-07-10
本地数据OK
上游当前
检测到的最新版本v0.5.1

https://github.com/str4d/age-plugin-yubikey

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:age-plugin-yubikey
版本0.5.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/age-plugin-yubikey
主页https://github.com/str4d/age-plugin-yubikey
仓库https://github.com/str4d/age-plugin-yubikey
上游文档https://github.com/str4d/age-plugin-yubikey#readme
许可证Apache-2.0 OR MIT
源码归档https://github.com/str4d/age-plugin-yubikey/archive/refs/tags/v0.5.1.tar.gz
最后更新2026-07-10T16:49:54-04:00
Pulseupdated
构建依赖pkgconf, rust
macOS 提供的库pcsc-lite
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameage-plugin-yubikey
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

age-plugin-yubikey

nix profile install nixpkgs#age-plugin-yubikey
  • normalized package name match
  • 匹配方式:Age Plugin Yubikey
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ag/age-plugin-yubikey/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

age-plugin-yubikey 0.5.1-1

Yubikey plugin for age

https://github.com/str4d/age-plugin-yubikey

sudo pacman -S age-plugin-yubikey
  • License: Apache-2.0 AND MIT
  • Architecture: x86_64
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Age Plugin Yubikey
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: age-plugin-yubikey from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

age-plugin-yubikey

sudo port install age-plugin-yubikey
  • normalized package name match
  • 匹配方式:Age Plugin Yubikey
MacPorts ports tree · api.github.com · MacPorts ports tree: security/age-plugin-yubikey/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment