Hello community,
here is the log from the commit of package python-oscrypto for openSUSE:Factory
checked in at 2020-02-20 14:57:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oscrypto (Old)
and /work/SRC/openSUSE:Factory/.python-oscrypto.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oscrypto"
Thu Feb 20 14:57:44 2020 rev:2 rq:777564 version:1.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oscrypto/python-oscrypto.changes
2019-07-04 15:42:31.522039263 +0200
+++
/work/SRC/openSUSE:Factory/.python-oscrypto.new.26092/python-oscrypto.changes
2020-02-20 14:57:50.474577781 +0100
@@ -1,0 +2,63 @@
+Wed Feb 19 12:00:00 UTC 2020 - [email protected]
+
+- Version bump to 1.2.0
+ * Allow `oscrypto.use_ctypes()`, `oscrypto.use_openssl()` and
+ `oscrypto.use_winlegacy()` to be called after initialization
+ as long as the configuration does not change
+
+- Changes from 1.1.1
+ * Use versioned libcrypto.dylib and libssl.dylib on macOS
+ Catalina to prevent segfaults
+ * Fix warnings reported when using with cffi 1.13.2
+
+- Changes from 1.1.0
+ * Added `oscrypto.load_order()`, which returns a `list` of unicode
+ strings of the names of the fully-qualified module names for all
+ of submodules of the package. The module names are listed in their
+ dependency load order.
+ This is primarily intended for the sake of implementing hot reloading.
+
+- Changes from 1.0.0
+ * Backwards Compatibility Breaks
+ ~ `oscrypto.backend()` will now return `"mac"` instead of
+ `"osx"` when running on a Mac and not explicitly configured
+ to use OpenSSL
+ * Enhancements
+ ~ Added functionality to calculate public keys from private keys
+ since that was removed from asn1crypto:
+ + `asn1crypto.keys.PrivateKeyInfo().unwrap()` is now
+ `asymmetric.PrivateKey().unwrap()`
+ + `asn1crypto.keys.PrivateKeyInfo().public_key` is now
+ `asymmetric.PrivateKey().public_key.unwrap()`
+ + `asn1crypto.keys.PrivateKeyInfo().public_key_info` is now
+ `asymmetric.PrivateKey().public_key.asn1`
+ + `asn1crypto.keys.PrivateKeyInfo().fingerprint` is now
+ `asymmetric.PrivateKey().fingerprint`
+ + `asn1crypto.keys.PublicKeyInfo().unwrap()` is now
+ `asymmetric.PublicKey().unwrap()`
+ + `asn1crypto.keys.PublicKeyInfo().fingerprint` is now
+ `asymmetric.PublicKey().fingerprint`
+ ~ Added `oscrypto.use_ctypes()` to avoid CFFI if desired
+ ~ Added `tls.TLSSocket().port` property
+ ~ Improved handling of disconnects with `tls.TLSSocket()`
+ ~ Improved error messages when dealing with failures originating in OpenSSL
+ ~ Allow PEM-encoded files to have leading whitespace when loaded via
+ `keys.parse_private()`, `keys.parse_public()` and
+ `keys.parse_certificate()`
+ ~ Restructured internal imports of asn1crypto to make vendoring easier
+ ~ No longer touch the user keychain on Macs when generating keys, instead
+ use a temporary one
+ * Bug Fixes
+ ~Fixed compatibility with Python 3.7+
+ ~ Fixed compatibility with LibreSSL version 2.2.x+
+ ~ Fixed a bug where `tls.TLSSocket().read_until()` that would sometimes
read
+ more data from the socket than necessary
+ ~ Fixed a buffer overflow when reading data from an OpenSSL memory bio
+ ~ Fixed a bug in `util.pbkdf2()` that would cause incorrect output in some
+ situations when run on Windows XP or with OpenSSL 0.9.8
+ ~ Fixed `aes_cbc_no_padding_encrypt()` so it can be executed when the
backend
+ is OpenSSL
+ ~ A `SecTrustRef` obtained from `SSLCopyPeerTrust()` on Mac is now
+ properly released
+
+-------------------------------------------------------------------
Old:
----
oscrypto-0.19.1.tar.gz
New:
----
oscrypto-1.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oscrypto.spec ++++++
--- /var/tmp/diff_new_pack.ecIbUu/_old 2020-02-20 14:57:51.718580222 +0100
+++ /var/tmp/diff_new_pack.ecIbUu/_new 2020-02-20 14:57:51.722580229 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-oscrypto
#
-# Copyright (c) 2019 cunix
+# Copyright (c) 2019-2020 cunix
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,7 @@
%endif
Name: python-oscrypto%{psuffix}
-Version: 0.19.1
+Version: 1.2.0
Release: 0
Summary: Python crypto using OS libraries
License: MIT
@@ -36,7 +36,7 @@
URL: https://github.com/wbond/oscrypto
Source:
https://github.com/wbond/oscrypto/archive/%{version}.tar.gz#/oscrypto-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module asn1crypto >= 0.22.0}
+BuildRequires: %{python_module asn1crypto >= 1.0.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with test}
@@ -45,7 +45,7 @@
BuildRequires: ca-certificates-mozilla
%endif
BuildArch: noarch
-Requires: python-asn1crypto >= 0.22.0
+Requires: python-asn1crypto >= 1.0.0
%python_subpackages
%description
@@ -56,7 +56,7 @@
%prep
%setup -q -n oscrypto-%{version}
# /docs has a different readme.md file - should not overwrite main readme.md
-mv readme.md README.md
+mv docs/readme.md docs/docs_readme.md
%build
%python_build
@@ -74,7 +74,7 @@
%files %{python_files}
%license LICENSE
-%doc README.md changelog.md docs/*
+%doc readme.md changelog.md docs/*
%{python_sitelib}/*
%endif
++++++ oscrypto-0.19.1.tar.gz -> oscrypto-1.2.0.tar.gz ++++++
++++ 24973 lines of diff (skipped)