14
0

- 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
This commit is contained in:
2024-03-01 03:20:39 +00:00
committed by Git OBS Bridge
parent 585cacd1ce
commit 47019ea1a7
2 changed files with 2 additions and 13 deletions

View File

@@ -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

View File

@@ -1,11 +1,12 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 1 03:19:33 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com> Fri Mar 1 03:20:14 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.1.0: - Update to 2.1.0:
* Added classes to the libnacl.aead module allowing for the use of * Added classes to the libnacl.aead module allowing for the use of
XChaCha20-Poly1305-IETF, ChaCha20-Poly1305-IETF, and AES256-GCM. XChaCha20-Poly1305-IETF, ChaCha20-Poly1305-IETF, and AES256-GCM.
* Added the libnacl.kx module. This module contains the ExchangeKey class. * Added the libnacl.kx module. This module contains the ExchangeKey class.
- Switch to autosetup and pyproject macros. - Switch to autosetup and pyproject macros.
- Drop patch crypto_kdf_derive.patch, no longer required.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 5 08:28:58 UTC 2023 - ecsos <ecsos@opensuse.org> Wed Jul 5 08:28:58 UTC 2023 - ecsos <ecsos@opensuse.org>