{"library":"pyasn1","type":"library","category":null,"description":"pyasn1 is a pure-Python implementation of ASN.1 types and BER/DER/CER codecs (X.208). It lets developers define ASN.1 schemas as Python classes, then encode/decode wire-format bytes for network protocols and file formats such as X.509 certificates, PKCS structures, SNMP, and LDAP. Current version is 0.6.3 (released 2026), which adds a nesting depth limit to prevent stack overflow (CVE-2026-30922) and fixes an OverflowError from oversized BER length fields. The project is maintained by Christian Heimes and Simon Pichugin under the github.com/pyasn1 organisation following ownership transfer at v0.5.0; releases are irregular but active, with multiple releases per year addressing security CVEs and Python version support.","language":"python","status":"active","version":"0.6.3","tags":["asn1","ber","der","cer","codec","x509","cryptography","network-protocols","serialization","pure-python"],"install":[{"cmd":"pip install pyasn1","imports":["from pyasn1.type.univ import Integer, OctetString, ObjectIdentifier","from pyasn1.type.univ import Sequence, SequenceOf, Set, SetOf, Choice","from pyasn1.type.namedtype import NamedType, OptionalNamedType, DefaultedNamedType, NamedTypes","from pyasn1.type.tag import Tag, tagClassContext, tagFormatSimple","from pyasn1.codec.der.encoder import encode","from pyasn1.codec.der.decoder import decode","from pyasn1.codec.ber.encoder import encode\nfrom pyasn1.codec.ber.decoder import decode","from pyasn1.codec.native.encoder import encode\nfrom pyasn1.codec.native.decoder import decode","from pyasn1.error import PyAsn1Error"]},{"cmd":"pip install pyasn1 pyasn1-modules","imports":[]}],"homepage":null,"github":"https://github.com/pyasn1/pyasn1","docs":"https://pyasn1.readthedocs.io","changelog":"https://pyasn1.readthedocs.io/en/latest/changelog.html","pypi":"https://pypi.org/project/pyasn1/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.7,"avg_import_s":0.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/pyasn1/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":"verified"}}