macOS
brew install libyubikeylocal Homebrew formula metadata
sudo port install libyubikeyMacPorts ports tree · security/libyubikey/Portfile · 来源: api.github.com
安装
brew install libyubikeylocal Homebrew formula metadata
sudo port install libyubikeyMacPorts ports tree · security/libyubikey/Portfile · 来源: api.github.com
sudo dnf install libyubikeyFedora Rawhide package metadata · libyubikey · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libyubikeynixpkgs package indexes · pkgs/by-name/li/libyubikey/package.nix · 来源: api.github.com
sudo apt install libyubikey-devDebian stable package indexes · libyubikey-dev · 来源: deb.debian.org
sudo pacman -S yubico-cArch Linux sync databases · yubico-c · 来源: geo.mirror.pkgbuild.com
sudo zypper install libyubikey-developenSUSE Tumbleweed package metadata · libyubikey-devel · 来源: download.opensuse.org
概览
C library for manipulating Yubico one-time passwords
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
modhex | cli | 全局可执行文件 | |
ykgenerate | cli | 全局可执行文件 | |
ykparse | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://yubico.github.io/yubico-c/
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libyubikey |
| 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 软件包链接分开显示。
libyubikey-dev 1.13-6
Yubikey OTP library development files
https://developers.yubico.com/yubico-c/
sudo apt install libyubikey-devlibyubikey0 1.13-6
Yubikey OTP handling library runtime
https://developers.yubico.com/yubico-c/
sudo apt install libyubikey0libyubikey
nix profile install nixpkgs#libyubikeylibyubikey-dev 1.13-6
Yubikey OTP library development files
https://developers.yubico.com/yubico-c/
sudo apt install libyubikey-devlibyubikey0 1.13-6
Yubikey OTP handling library runtime
https://developers.yubico.com/yubico-c/
sudo apt install libyubikey0libyubikey 1.13-27.fc44
C library for decrypting and parsing Yubikey One-time passwords
http://opensource.yubico.com/yubico-c
sudo dnf install libyubikeylibyubikey-devel 1.13-27.fc44
Development files for libyubikey
http://opensource.yubico.com/yubico-c
sudo dnf install libyubikey-develyubico-c 1.13-8
Yubico YubiKey C library
https://github.com/Yubico/yubico-c
sudo pacman -S yubico-clibyubikey-devel 1.13-3.29
Yubico's USB key low-level C library
https://developers.yubico.com/
sudo zypper install libyubikey-devellibyubikey-tools 1.13-3.29
Tools to support Yubico's USB key low-level C library
https://developers.yubico.com/
sudo zypper install libyubikey-toolslibyubikey0 1.13-3.29
Yubico's USB key low-level C library
https://developers.yubico.com/
sudo zypper install libyubikey0libyubikey
sudo port install libyubikey来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.