From cdfda926d6bd692cbceed40ab4fda54bba07d07714c57d4599b9123ac480cc65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 9 Oct 2017 07:46:41 +0000 Subject: [PATCH] Accepting request 532593 from home:13ilya:branches:devel:libraries:c_c++ - Refresh spec-file. - Update to 1.0.15. * Release notes: https://github.com/jedisct1/libsodium/releases/tag/1.0.15 * The default password hashing algorithm is now Argon2id. * The pwhash_str_verify() function can still verify Argon2i hashes without any changes, and pwhash() can still compute Argon2i hashes as well. * The aes128ctr primitive was removed. It was slow, non-standard, not authenticated, and didn't seem to be used by any opensource project. * Argon2id required at least 3 passes like Argon2i, despite a minimum of 1 as defined by the OPSLIMIT_MIN constant. This has been fixed. * The secretstream construction was slightly changed to be consistent with forthcoming variants. * The Javascript and Webassembly versions have been merged, and the module now returns a .ready promise that will resolve after the Webassembly code is loaded and compiled. * Note that due to these incompatible changes, the library version major was bumped up. OBS-URL: https://build.opensuse.org/request/show/532593 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsodium?expand=0&rev=60 --- libsodium-1.0.14.tar.gz | 3 --- libsodium-1.0.15.tar.gz | 3 +++ libsodium.changes | 18 ++++++++++++++++++ libsodium.spec | 14 ++++++-------- 4 files changed, 27 insertions(+), 11 deletions(-) delete mode 100644 libsodium-1.0.14.tar.gz create mode 100644 libsodium-1.0.15.tar.gz diff --git a/libsodium-1.0.14.tar.gz b/libsodium-1.0.14.tar.gz deleted file mode 100644 index 0dcd28f..0000000 --- a/libsodium-1.0.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3cfc84d097fdc891b40d291f2ac2c3f99f71a87e36b20cc755c6fa0e97a77ee7 -size 1876526 diff --git a/libsodium-1.0.15.tar.gz b/libsodium-1.0.15.tar.gz new file mode 100644 index 0000000..af1c4e8 --- /dev/null +++ b/libsodium-1.0.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb6a9e879a2f674592e4328c5d9f79f082405ee4bb05cb6e679b90afe9e178f4 +size 1866057 diff --git a/libsodium.changes b/libsodium.changes index a56b439..3194541 100644 --- a/libsodium.changes +++ b/libsodium.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Sun Oct 8 15:50:50 UTC 2017 - ilya@ilya.pp.ua + +- Refresh spec-file. +- Update to 1.0.15. + * Release notes: https://github.com/jedisct1/libsodium/releases/tag/1.0.15 + * The default password hashing algorithm is now Argon2id. + * The pwhash_str_verify() function can still verify Argon2i hashes without any changes, + and pwhash() can still compute Argon2i hashes as well. + * The aes128ctr primitive was removed. It was slow, non-standard, not authenticated, + and didn't seem to be used by any opensource project. + * Argon2id required at least 3 passes like Argon2i, despite a minimum of 1 + as defined by the OPSLIMIT_MIN constant. This has been fixed. + * The secretstream construction was slightly changed to be consistent with forthcoming variants. + * The Javascript and Webassembly versions have been merged, and the module now returns + a .ready promise that will resolve after the Webassembly code is loaded and compiled. + * Note that due to these incompatible changes, the library version major was bumped up. + ------------------------------------------------------------------- Thu Sep 28 19:54:43 UTC 2017 - idonmez@suse.com diff --git a/libsodium.spec b/libsodium.spec index acefa1e..2e07547 100644 --- a/libsodium.spec +++ b/libsodium.spec @@ -12,13 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org # - -%define lname libsodium18 +%define lname libsodium23 Name: libsodium -Version: 1.0.14 +Version: 1.0.15 Release: 0 Summary: Portable NaCl-based crypto library License: ISC @@ -26,7 +25,6 @@ Group: System/Libraries Url: https://github.com/jedisct1/libsodium Source: https://github.com/jedisct1/libsodium/releases/download/%{version}/%{name}-%{version}.tar.gz BuildRequires: pkgconfig -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description NaCl (pronounced "salt") is a new easy-to-use high-speed software library @@ -86,14 +84,14 @@ make %{?_smp_mflags} check %files -n %{lname} %defattr(0644,root,root,0755) -%{_libdir}/libsodium.so.* +%{_libdir}/%{name}.so.* %files devel %defattr(-,root,root) %doc AUTHORS ChangeLog LICENSE README.markdown THANKS %{_includedir}/sodium.h %{_includedir}/sodium -%{_libdir}/libsodium.so -%{_libdir}/pkgconfig/libsodium.pc +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/%{name}.pc %changelog