14
0

Accepting request 638015 from home:ecsos:monitoring

- 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
This commit is contained in:
Tomáš Chvátal
2018-09-25 11:53:30 +00:00
committed by Git OBS Bridge
parent 340632a886
commit f9093ad215
4 changed files with 35 additions and 20 deletions

View File

@@ -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 dont 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

View File

@@ -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}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0630e222f59f91f3db498be46b1d879ff220955d7bbad719a5cb9ad14e3c3036
size 30270

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4001fbb3da19e0df22c47a06d29681a398473af4aa9d745eca525b3b2c2302ab
size 23502