macOS
brew install asn1clocal Homebrew formula metadata
sudo port install asn1cMacPorts ports tree · lang/asn1c/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de asn1c pour les workflows d'agents IA.
installation
brew install asn1clocal Homebrew formula metadata
sudo port install asn1cMacPorts ports tree · lang/asn1c/Portfile · Source: api.github.com
sudo apt install asn1cDebian stable package indexes · asn1c · Source: deb.debian.org
nix profile install nixpkgs#asn1cnixpkgs package indexes · pkgs/by-name/as/asn1c/package.nix · Source: api.github.com
sudo zypper install asn1copenSUSE Tumbleweed package metadata · asn1c · Source: download.opensuse.org
aperçu
Compile ASN.1 specifications into C source code
historique
asn1c is Lev Walkin's ASN.1-to-C compiler, packaged as a command-line tool that turns ASN.1 module specifications into C and C++-compatible C code for BER, DER, OER, PER, XER, and related ASN.1 transfer syntaxes. Its upstream README frames it as a practical compiler for protocol implementers rather than a complete implementation of the entire ASN.1 standards family.
The project grew around the long-lived lionet.info ASN.1 compiler site and the vlm/asn1c source repository. The upstream documentation emphasizes code generation for native C structures, serializers, and deserializers, while the ChangeLog shows a 0.9 series active through at least the mid-2000s and 2010s with portability fixes, PER work, examples, OER support, and security fixes in generated code and tooling.
asn1c's history is closely tied to real protocol work. Official examples and ChangeLog entries mention X.509, LDAP, 3GPP RRC, MEGACO/H.248.1, GSM TAP3, LTE RRC, IEEE 1609.2, and SAE J2735, which explains why the package persists in Unix package managers despite ASN.1 being a niche compiler domain.
The Homebrew input records asn1c in several Unix package ecosystems, including Homebrew, Debian, MacPorts, Nix, Ubuntu, and zypper. That breadth matches the upstream portability work visible in the ChangeLog, including C89/C99, MinGW, macOS, autoreconf, and generated-file permission fixes.
The upstream README describes ASN.1 formats as widely used in HTTPS certificates, mobile-network control data, and intelligent transportation systems. For package users, asn1c tends to appear as a build-time or protocol-development dependency rather than an end-user application.
The core usage is `asn1c module.asn1`, with multiple ASN.1 modules passed together when specifications have interdependencies. By default, the compiler emits multiple `.c` and `.h` files for ASN.1 types; `-P` prints generated output, while `-E` and `-EF` expose parser and semantic-fixer stages for debugging a specification.
The generated C support code is used to encode and decode protocol data in BER/DER, OER, PER, and XER families. The bundled helper tools `enber` and `unber` support BER-oriented inspection workflows, and the `crfc2asn1.pl` script extracts ASN.1 modules from RFC text.
asn1c is one of those packages that matters because it sits at the boundary between formal telecom/security standards and C build systems. It is a small CLI in the package manager, but it can generate substantial source trees that become part of another project's ABI, memory-safety surface, and wire-format compatibility.
Package maintainers care about asn1c versions because changes in generated code, codec support, and skeleton behavior can affect downstream protocol parsers. The ChangeLog's security notes for generated output make it more than a compiler binary: upgrades can change the safety of code already emitted into dependent projects.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
asn1c | cli | exécutable global | |
crfc2asn1.pl | cli | exécutable global | |
enber | cli | exécutable global | |
unber | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:asn1c |
|---|---|
| Version | 0.9.29 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/asn1c |
| Page d'accueil | https://lionet.info/asn1c/blog |
| Dépôt | https://github.com/vlm/asn1c |
| Docs amont | https://github.com/vlm/asn1c#readme |
| Licence | BSD-2-Clause |
| Archive source | https://github.com/vlm/asn1c/archive/refs/tags/v0.9.29.tar.gz |
| Dernière mise à jour | 2026-06-22T11:36:29Z |
| Pulse | updated |
| Dépendances de compilation | autoconf, automake, libtool |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | asn1c |
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
asn1c 0.9.28+dfsg-5
ASN.1 compiler for C
sudo apt install asn1casn1c-doc 0.9.28+dfsg-5
Documentation for asn1c
sudo apt install asn1c-docasn1c
nix profile install nixpkgs#asn1casn1c 0.9.28+dfsg-5
ASN.1 compiler for C
sudo apt install asn1casn1c-doc 0.9.28+dfsg-5
Documentation for asn1c
sudo apt install asn1c-docasn1c 0.9.28-2.22
ASN.1 Compiler
sudo zypper install asn1casn1c
sudo port install asn1cpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.