Releases: andrivet/python-asn1
Releases · andrivet/python-asn1
Version 3.2.0
-
#295 New API using a context manager
- Support for using Encoder via context manager
- Support for encoding sequences via context manager
- Support for encoding sets via context manager
- Support for using Decoder via context manager
-
Add support of Python 3.14
-
New way of installing old versions of Python in the Docker file.
As a consequence, all versions of Python including 2.7 and from 3.5 to 3.14 are now properly tested.
Version 3.1.0
- #291 - Add support for mypy. As a consequence, the previous module has been migrated to a package.
Version 3.0.1
- Fix #288 - Use DER encoding by default as in previous versions
Version 3.0.0
- Encoding and decoding of the ASN.1 REAL type
- Support of indefinite lengths
- Encoding and decoding of complex data (lists, sets, ...)
- Add support for streams (file-like objects) when encoding and decoding
- Optionally return the number of unused bits when decoding a BitString (see also #276)
- #286 - Add ASN.1:2008 compliance test suite
Note: Even if the API has changed, it is backward-compatible with previous versions.
Version 2.8.0
- PR #285 - Use Enum with Tag for pretty representation (thanks to @Julien00859)
- Make explicit that Python 3.12 and 3.13 are supported
- Fix some links in the documentation
- Add a Docker file for testing
Version 2.7.1
- Fix OID encoding/decoding for the first octet according to ITU-T X.690 (thanks to Ian Neal)
Version 2.7.0
- Add context manager support (thanks to Mastermind-U)
Version 2.6.0
- Add support for GeneralizedTime (thanks to vollkorntomate)
Version 2.5.0
- Fixes to BitString decoding and encoding of IA5String and UTCTime (thanks to 0xbf00)
Version 2.4.2 (2021-10-29)
- Fix a minor mistake in the dump.py example
- Add Python 3.9 and 3.10