forked from pool/python-pyasn1
Accepting request 455463 from devel:languages:python
corrected source URL OBS-URL: https://build.opensuse.org/request/show/455463 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyasn1?expand=0&rev=23
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f
|
||||
size 75947
|
3
pyasn1-0.2.2.tar.gz
Normal file
3
pyasn1-0.2.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6b42f96b942406712e0be5ea2bbbc57d8f30c7835a4904c9c195cc669736d435
|
||||
size 90946
|
@@ -1,3 +1,66 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 7 07:35:04 UTC 2017 - michael@stroeder.com
|
||||
|
||||
- updated to upstream release 0.2.2 with security fixes
|
||||
- updated project and source URLs and list of doc files
|
||||
|
||||
Revision 0.2.2, released 07-02-2017
|
||||
-----------------------------------
|
||||
|
||||
- FIX TO A SECURITY WEAKNESS: define length only decoders could have successfully
|
||||
processed indefinite length serialization.
|
||||
- FIX TO A SECURITY WEAKNESS: canonical decoders (CER/DER) may have successfully
|
||||
consumed non-canonical variations of (otherwise valid) serialization.
|
||||
- Broken Enumerated subtyping fixed.
|
||||
|
||||
Revision 0.2.1, released 05-02-2017
|
||||
-----------------------------------
|
||||
|
||||
- FIX TO A SECURITY WEAKNESS: BER decoder improperly cached long tags.
|
||||
- New "native" codec implemented to transform pyasn1 types to Python built-in types and back.
|
||||
- Switched to new-style classes.
|
||||
- Sphinx documentation added.
|
||||
- BitString improvements:
|
||||
|
||||
* simple string of binary digits is now supported as initializer
|
||||
* default str() yields string of binary digits (used to yield str(tuple())
|
||||
* binValue and hexValue initializers added
|
||||
* .asNumbers(), .asOctets() and asInteger() representation added
|
||||
|
||||
- Components of constructed ASN.1 types can now be populated with
|
||||
uninitialized ASN.1 objects by assigning either noValue sentinel or
|
||||
setupComponent() function return in addition to now-legacy None sentinel.
|
||||
This should improve code readability.
|
||||
- NoValue class improved to become a singleton and catch more kinds
|
||||
of access to it.
|
||||
- Compatibility wrappers str2octs() and oct2strs() fixed to run over
|
||||
iso-8859-1 encoding.
|
||||
- Integer changed to emit Real instance if division produces a float.
|
||||
- True division operation now supported by Integer type.
|
||||
- The __contains__(), __reverse__() methods implemented for container types
|
||||
- Iterator protocol support implemented for all container types.
|
||||
Warning, warning, warning: this change may potentially affect backward
|
||||
compatibility when:
|
||||
|
||||
* user class overrides __getitem__() without overriding __iter__()
|
||||
* when user code iterates over SEQUENCE object to get its components (now keys will be yielded)
|
||||
|
||||
- Almost complete Python list and dict protocols added to SequenceOf/SetOf and
|
||||
Sequence/Set respectively
|
||||
- Fix to divmod operation implementation in Integer type.
|
||||
- Fix to IntegerDecoder's precomputed value map on Python 3.
|
||||
- Fix to base ASN.1 types to run in "unicode_literals" mode.
|
||||
- Fix to composite constraints "+" operands ordering (AbstractConstraintSet.__radd__)
|
||||
- Fix to constraints merge in .subtype() -- on merge existing constraints are
|
||||
expanded to accommodate new constraints, not the other way round. When existing
|
||||
constraints are wrapped in ConstraintsIntersection composite, additional
|
||||
constraints being added on subtyping effectively further narrow the set of
|
||||
allowed values, which aligns well with the notion of subtyping.
|
||||
- Fix to NamedTypes methods to handle .getTagMap() returning None
|
||||
- Fix to Set/Sequence.setDefaultComponents() to return self
|
||||
- Copyright notice added to non-trivial source code files.
|
||||
- Author's email changed, copyright extended to 2017
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 6 11:18:26 UTC 2015 - hpj@urpla.net
|
||||
|
||||
|
@@ -17,13 +17,13 @@
|
||||
|
||||
|
||||
Name: python-pyasn1
|
||||
Version: 0.1.9
|
||||
Version: 0.2.2
|
||||
Release: 0
|
||||
Summary: ASN.1 types and codecs
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://pyasn1.sf.net/
|
||||
Source: http://pypi.python.org/packages/source/p/pyasn1/pyasn1-%{version}.tar.gz
|
||||
Url: https://github.com/etingof/pyasn1
|
||||
Source: https://pypi.io/packages/source/p/pyasn1/pyasn1-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-pytest
|
||||
BuildRequires: python-setuptools
|
||||
@@ -56,7 +56,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES.txt LICENSE.txt README.txt THANKS.txt TODO.txt doc
|
||||
%doc CHANGES.rst LICENSE.rst README.md THANKS.txt TODO.rst doc
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user