# libtasn1 を Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper でインストール

libtasn1 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:libtasn1
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install libtasn1
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libtasn1
```

  証拠: MacPorts ports tree: devel/libtasn1/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libtasn1
```

  証拠: Alpine Linux edge package indexes: libtasn1 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install libtasn1
```

  証拠: Fedora Rawhide package metadata: libtasn1 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libtasn1
```

  証拠: nixpkgs package indexes: pkgs/by-name/li/libtasn1/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libtasn1
```

  証拠: Arch Linux sync databases: libtasn1 from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libtasn1-6
```

  証拠: openSUSE Tumbleweed package metadata: libtasn1-6 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:libtasn1
- **パッケージマネージャ:** Homebrew
- **バージョン:** 4.21.0
- **ソース概要:** ASN.1 structure parser library
- **ホームページ:** <https://www.gnu.org/software/libtasn1/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- asn1Coding (エイリアス)
- asn1Decoding (エイリアス)
- asn1Parser (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 4.21.0
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://gitlab.com/gnutls/libtasn1>
- <https://gitlab.com/gnutls/libtasn1/-/raw/master/NEWS.md>
- <https://gitlab.com/gnutls/libtasn1/-/raw/master/README.md>
- <https://www.gnu.org/software/libtasn1/>
- <https://www.gnu.org/software/libtasn1/manual/libtasn1.html>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - libtasn1: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libtasn1/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - libtasn1 - 4.21.0-r0: normalized package name match | Alpine Linux edge package indexes: libtasn1 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The ASN.1 library used in GNUTLS | https://www.gnu.org/software/gnutls/
- apk - libtasn1-dev - 4.21.0-r0: normalized package name match | Alpine Linux edge package indexes: libtasn1-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The ASN.1 library used in GNUTLS (development files) | https://www.gnu.org/software/gnutls/
- apk - libtasn1-doc - 4.21.0-r0: normalized package name match | Alpine Linux edge package indexes: libtasn1-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The ASN.1 library used in GNUTLS (documentation) | https://www.gnu.org/software/gnutls/
- apk - libtasn1-progs - 4.21.0-r0: normalized package name match | Alpine Linux edge package indexes: libtasn1-progs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The ASN.1 library used in GNUTLS (utilities) | https://www.gnu.org/software/gnutls/
- dnf - libtasn1 - 4.21.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: libtasn1 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | The ASN.1 library used in GNUTLS | https://www.gnu.org/software/libtasn1/
- dnf - libtasn1-devel - 4.21.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: libtasn1-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Files for development of applications which will use libtasn1 | https://www.gnu.org/software/libtasn1/
- dnf - libtasn1-tools - 4.21.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: libtasn1-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Some ASN.1 tools | https://www.gnu.org/software/libtasn1/
- pacman - libtasn1 - 4.21.0-1: normalized package name match | Arch Linux sync databases: libtasn1 from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | The ASN.1 library used in GNUTLS | https://www.gnu.org/software/libtasn1/
- zypper - libtasn1-6 - 4.21.0-1.5: normalized package name match | openSUSE Tumbleweed package metadata: libtasn1-6 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | ASN.1 parsing library | https://www.gnu.org/software/libtasn1/
- zypper - libtasn1-6-32bit - 4.21.0-1.5: normalized package name match | openSUSE Tumbleweed package metadata: libtasn1-6-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | ASN.1 parsing library | https://www.gnu.org/software/libtasn1/
- zypper - libtasn1-devel - 4.21.0-1.5: normalized package name match | openSUSE Tumbleweed package metadata: libtasn1-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for the ASN.1 parsing library | https://www.gnu.org/software/libtasn1/
- zypper - libtasn1-devel-32bit - 4.21.0-1.5: normalized package name match | openSUSE Tumbleweed package metadata: libtasn1-devel-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for the ASN.1 parsing library | https://www.gnu.org/software/libtasn1/
- zypper - libtasn1-tools - 4.21.0-1.5: normalized package name match | openSUSE Tumbleweed package metadata: libtasn1-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | ASN.1 parsing tools | https://www.gnu.org/software/libtasn1/
- MacPorts - libtasn1: normalized package name match | MacPorts ports tree: devel/libtasn1/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/libtasn1.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libtasn1.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
