Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, MacPorts, Nix, apt, pacman, zypper 安装 libyubikey

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libyubikey

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libyubikey

MacPorts ports tree · security/libyubikey/Portfile · 来源: api.github.com

Linux

Fedora dnf已验证 · 92%
sudo dnf install libyubikey

Fedora Rawhide package metadata · libyubikey · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#libyubikey

nixpkgs package indexes · pkgs/by-name/li/libyubikey/package.nix · 来源: api.github.com

Debian apt已验证 · 92%
sudo apt install libyubikey-dev

Debian stable package indexes · libyubikey-dev · 来源: deb.debian.org

Arch Linux pacman已验证 · 92%
sudo pacman -S yubico-c

Arch Linux sync databases · yubico-c · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install libyubikey-devel

openSUSE Tumbleweed package metadata · libyubikey-devel · 来源: download.opensuse.org

概览

软件包摘要

C library for manipulating Yubico one-time passwords

命令和别名

  • modhex
  • ykgenerate
  • ykparse

历史

项目历史与用法

libyubikey is the C library inside Yubico yubico-c for low-level YubiKey one-time-password work: modhex conversion, OTP parsing, and OTP generation around the original Yubico authentication model.

项目历史

Yubico was founded in Stockholm in 2007 and launched YubiKey 1.0 in 2008 as a driverless one-touch OTP authenticator that identifies as a keyboard. yubico-c followed as the low-level C software development kit for the YubiKey authentication device.

The yubico-c repository describes the command-line tools that expose the library concepts: modhex converts between modhex, hex, and binary forms; ykparse decrypts and parses one OTP with the corresponding AES key; ykgenerate constructs and encrypts one OTP from key and internal token data.

采用历史

libyubikey belongs to the pre-FIDO YubiKey software stack, when OTP validation and provisioning were central to deploying hardware authentication. As Yubico and Google moved U2F into the FIDO Alliance in 2013 and browsers and services adopted FIDO U2F from 2014 onward, libyubikey remained relevant for legacy OTP integrations and tooling rather than newer WebAuthn flows.

Yubico announced end-of-life for yubico-c on February 19, 2025, with end-of-life scheduled for February 19, 2026. That makes the package historically important as part of the original YubiKey OTP era, even where newer Yubico libraries cover PIV, FIDO, OATH, or platform-specific use cases.

使用方式

Packagers expose libyubikey as a small C library plus tools for modhex and YubiKey OTP token work. It is most useful for test vectors, provisioning scripts, compatibility tooling, and software that needs to parse or generate Yubico OTP values without pulling in higher-level device-management stacks.

为什么软件包爱好者会关心

For package nerds, libyubikey is a tiny security package with a lot of context packed into it: custom alphabets, AES-backed OTP fields, hardware-token history, man pages, Autotools, and a clear line from early two-factor authentication to later FIDO/WebAuthn ecosystems.

时间线

  • 2007: Yubico was founded in Stockholm and developed a YubiKey 1.0 prototype.
  • 2008: YubiKey 1.0 was launched.
  • 2010: Yubico added OATH one-time-password support to the YubiKey product line.
  • 2013: Yubico and Google contributed U2F technical specifications to the FIDO Alliance.
  • 2025-02-19: Yubico announced end-of-life for yubico-c.
  • 2026-02-19: Yubico scheduled yubico-c to reach end-of-life.

Related projects

  • yubico-c is the upstream source package for libyubikey. Related Yubico projects include higher-level YubiKey management and protocol libraries, while U2F, FIDO2, and WebAuthn represent the standards track that superseded many OTP-first deployments.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
modhexcli全局可执行文件
ykgeneratecli全局可执行文件
ykparsecli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本1.13
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://yubico.github.io/yubico-c/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://yubico.github.io/yubico-c/none 置信度

安装元数据

软件包元数据

软件包键brew:libyubikey
版本1.13
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libyubikey
主页https://yubico.github.io/yubico-c/
仓库https://github.com/Yubico/yubico-c
上游文档https://yubico.github.io/yubico-c
许可证BSD-2-Clause
源码归档https://developers.yubico.com/yubico-c/Releases/libyubikey-1.13.tar.gz
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibyubikey
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libyubikey-dev 1.13-6

Yubikey OTP library development files

https://developers.yubico.com/yubico-c/

sudo apt install libyubikey-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libyubikey
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libyubikey
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libyubikey-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libyubikey0 1.13-6

Yubikey OTP handling library runtime

https://developers.yubico.com/yubico-c/

sudo apt install libyubikey0
  • Section: libs
  • Architecture: amd64
  • Source Package: libyubikey
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libyubikey
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libyubikey0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libyubikey

nix profile install nixpkgs#libyubikey
  • normalized package name match
  • 匹配方式:Libyubikey
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libyubikey/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libyubikey-dev 1.13-6

Yubikey OTP library development files

https://developers.yubico.com/yubico-c/

sudo apt install libyubikey-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libyubikey
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libyubikey
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libyubikey-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libyubikey0 1.13-6

Yubikey OTP handling library runtime

https://developers.yubico.com/yubico-c/

sudo apt install libyubikey0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libyubikey
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libyubikey
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libyubikey0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

libyubikey 1.13-27.fc44

C library for decrypting and parsing Yubikey One-time passwords

http://opensource.yubico.com/yubico-c

sudo dnf install libyubikey
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libyubikey
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libyubikey
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libyubikey from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libyubikey-devel 1.13-27.fc44

Development files for libyubikey

http://opensource.yubico.com/yubico-c

sudo dnf install libyubikey-devel
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libyubikey
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libyubikey
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libyubikey-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

yubico-c 1.13-8

Yubico YubiKey C library

https://github.com/Yubico/yubico-c

sudo pacman -S yubico-c
  • License: BSD
  • Architecture: x86_64
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libyubikey
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: yubico-c from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libyubikey-devel 1.13-3.29

Yubico's USB key low-level C library

https://developers.yubico.com/

sudo zypper install libyubikey-devel
  • License: BSD-2-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libyubikey
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libyubikey
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libyubikey-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libyubikey-tools 1.13-3.29

Tools to support Yubico's USB key low-level C library

https://developers.yubico.com/

sudo zypper install libyubikey-tools
  • License: BSD-2-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libyubikey
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libyubikey
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libyubikey-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libyubikey0 1.13-3.29

Yubico's USB key low-level C library

https://developers.yubico.com/

sudo zypper install libyubikey0
  • License: BSD-2-Clause
  • Category: Productivity/Networking/Security
  • Architecture: x86_64
  • Source Package: libyubikey
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libyubikey
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libyubikey0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

libyubikey

sudo port install libyubikey
  • normalized package name match
  • 匹配方式:Libyubikey
MacPorts ports tree · api.github.com · MacPorts ports tree: security/libyubikey/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