macOS
brew install asn1clocal Homebrew formula metadata
sudo port install asn1cMacPorts ports tree · lang/asn1c/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für asn1c in AI-Agent-Workflows.
Installation
brew install asn1clocal Homebrew formula metadata
sudo port install asn1cMacPorts ports tree · lang/asn1c/Portfile · Quelle: api.github.com
sudo apt install asn1cDebian stable package indexes · asn1c · Quelle: deb.debian.org
nix profile install nixpkgs#asn1cnixpkgs package indexes · pkgs/by-name/as/asn1c/package.nix · Quelle: api.github.com
sudo zypper install asn1copenSUSE Tumbleweed package metadata · asn1c · Quelle: download.opensuse.org
Überblick
Compile ASN.1 specifications into C source code
Verlauf
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
asn1c | cli | globales Executable | |
crfc2asn1.pl | cli | globales Executable | |
enber | cli | globales Executable | |
unber | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:asn1c |
|---|---|
| Version | 0.9.29 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/asn1c |
| Homepage | https://lionet.info/asn1c/blog |
| Repository | https://github.com/vlm/asn1c |
| Upstream-Dokumentation | https://github.com/vlm/asn1c#readme |
| Lizenz | BSD-2-Clause |
| Quellarchiv | https://github.com/vlm/asn1c/archive/refs/tags/v0.9.29.tar.gz |
| Zuletzt aktualisiert | 2026-06-22T11:36:29Z |
| Pulse | updated |
| Build-Abhängigkeiten | autoconf, automake, libtool |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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 asn1cQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.