From e1f60b5eeb97deb0b1c4c512ddffbbac5307d7c53493f20915ecd982e09d472f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 12 Jun 2024 09:50:10 +0000 Subject: [PATCH] - update to libsodium26 - add crypto_kdf_derive.patch to fix crypto_kdf_derive_from_key() on 32-bit platforms the new pack_nonce option allows for the nonce to be omitted his release introduces the DualKey class, secure key saving and loading, Dual Keys are classes which can encrypt and sign data. These classes generate The original time nonce routine used the first 20 chars of the 24 char nonce for the microsecond timestamp (based on salt's jid), leaving 4 chars for random data. This new nonce uses far fewer chars for the timestamp by hex encoding the float of microseconds into just 13 chars, OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libnacl?expand=0&rev=53 --- python-libnacl.changes | 21 +++++++++++++-------- python-libnacl.spec | 2 +- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/python-libnacl.changes b/python-libnacl.changes index cc76435..c04ba30 100644 --- a/python-libnacl.changes +++ b/python-libnacl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 12 09:50:00 UTC 2024 - Dirk Müller + +- update to libsodium26 + ------------------------------------------------------------------- Fri Mar 1 03:20:14 UTC 2024 - Steve Kowalik @@ -16,7 +21,7 @@ Wed Jul 5 08:28:58 UTC 2023 - ecsos ------------------------------------------------------------------- Fri Jun 11 22:36:47 UTC 2021 - Niels Abspoel -- add crypto_kdf_derive.patch to fix crypto_kdf_derive_from_key() on 32-bit platforms +- add crypto_kdf_derive.patch to fix crypto_kdf_derive_from_key() on 32-bit platforms ------------------------------------------------------------------- Thu Feb 18 20:17:07 UTC 2021 - Niels Abspoel @@ -82,7 +87,7 @@ Mon Jan 4 20:13:15 UTC 2016 - aboe76@gmail.com - Updated to 1.4.4 - Add pack_nonce options to secretbox libnacl secretbox has been packing the nonce in each message, - the new pack_nonce option allows for the nonce to be omitted + the new pack_nonce option allows for the nonce to be omitted which allows for more flexible options - Add soversion 17 detection Added explicit soversion support for libsodium 17 @@ -98,7 +103,7 @@ Mon Jan 4 20:13:15 UTC 2016 - aboe76@gmail.com - Updated the description - Removed the patch for soname: libnacl-1.4.3_bump_libsodium_soversion.patch not needed anymore - + ------------------------------------------------------------------- Thu Nov 19 17:04:26 UTC 2015 - mrueckert@suse.de @@ -182,17 +187,17 @@ Thu Aug 14 18:57:32 UTC 2014 - aboe76@gmail.com Wed Jul 30 19:04:29 UTC 2014 - aboe76@gmail.com - Updated to 1.2.0 -his release introduces the DualKey class, secure key saving and loading, +his release introduces the DualKey class, secure key saving and loading, as well as enhancements to the time_nonce function. Dual Key Class -Dual Keys are classes which can encrypt and sign data. These classes generate +Dual Keys are classes which can encrypt and sign data. These classes generate and maintain both Curve25519 and Ed25519 keys, as well as all methods for both encryption and signing. Time Nonce Improvements -The original time nonce routine used the first 20 chars of the 24 char nonce for the microsecond -timestamp (based on salt's jid), leaving 4 chars for random data. This new nonce uses far fewer -chars for the timestamp by hex encoding the float of microseconds into just 13 chars, +The original time nonce routine used the first 20 chars of the 24 char nonce for the microsecond +timestamp (based on salt's jid), leaving 4 chars for random data. This new nonce uses far fewer +chars for the timestamp by hex encoding the float of microseconds into just 13 chars, leaving 11 chars of random data. This makes the default nonce safer and more secure.on. ------------------------------------------------------------------- diff --git a/python-libnacl.spec b/python-libnacl.spec index 10a3239..df9de10 100644 --- a/python-libnacl.spec +++ b/python-libnacl.spec @@ -34,7 +34,7 @@ BuildRequires: python-rpm-macros BuildRequires: pkgconfig(libsodium) # This will need updating and verification but smart magic is not copied by # singlespec macros -Requires: libsodium23 +Requires: libsodium26 BuildArch: noarch %python_subpackages