1
0

Accepting request 298537 from home:Nijel:branches:devel:languages:python

- udapte to 0.15.1
	* OpenSSL/SSL.py, OpenSSL/test/test_ssl.py: Fix a regression
	  present in 0.15, where when an error occurs and no errno() is set,
	  a KeyError is raised.  This happens, for example, if
	  Connection.shutdown() is called when the underlying transport has
	  gone away.
	* OpenSSL/rand.py, OpenSSL/SSL.py: APIs which previously accepted
	  filenames only as bytes now accept them as either bytes or
	  unicode (and respect sys.getfilesystemencoding()).
	* OpenSSL/SSL.py: Add Cory Benfield's next-protocol-negotiation
	  (NPN) bindings.
	* OpenSSL/SSL.py: Add ``Connection.recv_into``, mirroring the
	  builtin ``socket.recv_into``.  Based on work from Cory Benfield.
	* OpenSSL/test/test_ssl.py: Add tests for ``recv_into``.
	* OpenSSL/crypto.py: Expose ``X509StoreContext`` for verifying certificates.
	* OpenSSL/test/test_crypto.py: Add intermediate certificates for
	* OpenSSL/SSL.py: ``Connection.shutdown`` now propagates errors from the
	  underlying socket.
	* OpenSSL/SSL.py: Fixed a regression ``Context.check_privatekey``
	  causing it to always succeed - even if it should fail.
	* OpenSSL/crypto.py: Fixed a regression where calling ``load_pkcs7_data``
	  with ``FILETYPE_ASN1`` would fail with a ``NameError``.
	* OpenSSL/SSL.py: Fix a regression in which the first argument of
- Do not hardcode version in file list

OBS-URL: https://build.opensuse.org/request/show/298537
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=31
This commit is contained in:
Michal Čihař 2015-04-22 09:57:59 +00:00 committed by Git OBS Bridge
parent 859b1d46e6
commit a5c1b2258e
4 changed files with 40 additions and 8 deletions

View File

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

3
pyOpenSSL-0.15.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Wed Apr 22 09:50:09 UTC 2015 - mcihar@suse.cz
- Do not hardcode version in file list
-------------------------------------------------------------------
Wed Apr 22 09:42:53 UTC 2015 - mcihar@suse.cz
- udapte to 0.15.1
* OpenSSL/SSL.py, OpenSSL/test/test_ssl.py: Fix a regression
present in 0.15, where when an error occurs and no errno() is set,
a KeyError is raised. This happens, for example, if
Connection.shutdown() is called when the underlying transport has
gone away.
* OpenSSL/rand.py, OpenSSL/SSL.py: APIs which previously accepted
filenames only as bytes now accept them as either bytes or
unicode (and respect sys.getfilesystemencoding()).
* OpenSSL/SSL.py: Add Cory Benfield's next-protocol-negotiation
(NPN) bindings.
* OpenSSL/SSL.py: Add ``Connection.recv_into``, mirroring the
builtin ``socket.recv_into``. Based on work from Cory Benfield.
* OpenSSL/test/test_ssl.py: Add tests for ``recv_into``.
* OpenSSL/crypto.py: Expose ``X509StoreContext`` for verifying certificates.
* OpenSSL/test/test_crypto.py: Add intermediate certificates for
* OpenSSL/SSL.py: ``Connection.shutdown`` now propagates errors from the
underlying socket.
* OpenSSL/SSL.py: Fixed a regression ``Context.check_privatekey``
causing it to always succeed - even if it should fail.
* OpenSSL/crypto.py: Fixed a regression where calling ``load_pkcs7_data``
with ``FILETYPE_ASN1`` would fail with a ``NameError``.
* OpenSSL/SSL.py: Fix a regression in which the first argument of
-------------------------------------------------------------------
Mon Feb 24 12:58:58 UTC 2014 - mvyskocil@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pyOpenSSL
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: python-pyOpenSSL
Version: 0.14
Version: 0.15.1
Release: 0
Url: https://github.com/pyca/pyopenssl
Summary: Python wrapper module around the OpenSSL library
@ -28,10 +28,10 @@ Patch0: bug-lp-1265482.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: python-Sphinx
BuildRequires: python-cryptography >= 0.2
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: python-Sphinx
Requires: python-cryptography >= 0.2
@ -72,9 +72,9 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(0644,root,root,0755)
%doc LICENSE README TODO
%doc LICENSE README.rst TODO
%{python_sitelib}/OpenSSL/
%{python_sitelib}/pyOpenSSL-0.14-py*.egg-info/
%{python_sitelib}/pyOpenSSL-%{version}-py*.egg-info/
%files doc
%defattr(0644,root,root,0755)