From 47019ea1a7db68e91bc29c4ae852b64a1c84ea2f424e814c0d0b9a1af543ce10 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 1 Mar 2024 03:20:39 +0000 Subject: [PATCH] - Drop patch crypto_kdf_derive.patch, no longer required. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libnacl?expand=0&rev=51 --- crypto_kdf_derive.patch | 12 ------------ python-libnacl.changes | 3 ++- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 crypto_kdf_derive.patch diff --git a/crypto_kdf_derive.patch b/crypto_kdf_derive.patch deleted file mode 100644 index 18596b6..0000000 --- a/crypto_kdf_derive.patch +++ /dev/null @@ -1,12 +0,0 @@ -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 diff --git a/python-libnacl.changes b/python-libnacl.changes index 5741ac4..cc76435 100644 --- a/python-libnacl.changes +++ b/python-libnacl.changes @@ -1,11 +1,12 @@ ------------------------------------------------------------------- -Fri Mar 1 03:19:33 UTC 2024 - Steve Kowalik +Fri Mar 1 03:20:14 UTC 2024 - Steve Kowalik - Update to 2.1.0: * Added classes to the libnacl.aead module allowing for the use of XChaCha20-Poly1305-IETF, ChaCha20-Poly1305-IETF, and AES256-GCM. * Added the libnacl.kx module. This module contains the ExchangeKey class. - Switch to autosetup and pyproject macros. +- Drop patch crypto_kdf_derive.patch, no longer required. ------------------------------------------------------------------- Wed Jul 5 08:28:58 UTC 2023 - ecsos