Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper 安装 libtasn1

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libtasn1

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libtasn1

MacPorts ports tree · devel/libtasn1/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add libtasn1

Alpine Linux edge package indexes · libtasn1 · 来源: dl-cdn.alpinelinux.org

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

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

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

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

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

Arch Linux sync databases · libtasn1 · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install libtasn1-6

openSUSE Tumbleweed package metadata · libtasn1-6 · 来源: download.opensuse.org

概览

软件包摘要

ASN.1 structure parser library

命令和别名

  • asn1Coding
  • asn1Decoding
  • asn1Parser

历史

项目历史与用法

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.

时间线

  • 2002: The NEWS file copyright range begins for GNU Libtasn1.
  • 0.1.0: Initial release.
  • 0.1.1: The project is renamed to libtasn1 and relicensed under the GNU Lesser GPL.
  • 2012: Release 3.0 hides internal structures and renames public types for consistency.
  • 2014: Release 4.0 adds DER decoding improvements and new APIs.
  • 2019: Release 4.15.0 switches to semantic versioning.
  • 2025: Release 4.20.0 adds reproducible release tarballs.
  • 2026: Release 4.21.0 fixes CVE-2025-13151 and renames NEWS to NEWS.md.

Related projects

  • GnuTLS and p11-kit are explicitly named GNU-page consumers of Libtasn1. ASN.1 and DER standards, X.509 certificate tooling, and PKCS-related libraries are adjacent parts of the same packaging ecosystem.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
asn1Codingcli全局可执行文件
asn1Decodingcli全局可执行文件
asn1Parsercli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://www.gnu.org/software/libtasn1/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://www.gnu.org/software/libtasn1/none 置信度

安装元数据

软件包元数据

软件包键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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibtasn1
Aliases
  • libtasn
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Nix95%

libtasn1

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

libtasn1 4.21.0-r0

The ASN.1 library used in GNUTLS

https://www.gnu.org/software/gnutls/

sudo apk add libtasn1
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libtasn1
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libtasn1
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libtasn1 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libtasn1-dev 4.21.0-r0

The ASN.1 library used in GNUTLS (development files)

https://www.gnu.org/software/gnutls/

sudo apk add libtasn1-dev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libtasn1
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libtasn1
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libtasn1-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libtasn1-doc 4.21.0-r0

The ASN.1 library used in GNUTLS (documentation)

https://www.gnu.org/software/gnutls/

sudo apk add libtasn1-doc
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libtasn1
  • normalized package name match
  • 匹配方式:Libtasn1
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libtasn1-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libtasn1-progs 4.21.0-r0

The ASN.1 library used in GNUTLS (utilities)

https://www.gnu.org/software/gnutls/

sudo apk add libtasn1-progs
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: libtasn1
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libtasn1
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libtasn1-progs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

libtasn1 4.21.0-1.fc45

The ASN.1 library used in GNUTLS

https://www.gnu.org/software/libtasn1/

sudo dnf install libtasn1
  • License: GPL-3.0-or-later AND LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libtasn1
  • 2 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Libtasn1
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libtasn1 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libtasn1-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-devel
  • License: GPL-3.0-or-later AND LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libtasn1
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libtasn1
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libtasn1-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libtasn1-tools 4.21.0-1.fc45

Some ASN.1 tools

https://www.gnu.org/software/libtasn1/

sudo dnf install libtasn1-tools
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libtasn1
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libtasn1
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libtasn1-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

libtasn1 4.21.0-1

The ASN.1 library used in GNUTLS

https://www.gnu.org/software/libtasn1/

sudo pacman -S libtasn1
  • License: GPL-3.0-or-later AND LGPL-2.1-or-later AND GFDL-1.3-or-later
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libtasn1
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libtasn1 from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

libtasn1-6 4.21.0-1.3

ASN.1 parsing library

https://www.gnu.org/software/libtasn1/

sudo zypper install libtasn1-6
  • License: LGPL-2.1-or-later
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: libtasn1
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libtasn1
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libtasn1-6 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libtasn1-6-32bit 4.21.0-1.3

ASN.1 parsing library

https://www.gnu.org/software/libtasn1/

sudo zypper install libtasn1-6-32bit
  • License: LGPL-2.1-or-later
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: libtasn1
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libtasn1
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libtasn1-6-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libtasn1-devel 4.21.0-1.3

Development files for the ASN.1 parsing library

https://www.gnu.org/software/libtasn1/

sudo zypper install libtasn1-devel
  • License: GFDL-1.3-or-later AND LGPL-2.1-or-later
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libtasn1
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libtasn1
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libtasn1-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libtasn1-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-32bit
  • License: GFDL-1.3-or-later AND LGPL-2.1-or-later
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libtasn1
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libtasn1
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libtasn1-devel-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libtasn1-tools 4.21.0-1.3

ASN.1 parsing tools

https://www.gnu.org/software/libtasn1/

sudo zypper install libtasn1-tools
  • License: GFDL-1.3-or-later AND GPL-3.0-or-later
  • Category: Productivity/Networking/Diagnostic
  • Architecture: x86_64
  • Source Package: libtasn1
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libtasn1
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libtasn1-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

libtasn1

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