Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-libnacl for openSUSE:Factory checked in at 2021-06-12 20:08:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-libnacl (Old) and /work/SRC/openSUSE:Factory/.python-libnacl.new.32437 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-libnacl" Sat Jun 12 20:08:11 2021 rev:21 rq:899581 version:1.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-libnacl/python-libnacl.changes 2021-02-19 23:45:02.699350432 +0100 +++ /work/SRC/openSUSE:Factory/.python-libnacl.new.32437/python-libnacl.changes 2021-06-12 20:10:34.245191801 +0200 @@ -1,0 +2,5 @@ +Fri Jun 11 22:36:47 UTC 2021 - Niels Abspoel <abo...@gmail.com> + +- add crypto_kdf_derive.patch to fix crypto_kdf_derive_from_key() on 32-bit platforms + +------------------------------------------------------------------- New: ---- crypto_kdf_derive.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-libnacl.spec ++++++ --- /var/tmp/diff_new_pack.wjgtMY/_old 2021-06-12 20:10:34.697192588 +0200 +++ /var/tmp/diff_new_pack.wjgtMY/_new 2021-06-12 20:10:34.701192595 +0200 @@ -24,6 +24,7 @@ License: Apache-2.0 URL: https://github.com/saltstack/libnacl Source0: https://github.com/saltstack/libnacl/archive/v%{version}.tar.gz#/libnacl-%{version}.tar.gz +Patch0: crypto_kdf_derive.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -42,6 +43,7 @@ %prep %setup -q -n libnacl-%{version} +%patch0 -p1 %build %python_build ++++++ crypto_kdf_derive.patch ++++++ diff -rub libnacl-1.7.2/libnacl/__init__.py libnacl-1.7.2-patched/libnacl/__init__.py --- libnacl-1.7.2/libnacl/__init__.py 2020-11-03 22:34:59.000000000 +0100 +++ libnacl-1.7.2-patched/libnacl/__init__.py 2021-06-12 00:31:42.133601308 +0200 @@ -1180,7 +1180,7 @@ ''' size = int(subkey_size) buf = ctypes.create_string_buffer(size) - nacl.crypto_kdf_derive_from_key(buf, subkey_size, subkey_id, context, master_key) + nacl.crypto_kdf_derive_from_key(buf, subkey_size, ctypes.c_ulonglong(subkey_id), context, master_key) return buf.raw # Key Exchange API