48 Commits

Author SHA256 Message Date
c639481d0b Accepting request 1328006 from home:nkrapp:branches:devel:languages:python
- Update to 0.6.2 (fixes CVE-2026-2141, bsc#1256331)
  * Fixed continuation octet limits in OID/RELATIVE-OID decoder (CVE-2026-23490).
  * Added support for Python 3.14.
  * Added SECURITY.md policy.
  * Migrated to pyproject.toml packaging.
- fix broken changelog entries

OBS-URL: https://build.opensuse.org/request/show/1328006
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=96
2026-01-19 09:05:05 +00:00
c14af5cbb9 Accepting request 1206059 from home:glaubitz:branches:devel:languages:python
- Update to 0.6.1
  * Added support for Python 3.13 and updated GitHub Actions
  * Removed Python 2 support and related code
  * Improved error handling and consistency
  * Runtime deprecation of `tagMap` and `typeMap` aliases
  * Fixed duplicated and missing declarations
  * Cleaned documentation and comments
  * Removed bdist_wheel universal flag from setup.cfg

OBS-URL: https://build.opensuse.org/request/show/1206059
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=94
2024-10-07 14:43:40 +00:00
e910237da6 - update to 0.6.0:
* Added support for previously missing RELATIVE-OID construct
  * Updated link to Layman's Guide Now it provides a link to
    links to a formatted PDF version of the paper, at a stable
    domain (researchgate), using https
  * Removed support for EOL Python 2.7, 3.6, 3.7

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=92
2024-04-03 14:06:05 +00:00
81cccd829f - update to 0.5.1:
* Added support for PyPy 3.10 and Python 3.12
  * Updated RTD configuration to include a dummy index.rst
    redirecting to contents.html, ensuring compatibility with
    third-party documentation and search indexes.
  * Fixed the API breakage wih decoder.decode(substrateFun=...).
  * A substrateFun passed to ``decoder.decode()`` can now be
    either v0.4 Non-Streaming or v0.5 Streaming.
    pyasn1 will detect and handle both cases transparently.
  * A substrateFun passed to one of the new streaming decoders is
  * still expected to be v0.5 Streaming only.
  * Debug logging refactored for more efficiency when disabled and for more
    functionality when in use. Specifically, the global LOG object can easily
    be used from any function/method, not just from codec main loop as it used
  * More debug logging added to BER family of codecs to ease encoding problems
  - Constructed types now verify their consistency by invoking
    components rather than isSuperTypeOf() as it used to be. Constriants check
  - The abs(Integer()) & abs(Real()) operation now returns respective pyasn1
    format for the type (e.g. BOOLEAN is always PRIMITIVE, SET is always
 * Fixed a bug/typo at Boolean CER encoder

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=90
2023-11-27 15:53:47 +00:00
4099587667 - update to 0.5.0:
* 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=87
2023-05-04 19:25:54 +00:00
0b5c8020dd Accepting request 1081544 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081544
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=85
2023-04-21 14:09:31 +00:00
a6194b4fb0 Accepting request 895712 from home:pgajdos:python
setup.py test replacement

OBS-URL: https://build.opensuse.org/request/show/895712
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=83
2021-05-27 09:49:49 +00:00
Tomáš Chvátal
14df9fe7db Accepting request 749115 from home:stroeder:branches:devel:languages:python
Update to 0.4.8

OBS-URL: https://build.opensuse.org/request/show/749115
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=81
2019-11-17 19:39:58 +00:00
Tomáš Chvátal
878f1d91ce - Update to 0.4.7:
* Many bugfixes all around, see CHANGES.rst

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=79
2019-09-10 12:46:58 +00:00
Tomáš Chvátal
b719a86365 Accepting request 669101 from home:stroeder:branches:devel:languages:python
- update to 0.4.5

OBS-URL: https://build.opensuse.org/request/show/669101
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=77
2019-01-28 20:36:53 +00:00
Tomáš Chvátal
1a15480ff4 - Fix fdupes call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=75
2018-12-07 11:40:57 +00:00
Michael Ströder
b44dad7bd4 Accepting request 627899 from home:TheBlackCat:branches:devel:languages:python
- update to 0.4.4
  * Fixed native encoder type map to include all ASN.1 types
    rather than just ambiguous ones
  * Fixed crash in `.prettyPrint` of `Sequence` and `Set` occurring
    at OPTIONAL components

OBS-URL: https://build.opensuse.org/request/show/627899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=73
2018-08-07 14:48:20 +00:00
Tomáš Chvátal
7d5ddf7909 Accepting request 612435 from home:stroeder:branches:devel:languages:python
update to version 0.4.3

OBS-URL: https://build.opensuse.org/request/show/612435
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=71
2018-05-27 05:24:12 +00:00
Michael Ströder
a20acc60e1 Accepting request 545767 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/545767
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=69
2017-11-26 22:36:01 +00:00
c719969afb Accepting request 533574 from home:stroeder:branches:devel:languages:python
- updated to upstream release 0.3.7
  * Fixed ASN.1 time types pickling/deepcopy'ing

OBS-URL: https://build.opensuse.org/request/show/533574
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=67
2017-10-12 11:28:11 +00:00
Michael Ströder
4c143165cf Accepting request 528026 from home:stroeder:branches:devel:languages:python
- updated to upstream release 0.3.6
  * End-of-octets encoding optimized at ASN.1 encoders
  * The __getitem__/__setitem__ behavior of Set/Sequence and
    SetOf/SequenceOf objects aligned with the canonical Mapping
    and Sequence protocols in part
  * Fixed crash in ASN.1 encoder when encoding an explicitly tagged
    component of a Sequence

OBS-URL: https://build.opensuse.org/request/show/528026
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=65
2017-09-21 11:25:56 +00:00
15596208b2 - Codecs signatures unified and pass the options kwargs through the
call chain
  - Explicit tag encoding optimized to avoid unnecessary copying
  - End-of-octets sentinel encoding optimized
  - Refactored ASN.1 codecs properties to silently enforce proper
    length and chunk size encoding modes
  - Fixed DER encoder to always produce primitive encoding
  - Fixed crash at SequenceOf native decoder
  - Fixed Real.prettyPrint() to fail gracefully on overflow
  - Fixed a couple of crashes when debug mode is enabled

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=63
2017-09-19 08:50:21 +00:00
a7b3640747 Accepting request 527232 from home:stroeder:branches:devel:languages:python
updated to upstream release 0.3.5

OBS-URL: https://build.opensuse.org/request/show/527232
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=62
2017-09-19 08:49:43 +00:00
Michael Ströder
aeeddf51f3 Accepting request 521965 from home:stroeder:branches:devel:languages:python
- updated to upstream release 0.3.4
Revision 0.3.4, released 07-09-2017
-----------------------------------
- Fixed Native encoder to handle SEQUENCE/SET objects without
  the componentType property
- Added missing component-less SEQUENCE/SET objects dict duck-typing support
- Fixed unnecessary duplicate tags detection at NamesType.tagMap
- Fixed crash at SEQUENCE and SEQUENCE OF CER encoder when running
  in schemaless mode
- Fixed Character types instantiation from OctetString type -- double
  unicode decoding may have scrambled the data
Revision 0.3.3, released 27-08-2017
-----------------------------------
- Improved ASN.1 types instantiation performance
- Improved BER/CER/DER decoder performance by not unconditionally casting
  substrate into str/bytes.
- Fixed exponential index size growth bug when building ambiguous
  NamedTypes tree
- Fixed constructed types decoding failure at BER codec if running
  in schema-less mode
- Fixed crash on prettyPrint'ing a SEQUENCE with no defined components
- Fixed SetOf ordering at CER/DER encoder
- Fixed crash on conditional binascii module import
- Fix to TagSet hash value build

OBS-URL: https://build.opensuse.org/request/show/521965
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=60
2017-09-07 12:11:49 +00:00
Michael Ströder
5ce5813799 Accepting request 517058 from home:stroeder:branches:devel:languages:python
update to upstream release 0.3.2

OBS-URL: https://build.opensuse.org/request/show/517058
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=58
2017-08-15 17:36:16 +00:00
Michael Ströder
f756e203bd Accepting request 513046 from home:stroeder:branches:devel:languages:python
update to upstream release 0.3.1

OBS-URL: https://build.opensuse.org/request/show/513046
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=56
2017-07-29 21:45:48 +00:00
2cf8626462 Accepting request 504718 from home:okurz:matrix-synapse
Cleanup duplicates

OBS-URL: https://build.opensuse.org/request/show/504718
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=54
2017-06-30 11:02:05 +00:00
Todd R
429eaaca82 Accepting request 493144 from home:TheBlackCat:branches:devel:languages:python
Fix Provides/Obsoletes.

OBS-URL: https://build.opensuse.org/request/show/493144
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=52
2017-05-06 04:29:52 +00:00
Jan Matejek
bd8bf3b6fe Accepting request 480500 from home:tbechtold:branches:devel:languages:python
- Switch to singlespec approach

OBS-URL: https://build.opensuse.org/request/show/480500
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=50
2017-03-16 14:20:56 +00:00
Michael Ströder
1e3c4a7528 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=48 2017-03-06 13:29:35 +00:00
Michael Ströder
79d0d7ed92 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=46 2017-03-06 13:28:30 +00:00
Michael Ströder
63e98c721f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=42 2017-02-08 10:07:16 +00:00
Michael Ströder
f667020a13 Accepting request 455458 from home:stroeder:branches:devel:languages:python
update to 0.2.2 with security fixes

OBS-URL: https://build.opensuse.org/request/show/455458
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=40
2017-02-08 10:02:18 +00:00
Michal Čihař
47dcf28953 Accepting request 336718 from home:frispete:python
- updated to upstream release 0.1.9
  - Wheel distribution format now supported.
  - Extensions added to text files, CVS attic flushed.
  - Fix to make uninitilaized pyasn1 objects failing properly on hash().
  - Fix to ObjectIdentifier initialization from unicode string.
  - Fix to CER/DER Boolean decoder - fail on non single-octet payload.

OBS-URL: https://build.opensuse.org/request/show/336718
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=38
2015-10-06 13:37:12 +00:00
d4213e3ea1 Accepting request 327557 from Cloud:OpenStack:Master
- updated to upstrean release 0.1.8 (fate#318838)

OBS-URL: https://build.opensuse.org/request/show/327557
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=36
2015-08-27 14:38:23 +00:00
Denisart Benjamin
81a97496e0 Accepting request 315086 from home:stroeder:branches:devel:languages:python
update to new upstream release 0.1.8

OBS-URL: https://build.opensuse.org/request/show/315086
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=34
2015-07-09 10:44:56 +00:00
Michal Čihař
96bec3e370 Accepting request 298581 from home:Nijel:branches:devel:languages:python
- Run testsuite in %check

OBS-URL: https://build.opensuse.org/request/show/298581
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=32
2015-04-22 12:44:02 +00:00
Todd R
d2cd82174f Accepting request 288729 from home:leonardocf:branches:devel:languages:python
- Reflect license change (from BSD-3-Clause to BSD-2-Clause) which
  happened in version 0.1.7 in the spec file

OBS-URL: https://build.opensuse.org/request/show/288729
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=30
2015-03-03 18:11:04 +00:00
Sascha Peilicke
63ca41415e - Fix changes file
- License updated to vanilla BSD 2-Clause to ease package use
    (http://opensource.org/licenses/BSD-2-Clause).
  - Test suite made discoverable by unittest/unittest2 discovery feature.
  - Fix to decoder working on indefinite length substrate -- end-of-octets
    marker is now detected by both tag and value. Otherwise zero values may
    interfere with end-of-octets marker.
  - Fix to decoder to fail in cases where tagFormat indicates inappropriate
    format for the type (e.g. BOOLEAN is always PRIMITIVE, SET is always 
    CONSTRUCTED and OCTET STRING is either of the two)
  - Fix to REAL type encoder to force primitive encoding form encoding.
  - Fix to CHOICE decoder to handle explicitly tagged, indefinite length
    mode encoding
  - Fix to REAL type decoder to handle negative REAL values correctly. Test
    case added.
  - The compact (valueless) way of encoding zero INTEGERs introduced in
    0.1.5 seems to fail miserably as the world is filled with broken
    BER decoders. So we had to back off the *encoder* for a while.
    There's still the IntegerEncoder.supportCompactZero flag which
    enables compact encoding form whenever it evaluates to True.
  - Report package version on debugging code initialization.
- Changes from version 0.1.5:
  - Documentation updated and split into chapters to better match
    web-site contents.
  - Make prettyPrint() working for non-initialized pyasn1 data objects. It
    used to throw an exception.
  - Fix to encoder to produce empty-payload INTEGER values for zeros
  - Fix to decoder to support empty-payload INTEGER and REAL values
  - Fix to unit test suites imports to be able to run each from
    their current directory

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=28
2013-10-24 13:08:14 +00:00
Sascha Peilicke
95217875ab - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=27
2013-10-24 11:11:22 +00:00
Sascha Peilicke
a410a0b7cc - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=26
2013-10-24 11:11:01 +00:00
Todd R
cb3d315fe9 Accepting request 174829 from home:stroeder:branches:devel:languages:python
Update to upstream release 0.1.7

OBS-URL: https://build.opensuse.org/request/show/174829
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=22
2013-05-10 11:13:37 +00:00
Todd R
b313bd912f Accepting request 149141 from home:stroeder:branches:devel:languages:python
Update to upstream release 0.1.6 successfully tested with python-ldap/web2ldap.

OBS-URL: https://build.opensuse.org/request/show/149141
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=18
2013-01-20 11:48:44 +00:00
Sascha Peilicke
9fa76c2adb Accepting request 129125 from home:stroeder:branches:devel:languages:python
Update to upstrean release 0.1.4

OBS-URL: https://build.opensuse.org/request/show/129125
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=16
2012-07-28 10:06:30 +00:00
Todd R
47ecc38235 Accepting request 115535 from home:stroeder:branches:devel:languages:python
updated to upstrean release 0.1.3

OBS-URL: https://build.opensuse.org/request/show/115535
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=14
2012-04-26 08:13:28 +00:00
Sascha Peilicke
ea09c82275 - Fix obsoletes for python-asn1 instead
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=13
2012-04-18 07:50:21 +00:00
7e10f8c3b9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=12 2012-04-17 15:14:14 +00:00
f1c706dbe3 - remove self-obsoletes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=11
2012-04-17 15:13:45 +00:00
Sascha Peilicke
8d6b617aa0 Accepting request 110733 from home:stroeder:branches:devel:languages:python
Update to 0.1.2 hopefully now compliant with OBS policy

OBS-URL: https://build.opensuse.org/request/show/110733
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=9
2012-03-23 11:49:05 +00:00
Sascha Peilicke
66be618239 Accepting request 95973 from devel:openSUSE:Factory:for-legal
- fix license to be in spdx.org format

OBS-URL: https://build.opensuse.org/request/show/95973
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=6
2011-12-08 15:04:30 +00:00
Sascha Peilicke
b9861ceb53 Accepting request 90507 from home:HighwayStar:branches:devel:languages:python
Update pyasn1 to 0.1.1, required for pysnmp. Current pysnmp doesnt work with 0.0.13 that avaliable in repository now

OBS-URL: https://build.opensuse.org/request/show/90507
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=4
2011-11-08 07:09:52 +00:00
Sascha Peilicke
c7669cd61e - Packaged documentation
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=2
2011-08-31 16:08:01 +00:00
Sascha Peilicke
c604eb8af2 Intermedia /broken step, fix at home
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=1
2011-08-31 15:09:58 +00:00