Hello community, here is the log from the commit of package python-pyasn1 for openSUSE:Factory checked in at 2017-02-10 09:52:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyasn1 (Old) and /work/SRC/openSUSE:Factory/.python-pyasn1.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyasn1" Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyasn1/python-pyasn1.changes 2015-10-14 16:42:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyasn1.new/python-pyasn1.changes 2017-02-10 09:52:46.594013603 +0100 @@ -1,0 +2,63 @@ +Tue Feb 7 07:35:04 UTC 2017 - [email protected] + +- 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 + +------------------------------------------------------------------- Old: ---- pyasn1-0.1.9.tar.gz New: ---- pyasn1-0.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyasn1.spec ++++++ --- /var/tmp/diff_new_pack.B8oWnR/_old 2017-02-10 09:52:47.037950832 +0100 +++ /var/tmp/diff_new_pack.B8oWnR/_new 2017-02-10 09:52:47.041950266 +0100 @@ -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 @@ %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 ++++++ pyasn1-0.1.9.tar.gz -> pyasn1-0.2.2.tar.gz ++++++ ++++ 20997 lines of diff (skipped)
