macOS
brew install libjwtlocal Homebrew formula metadata
sudo port install libjwtMacPorts ports tree · devel/libjwt/Portfile · 来源: api.github.com
安装
brew install libjwtlocal Homebrew formula metadata
sudo port install libjwtMacPorts ports tree · devel/libjwt/Portfile · 来源: api.github.com
sudo apk add libjwtAlpine Linux edge package indexes · libjwt · 来源: dl-cdn.alpinelinux.org
sudo dnf install libjwtFedora Rawhide package metadata · libjwt · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libjwtnixpkgs package indexes · pkgs/by-name/li/libjwt/package.nix · 来源: api.github.com
sudo apt install libjwt-devDebian stable package indexes · libjwt-dev · 来源: deb.debian.org
sudo zypper install libjwt-developenSUSE Tumbleweed package metadata · libjwt-devel · 来源: download.opensuse.org
概览
JSON Web Token C library
历史
LibJWT is a C library for JSON Web Token and adjacent JOSE formats. It gives C programs JWT creation, verification, JWK/JWKS handling, JWS, JWE, and multiple crypto-backend choices without making the application shell out to higher-level language tooling.
Ben Collins moved the Git repository in May 2015, and the v1.0.0 tag is anchored to that early public history. The project later expanded beyond basic JWT signing and validation into a broader JOSE library surface, including JWS serializations, JWE serializations, JWK thumbprints, remote JWKS caching, DPoP, and application-profile helpers.
The documentation tracks the IETF standards that shaped the library, including RFC 7515 through RFC 7519 for JWS, JWE, JWK, JWA, and JWT, plus later standards such as RFC 7638, RFC 8725, RFC 9068, RFC 9278, and RFC 9449.
LibJWT is packaged across many Unix-like systems, including Homebrew, Debian, Ubuntu, Fedora, Alpine, MacPorts, Nix, and openSUSE. That distribution spread reflects a common packaging need: C and C-adjacent services need JWT/JWK primitives without embedding a large web framework.
The project also evolved with the crypto-backend landscape. Its README documents OpenSSL, GnuTLS, and MbedTLS support, plus JSON backends through Jansson or json-c, letting distributors choose dependencies that match platform policy.
Common uses include signing JWTs, verifying tokens against local keys or JWKS keyrings, generating JWKs, handling key rotation through cached remote JWKS, and building tokens for application profiles such as access-token JWTs, DPoP, VAPID, PASSporT, OpenID4VCI, mTLS, and JAdES.
LibJWT is interesting to package maintainers because security-sensitive C libraries have unusually sharp dependency and ABI edges. The package exposes choices among crypto libraries, JSON parsers, and optional libcurl support while staying useful as a small shared library and command-line utility bundle.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
jwk2key | cli | 全局可执行文件 | |
jwt-generate | cli | 全局可执行文件 | |
jwt-verify | cli | 全局可执行文件 | |
key2jwk | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/benmcollins/libjwt
安装元数据
| 软件包键 | brew:libjwt |
|---|---|
| 版本 | 3.6.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libjwt |
| 主页 | https://libjwt.io/ |
| 仓库 | https://github.com/benmcollins/libjwt |
| 上游文档 | https://libjwt.io/ |
| 许可证 | MPL-2.0 |
| 源码归档 | https://github.com/benmcollins/libjwt/archive/refs/tags/v3.6.1.tar.gz |
| 最后更新 | 2026-06-30T04:08:24Z |
| Pulse | updated |
| 依赖 | jansson, openssl@3 |
| 构建依赖 | cmake, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libjwt |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libjwt-dev 1.17.2-1
C library to handle JWT (JSON Web Token) - development
https://github.com/benmcollins/libjwt
sudo apt install libjwt-devlibjwt-gnutls-dev 1.17.2-1
Development files for libjwt - GnuTLS flavour
https://github.com/benmcollins/libjwt
sudo apt install libjwt-gnutls-devlibjwt-gnutls2 1.17.2-1
C library to handle JWT (JSON Web Token) - GnuTLS flavour
https://github.com/benmcollins/libjwt
sudo apt install libjwt-gnutls2libjwt2 1.17.2-1
C library to handle JWT (JSON Web Token)
https://github.com/benmcollins/libjwt
sudo apt install libjwt2libjwt
nix profile install nixpkgs#libjwtlibjwt-dev 1.17.0-2build2
C library to handle JWT (JSON Web Token) - development
https://github.com/benmcollins/libjwt
sudo apt install libjwt-devlibjwt-gnutls-dev 1.17.0-2build2
Development files for libjwt - GnuTLS flavour
https://github.com/benmcollins/libjwt
sudo apt install libjwt-gnutls-devlibjwt-gnutls2 1.17.0-2build2
C library to handle JWT (JSON Web Token) - GnuTLS flavour
https://github.com/benmcollins/libjwt
sudo apt install libjwt-gnutls2libjwt2 1.17.0-2build2
C library to handle JWT (JSON Web Token)
https://github.com/benmcollins/libjwt
sudo apt install libjwt2libjwt 3.3.3-r0
The C JSON Web Token Library +JWK +JWKS
https://github.com/benmcollins/libjwt
sudo apk add libjwtlibjwt-dev 3.3.3-r0
The C JSON Web Token Library +JWK +JWKS (development files)
https://github.com/benmcollins/libjwt
sudo apk add libjwt-devlibjwt-doc 3.3.3-r0
The C JSON Web Token Library +JWK +JWKS (documentation)
https://github.com/benmcollins/libjwt
sudo apk add libjwt-doclibjwt-static 3.3.3-r0
The C JSON Web Token Library +JWK +JWKS (static library)
https://github.com/benmcollins/libjwt
sudo apk add libjwt-staticlibjwt-tools 3.3.3-r0
Tools for JWT and JWK(S) from libjwt
https://github.com/benmcollins/libjwt
sudo apk add libjwt-toolslibjwt 1.12.1-21.fc44
A Javascript Web Token library in C
https://github.com/benmcollins/libjwt
sudo dnf install libjwtlibjwt-devel 1.12.1-21.fc44
Development files for libjwt
https://github.com/benmcollins/libjwt
sudo dnf install libjwt-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.