14
0

- update to 22.1.0:

* Remove support for SSLv2 and SSLv3.
  * The minimum ``cryptography`` version is now 37.0.2.
  * The ``OpenSSL.crypto.X509StoreContextError`` exception has been refactored,
    changing its internal attributes.
  * Add ``OpenSSL.SSL.Connection.set_verify`` and ``OpenSSL.SSL.Connection.get_verify_mode``
    to override the context object's verification flags.
  * Add ``OpenSSL.SSL.Connection.use_certificate`` and
    ``OpenSSL.SSL.Connection.use_privatekey``
    to set a certificate per connection (and not just per context)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=95
This commit is contained in:
2022-09-29 19:34:28 +00:00
committed by Git OBS Bridge
parent 96d9d4a23f
commit fcf55eaaab
5 changed files with 32 additions and 14 deletions

View File

@@ -27,7 +27,7 @@
%endif
%global skip_python2 1
Name: python-pyOpenSSL%{psuffix}
Version: 22.0.0
Version: 22.1.0
Release: 0
Summary: Python wrapper module around the OpenSSL library
License: Apache-2.0
@@ -41,7 +41,7 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module cryptography >= 35}
BuildRequires: %{python_module cryptography >= 37.0.2}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pyOpenSSL >= %version}
@@ -50,7 +50,7 @@ BuildRequires: ca-certificates-mozilla
BuildRequires: openssl
%endif
Requires: python-cffi
Requires: python-cryptography >= 35
Requires: python-cryptography >= 37.0.2
Provides: pyOpenSSL = %{version}
BuildArch: noarch
%python_subpackages