PyCA Cryptography's New ASN.1 API: Speed and Security

2025-04-18

The PyCA Cryptography team is developing a new ASN.1 API using a pure Rust parser for significantly improved performance and reduced security risks from differences with other ASN.1 parsers. The new API also features a declarative dataclasses-style interface for improved code readability and maintainability. This addresses shortcomings in existing Python ASN.1 libraries regarding performance and security, and better supports emerging ecosystems like Sigstore.

Development