From f9093ad215afb2ee9cbfe51af7f115e5af511ad708679fc11aa2f1ab6c6cade8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 25 Sep 2018 11:53:30 +0000 Subject: [PATCH] Accepting request 638015 from home:ecsos:monitoring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to 17.0.0: * Deprecations: - Since Chrome 58 and Firefox 48 both don’t accept certificates that contain only a Common Name, its usage is hereby deprecated in service_identity too. We have been raising a warning since 16.0.0 and the support will be removed in mid-2018 for good. * Changes: - When service_identity.SubjectAltNameWarning is raised, the Common Name of the certificate is now included in the warning message. #17 - Added cryptography.x509 backend for verifying certificates. #18 - Wildcards (*) are now only allowed if they are the leftmost label in a certificate. This is common practice by all major browsers. #19 OBS-URL: https://build.opensuse.org/request/show/638015 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-service_identity?expand=0&rev=9 --- python-service_identity.changes | 20 ++++++++++++++++++++ python-service_identity.spec | 29 ++++++++++++----------------- service_identity-16.0.0.tar.gz | 3 --- service_identity-17.0.0.tar.gz | 3 +++ 4 files changed, 35 insertions(+), 20 deletions(-) delete mode 100644 service_identity-16.0.0.tar.gz create mode 100644 service_identity-17.0.0.tar.gz diff --git a/python-service_identity.changes b/python-service_identity.changes index cfffc3c..7e0d0cc 100644 --- a/python-service_identity.changes +++ b/python-service_identity.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Sep 24 13:16:17 UTC 2018 - ecsos@opensuse.org + +- Update to 17.0.0: + * Deprecations: + - Since Chrome 58 and Firefox 48 both don’t accept certificates + that contain only a Common Name, its usage is hereby + deprecated in service_identity too. We have been raising + a warning since 16.0.0 and the support will be removed in + mid-2018 for good. + * Changes: + - When service_identity.SubjectAltNameWarning is raised, the + Common Name of the certificate is now included in the warning + message. #17 + - Added cryptography.x509 backend for verifying certificates. + #18 + - Wildcards (*) are now only allowed if they are the leftmost + label in a certificate. This is common practice by all major + browsers. #19 + ------------------------------------------------------------------- Sat Jul 1 15:09:29 UTC 2017 - okurz@suse.com diff --git a/python-service_identity.spec b/python-service_identity.spec index 39a9dd2..e486fd9 100644 --- a/python-service_identity.spec +++ b/python-service_identity.spec @@ -1,7 +1,7 @@ # # spec file for package python-service_identity # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2014 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -19,39 +19,34 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oname service_identity - +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else +BuildArch: noarch +%endif Name: python-service_identity -Version: 16.0.0 +Version: 17.0.0 Release: 0 Summary: Service identity verification for pyOpenSSL License: MIT Group: Development/Languages/Python -Url: https://github.com/pyca/service_identity +URL: https://github.com/pyca/service_identity Source0: https://pypi.io/packages/source/s/%{oname}/%{oname}-%{version}.tar.gz +# Documentation +BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module attrs} BuildRequires: %{python_module devel} BuildRequires: %{python_module pyOpenSSL >= 0.14} BuildRequires: %{python_module pyasn1-modules} BuildRequires: %{python_module pyasn1} BuildRequires: %{python_module setuptools} -# Documentation -BuildRequires: %{python_module Sphinx} BuildRequires: fdupes BuildRequires: python-rpm-macros - Requires: python-attrs Requires: python-pyOpenSSL >= 0.14 Requires: python-pyasn1 Requires: python-pyasn1-modules Requires: python-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch -%endif - %python_subpackages %description @@ -81,8 +76,8 @@ install -Dm 0644 docs/_build/man/%{oname}.1 %{buildroot}%{_mandir}/man1/%{oname} %fdupes %{buildroot}%{_prefix} %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS.rst LICENSE README.rst docs/_build/singlehtml/index.html +%license LICENSE +%doc AUTHORS.rst README.rst docs/_build/singlehtml/index.html %{_mandir}/man1/*-%{python_bin_suffix}.1%{?ext_man} %python3_only %{_mandir}/man1/%{oname}.1%{?ext_man} %{python_sitelib}/%{oname} diff --git a/service_identity-16.0.0.tar.gz b/service_identity-16.0.0.tar.gz deleted file mode 100644 index 7e743cd..0000000 --- a/service_identity-16.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0630e222f59f91f3db498be46b1d879ff220955d7bbad719a5cb9ad14e3c3036 -size 30270 diff --git a/service_identity-17.0.0.tar.gz b/service_identity-17.0.0.tar.gz new file mode 100644 index 0000000..9a8ef2f --- /dev/null +++ b/service_identity-17.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4001fbb3da19e0df22c47a06d29681a398473af4aa9d745eca525b3b2c2302ab +size 23502