# Installer libtasn1 avec Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libtasn1 pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install libtasn1
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libtasn1
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:libtasn1
- **Gestionnaire de paquets:** Homebrew
- **Version:** 4.21.0
- **Résumé source:** ASN.1 structure parser library
- **Page d'accueil:** <https://www.gnu.org/software/libtasn1/>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- asn1Coding (alias)
- asn1Decoding (alias)
- asn1Parser (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 4.21.0
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <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>


## Notes de sécurité

library-like package without higher-risk signals.

- **Risque Geiger:** vert / faible
- library-like package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- 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)


## Sources

- 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
