macOS
brew install libtasn1local Homebrew formula metadata
sudo port install libtasn1MacPorts ports tree · devel/libtasn1/Portfile · 来源: api.github.com
安装
brew install libtasn1local Homebrew formula metadata
sudo port install libtasn1MacPorts ports tree · devel/libtasn1/Portfile · 来源: api.github.com
sudo apk add libtasn1Alpine Linux edge package indexes · libtasn1 · 来源: dl-cdn.alpinelinux.org
sudo dnf install libtasn1Fedora Rawhide package metadata · libtasn1 · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libtasn1nixpkgs package indexes · pkgs/by-name/li/libtasn1/package.nix · 来源: api.github.com
sudo pacman -S libtasn1Arch Linux sync databases · libtasn1 · 来源: geo.mirror.pkgbuild.com
sudo zypper install libtasn1-6openSUSE Tumbleweed package metadata · libtasn1-6 · 来源: download.opensuse.org
概览
ASN.1 structure parser library
历史
GNU Libtasn1 is a small ASN.1 and DER library used in security-sensitive C software. It matters to package managers because it sits under TLS, PKCS#11, certificate, and identity stacks while trying to stay portable and dependency-light.
The GNU project page says Libtasn1 was originally written by Fabio Fiorina and later maintained as a GNU package. The NEWS file records an initial 0.1.0 release, a 0.1.1 rename to libtasn1 with LGPL licensing, and a 3.0 release on October 28, 2012 that hid internal structures and normalized type names.
The manual defines the package as a library for Abstract Syntax Notation One and Distinguished Encoding Rules manipulation. It emphasizes online ASN.1 structure management without C code generation, optional offline C array generation, DER support, no global state, thread safety, and portability across Unix-like systems and Windows.
GNU identifies Libtasn1 as the ASN.1 library used by GnuTLS, p11-kit, and other packages. That dependency path made it part of distribution base layers for TLS and certificate-processing stacks, which explains broad packaging across Alpine, Homebrew, Fedora, MacPorts, Nix, Arch, and openSUSE in the input metadata.
The project also reflects modern distro maintenance pressure: the NEWS file includes repeated hardening and fuzzing-related fixes, oss-fuzz references, reproducible tarball work in 4.20.0, and a security fix for CVE-2025-13151 in 4.21.0.
Applications use the library to parse ASN.1 definitions, build ASN.1 structures, and encode or decode DER data. The command-line tools asn1Parser, asn1Coding, and asn1Decoding expose those workflows for generating C arrays, encoding assignment files, and decoding binary DER input.
Its common role is not as an end-user utility but as a low-level dependency for software that needs strict certificate, key, or protocol data handling.
Libtasn1 is a classic small security dependency: boring when it works, very visible when it has a parser bug. Package maintainers care about it because ABI stability, fuzzing fixes, CVEs, and reproducible source archives ripple into TLS and authentication stacks.
Its GNU packaging also gives distributions familiar release signing, mailing lists, manuals, Autotools build machinery, and a GitLab development home.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
asn1Coding | cli | 全局可执行文件 | |
asn1Decoding | cli | 全局可执行文件 | |
asn1Parser | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.gnu.org/software/libtasn1/
安装元数据
| 软件包键 | brew:libtasn1 |
|---|---|
| 版本 | 4.21.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libtasn1 |
| 主页 | https://www.gnu.org/software/libtasn1/ |
| 仓库 | https://gitlab.com/gnutls/libtasn1 |
| 上游文档 | https://www.gnu.org/software/libtasn1 |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://ftpmirror.gnu.org/gnu/libtasn1/libtasn1-4.21.0.tar.gz |
| 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 | libtasn1 |
| Aliases |
|
| 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 软件包链接分开显示。
libtasn1
nix profile install nixpkgs#libtasn1libtasn1 4.21.0-r0
The ASN.1 library used in GNUTLS
https://www.gnu.org/software/gnutls/
sudo apk add libtasn1libtasn1-dev 4.21.0-r0
The ASN.1 library used in GNUTLS (development files)
https://www.gnu.org/software/gnutls/
sudo apk add libtasn1-devlibtasn1-doc 4.21.0-r0
The ASN.1 library used in GNUTLS (documentation)
https://www.gnu.org/software/gnutls/
sudo apk add libtasn1-doclibtasn1-progs 4.21.0-r0
The ASN.1 library used in GNUTLS (utilities)
https://www.gnu.org/software/gnutls/
sudo apk add libtasn1-progslibtasn1 4.21.0-1.fc45
The ASN.1 library used in GNUTLS
https://www.gnu.org/software/libtasn1/
sudo dnf install libtasn1libtasn1-devel 4.21.0-1.fc45
Files for development of applications which will use libtasn1
https://www.gnu.org/software/libtasn1/
sudo dnf install libtasn1-devellibtasn1-tools 4.21.0-1.fc45
Some ASN.1 tools
https://www.gnu.org/software/libtasn1/
sudo dnf install libtasn1-toolslibtasn1 4.21.0-1
The ASN.1 library used in GNUTLS
https://www.gnu.org/software/libtasn1/
sudo pacman -S libtasn1libtasn1-6 4.21.0-1.3
ASN.1 parsing library
https://www.gnu.org/software/libtasn1/
sudo zypper install libtasn1-6libtasn1-6-32bit 4.21.0-1.3
ASN.1 parsing library
https://www.gnu.org/software/libtasn1/
sudo zypper install libtasn1-6-32bitlibtasn1-devel 4.21.0-1.3
Development files for the ASN.1 parsing library
https://www.gnu.org/software/libtasn1/
sudo zypper install libtasn1-devellibtasn1-devel-32bit 4.21.0-1.3
Development files for the ASN.1 parsing library
https://www.gnu.org/software/libtasn1/
sudo zypper install libtasn1-devel-32bitlibtasn1-tools 4.21.0-1.3
ASN.1 parsing tools
https://www.gnu.org/software/libtasn1/
sudo zypper install libtasn1-toolslibtasn1
sudo port install libtasn1来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.