Hello community, here is the log from the commit of package python-trustme for openSUSE:Factory checked in at 2019-06-07 12:18:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-trustme (Old) and /work/SRC/openSUSE:Factory/.python-trustme.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-trustme" Fri Jun 7 12:18:18 2019 rev:4 rq:707622 version:0.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-trustme/python-trustme.changes 2019-05-03 22:35:22.441168550 +0200 +++ /work/SRC/openSUSE:Factory/.python-trustme.new.4811/python-trustme.changes 2019-06-07 12:18:20.468790935 +0200 @@ -1,0 +2,6 @@ +Tue Jun 4 14:17:59 UTC 2019 - Ondřej Súkup <[email protected]> + +- update to 0.5.2 + * support cryptography-2.7 + +------------------------------------------------------------------- Old: ---- trustme-0.5.1.tar.gz New: ---- trustme-0.5.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-trustme.spec ++++++ --- /var/tmp/diff_new_pack.wraLk1/_old 2019-06-07 12:18:20.964790778 +0200 +++ /var/tmp/diff_new_pack.wraLk1/_new 2019-06-07 12:18:20.964790778 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-trustme -Version: 0.5.1 +Version: 0.5.2 Release: 0 Summary: Fake CA provider for Python tests License: MIT OR Apache-2.0 ++++++ trustme-0.5.1.tar.gz -> trustme-0.5.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trustme-0.5.1/PKG-INFO new/trustme-0.5.2/PKG-INFO --- old/trustme-0.5.1/PKG-INFO 2019-04-15 11:14:58.000000000 +0200 +++ new/trustme-0.5.2/PKG-INFO 2019-06-03 11:16:52.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trustme -Version: 0.5.1 +Version: 0.5.2 Summary: #1 quality TLS certs while you wait, for the discerning tester Home-page: https://github.com/python-trio/trustme Author: Nathaniel J. Smith diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trustme-0.5.1/docs/source/index.rst new/trustme-0.5.2/docs/source/index.rst --- old/trustme-0.5.1/docs/source/index.rst 2019-04-15 09:09:36.000000000 +0200 +++ new/trustme-0.5.2/docs/source/index.rst 2019-06-03 11:12:45.000000000 +0200 @@ -50,6 +50,15 @@ .. towncrier release notes start +Trustme 0.5.2 (2019-06-03) +-------------------------- + +Bugfixes +~~~~~~~~ + +- Update to avoid a deprecation warning on cryptography 2.7. (`#47 <https://github.com/python-trio/trustme/issues/47>`__) + + Trustme 0.5.1 (2019-04-15) -------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trustme-0.5.1/test-requirements.txt new/trustme-0.5.2/test-requirements.txt --- old/trustme-0.5.1/test-requirements.txt 2017-08-03 00:10:54.000000000 +0200 +++ new/trustme-0.5.2/test-requirements.txt 2019-06-03 11:11:17.000000000 +0200 @@ -1,5 +1,30 @@ -pytest -pytest-cov -futures; python_version < "3" -PyOpenSSL -service-identity +# +# This file is autogenerated by pip-compile +# To update, run: +# +# pip-compile test-requirements.in +# +asn1crypto==0.24.0 # via cryptography +atomicwrites==1.3.0 # via pytest +attrs==19.1.0 # via pytest, service-identity +cffi==1.12.3 # via cryptography +coverage==4.5.3 # via pytest-cov +cryptography==2.7 +futures==3.1.1 +idna==2.8 +importlib-metadata==0.17 # via pluggy, pytest +more-itertools==5.0.0 +packaging==19.0 # via pytest +pluggy==0.12.0 # via pytest +py==1.8.0 # via pytest +pyasn1-modules==0.2.5 # via service-identity +pyasn1==0.4.5 # via pyasn1-modules, service-identity +pycparser==2.19 # via cffi +pyopenssl==19.0.0 +pyparsing==2.4.0 # via packaging +pytest-cov==2.7.1 +pytest==4.6.1 +service-identity==18.1.0 +six==1.12.0 # via cryptography, more-itertools, packaging, pyopenssl, pytest +wcwidth==0.1.7 # via pytest +zipp==0.5.1 # via importlib-metadata diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trustme-0.5.1/trustme/__init__.py new/trustme-0.5.2/trustme/__init__.py --- old/trustme-0.5.1/trustme/__init__.py 2019-04-15 09:09:05.000000000 +0200 +++ new/trustme-0.5.2/trustme/__init__.py 2019-06-03 11:11:17.000000000 +0200 @@ -339,8 +339,17 @@ backend=default_backend() ) - ski = self._certificate.extensions.get_extension_for_class( + ski_ext = self._certificate.extensions.get_extension_for_class( x509.SubjectKeyIdentifier) + ski = ski_ext.value + # Workaround a bug in cryptography 2.6 and earlier, where you have to + # pass the extension object instead of the actual SKI object + try: + # The new way + aki = x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier(ski) + except AttributeError: + # The old way + aki = x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier(ski_ext) cert = ( _cert_builder_common( @@ -354,11 +363,7 @@ x509.BasicConstraints(ca=False, path_length=None), critical=True, ) - .add_extension( - x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier( - ski), - critical=False, - ) + .add_extension(aki, critical=False) .add_extension( x509.SubjectAlternativeName( [_identity_string_to_x509(ident) for ident in identities] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trustme-0.5.1/trustme/_version.py new/trustme-0.5.2/trustme/_version.py --- old/trustme-0.5.1/trustme/_version.py 2019-04-15 09:09:26.000000000 +0200 +++ new/trustme-0.5.2/trustme/_version.py 2019-06-03 11:12:29.000000000 +0200 @@ -1 +1 @@ -__version__ = "0.5.1" +__version__ = "0.5.2" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trustme-0.5.1/trustme.egg-info/PKG-INFO new/trustme-0.5.2/trustme.egg-info/PKG-INFO --- old/trustme-0.5.1/trustme.egg-info/PKG-INFO 2019-04-15 11:14:58.000000000 +0200 +++ new/trustme-0.5.2/trustme.egg-info/PKG-INFO 2019-06-03 11:16:52.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trustme -Version: 0.5.1 +Version: 0.5.2 Summary: #1 quality TLS certs while you wait, for the discerning tester Home-page: https://github.com/python-trio/trustme Author: Nathaniel J. Smith
