Get the latest tech news

A New ASN.1 API for Python


We’re working on integrating an ASN.1 API into PyCA Cryptography, built on top of the same Rust ASN.1 implementation already used by Cryptography’s X.509 APIs.

We’re changing that: with the help of funding from Alpha-Omega, we’re building an ASN.1 API for PyCA Cryptography that addresses three key shortcomings in the Python ecosystem today: More precisely, it’s very popular in the guts of each of these settings: ASN.1 is used to represent the X.509 certificates that secure the world’s TLS traffic, is widely used with PEM-encoded formats, and provides the description and serialization for much of the internet’s lower protocol layers. The answer to this is that, for better or worse, there are many situations in which Python developers need to do ASN.1 encoding and decoding outside of the “standard” shapes of X.509 and other well-known formats and protocols.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of python

python

Photo of new asn.1 api

new asn.1 api

Related news:

News photo

MCP Run Python

News photo

Whenever: Typed and DST-safe datetimes for Python

News photo

Show HN: Python at the Speed of Rust