Skip to content

Instantly share code, notes, and snippets.

@5HT
Created December 30, 2025 17:25
Show Gist options
  • Select an option

  • Save 5HT/510b2fab7c9e8bed9fedef32b2f4460e to your computer and use it in GitHub Desktop.

Select an option

Save 5HT/510b2fab7c9e8bed9fedef32b2f4460e to your computer and use it in GitHub Desktop.
nokia.txt
Subject: Introducing a Modern Multi-Language ASN.1 Code Generation Compiler – Open for CollaborationFrom:
Maxim Sokhatsky
CTO of SYNRC Research Center, Ukraine
Email: maxim@synrc.com
GitHub: https://github.com/erpuno
Website: https://asn1.erp.uno/
Date: December 30, 2025 To:
Nokia Networks Engineering / Open Source Program Office / Radio Access Networks Team
Nokia Corporation
Karakaari 7
02610 Espoo, Finland
Dear Nokia Team, I am reaching out to introduce an open-source ASN.1 code
generation compiler we've developed, available at https://github.com/erpuno/asn1.
As a global leader in telecommunications infrastructure, including 5G/6G radio
access networks (RAN), core networks, and standards-based protocol implementations,
Nokia extensively relies on ASN.1 for critical protocols defined by 3GPP – such as
RRC (Radio Resource Control), NGAP, XnAP, F1AP, and others in LTE and 5G systems.
I believe this tool could be valuable for your protocol development, testing,
internal tooling, or related open-source contributions.Overview of the ASN.1
CompilerThis compiler generates production-ready code from ASN.1 specifications,
with a focus on modern, multi-language support:
* Supported Backends: Rust, C99, Go, Swift, TypeScript, and Java –
enabling seamless integration across diverse stacks,
from systems programming to web and mobile.
* Key Capabilities: Full code generation for encoding/decoding,
including support for DER (evidenced by included test files like
verified.der and ca.crt for certificate handling) and recursive data types.
* Advantages: Designed for reliability and ease of use in real-world applications,
with rebuild and verification scripts for each language to ensure consistency.
While many existing ASN.1 tools (such as Lev Walkin's asn1c, Fabrice Bellard's
implementations, or specialized ones like the European Space Agency's F# compiler)
are often limited to single languages or partial standard compliance, this project
prioritizes broad language coverage and practical usability for contemporary development.
The project is fully open source under the DHARMA License and hosted
on GitHub: https://github.com/erpuno/asn1. It includes example specifications,
rebuild scripts for all backends, and verification tools. In case of potential
collaboration on ASN.1-related projects, we are flexible to adjust the license
to meet your needs. Our implementation has been deployed in production environments,
including at the Ministry of Internal Affairs of Ukraine during my employment there
from 2019 to 2022.Potential Relevance to NokiaGiven Nokia's leadership in 5G and
beyond – including AirScale RAN portfolio, cloud-native core solutions,
and active contributions to 3GPP standards where ASN.1 (with encodings
like PER, UPER, and DER) is fundamental for air interface and inter-node
signaling – a flexible, multi-language ASN.1 compiler could streamline:
* Rapid prototyping and implementation of new protocol versions or extensions
* Cross-language testing and validation of ASN.1-based messages
* Internal tools for protocol conformance testing or simulation in diverse development environments
I'm particularly interested in exploring ways Nokia might benefit
from or contribute to this project – whether through adoption in
your development workflows, feedback on features (e.g., expanding
support for PER/OER/UPER encodings commonly used in 3GPP telecom protocols),
joint promotion via your open-source channels or developer platforms,
or contributions from your engineering teams.I'd love to discuss this
further, answer any questions, or provide demos/builds tailored to
Nokia's use cases (e.g., 3GPP-related examples). Please feel free
to reply or forward this to the appropriate team (e.g., RAN protocol
engineers, core network developers, or open-source leads).
Thank you for your time and for Nokia's ongoing contributions to open
standards and innovative telecommunications technologies that power
the global ecosystem.
Best regards,
Maxim Sokhatsky
CTO of SYNRC Research Center
https://github.com/erpuno/asn1
https://asn1.erp.uno/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment