14
0
forked from pool/python-pyasn1
Commit Graph

47 Commits

Author SHA256 Message Date
85bc382bc2 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
b132c06173 - 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
b947e510cb - 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
c0cb2901b6 - 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
34623af9b2 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
2da9318d6e 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
c3d5dd1ab7 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
8e8f0b00d9 - 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
0891d17031 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
970a495290 - 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
7e2061540c 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
78a041eff7 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
1e08ecb59d 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
f85ecb5c79 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
b189b8e982 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
9d7109d4c1 - 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
6721402479 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
3597e5963d 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
de629df5d1 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
dee88126f9 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
7969906460 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
661e521144 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
2c52bf11a3 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
c8f99a7f5f 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
e3b75f0229 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
073266f7df 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
85d2b594bc 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ř
9dbed529c0 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
ba16cb888f 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
2cba06f791 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ř
f0be8820fc 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
f8ebdbdb62 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
78f556b185 - 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
4c6ab9ed74 - 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
efcfd09cce - 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
a6b4fec61f 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
4034fa289d 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
412bba8ceb 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
27552fe271 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
6f7db4cb23 - 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
ac4c8c46ce 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
1aa4824616 - 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
af86c76ff0 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
126908e56c 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
db96616086 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
c148982cf0 - 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
a56dc8ed2b 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