Path to this page:
Subject: CVS commit: pkgsrc/security/py-asn1
From: Adam Ciarcinski
Date: 2023-04-26 18:04:51
Message id: 20230426160451.CB537FA87@cvs.NetBSD.org
Log Message:
py-asn1: updated to 0.5.0
Revision 0.5.0, released 19-04-2023
- Change `RealEncoder.supportIndefLenMode` type to a boolean
- Fix CI for py39 test environment
- Replace all snmplabs.com links
- Use correct SPDX identifier for the license
- Re-add ``tagMap`` and ``typeMap`` module level attributes to all
encoder and decoder modules. They are aliases for ``TAG_MAP`` and
``TYPE_MAP``
- Restore API for passing for ``tagMap`` and ``typeMap`` arguments
to ``Encoder`` and ``Decoder`` classes by name and position,
- Re-add ``tagMap`` and ``typeMap`` module level attributes to all
encoder and decoder modules. They are aliases for ``TAG_MAP`` and
``TYPE_MAP``
- Restore API for passing for ``tagMap`` and ``typeMap`` arguments
to ``Encoder`` and ``Decoder`` classes by name and position,
- Make BER/CER/DER decoders streaming and suspendible
The goal of this change is to make the decoder yielding on input
data starvation and resuming from where it stopped whenever the
caller decides to try again (hopefully making sure that some more
input becomes available).
This change makes it possible for the decoder to operate on streams
of data (meaning that the entire DER blob might not be immediately
available on input).
On top of that, the decoder yields partially reconstructed ASN.1
object on input starvation making it possible for the caller to
inspect what has been decoded so far and possibly consume partial
ASN.1 data.
All these new feature are natively available through
`StreamingDecoder` class. Previously published API is implemented
as a thin wrapper on top of that ensuring backward compatibility.
- Added support for Python 3.8, 3.9, 3.10, 3.11
- Removed support for EOL Pythons 2.4, 2.5, 2.6, 3.2, 3.3, 3.4, 3.5
- Added support for PyPy 3.7, 3.8, 3.9
- Modernized packaging and testing. pyasn1 now uses ``setup.cfg``,
``pyproject.toml``, [build](https://pypi.org/project/build/), and
GitHub Actions.
- PyPI package ownership for `pyasn1` and `pyasn1-module` has been
transfered to *Christian Heimes* and *Simon Pichugin* in
- The upstream repositories for `pyasn1` and `pyasn1-modules` are now
in the GitHub organization https://github.com/pyasn1/.
Files: