Thu Oct 12 12:08:39 2017 UTC ()
libsodium: update to 1.0.15

Version 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.


(adam)
diff -r1.10 -r1.11 pkgsrc/security/libsodium/Makefile
diff -r1.7 -r1.8 pkgsrc/security/libsodium/PLIST
diff -r1.11 -r1.12 pkgsrc/security/libsodium/distinfo

cvs diff -r1.10 -r1.11 pkgsrc/security/libsodium/Makefile (expand / switch to unified diff)

--- pkgsrc/security/libsodium/Makefile 2017/08/13 17:09:34 1.10
+++ pkgsrc/security/libsodium/Makefile 2017/10/12 12:08:39 1.11
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.10 2017/08/13 17:09:34 adam Exp $ 1# $NetBSD: Makefile,v 1.11 2017/10/12 12:08:39 adam Exp $
2 2
3DISTNAME= libsodium-1.0.13 3DISTNAME= libsodium-1.0.15
4CATEGORIES= security 4CATEGORIES= security
5MASTER_SITES= https://download.libsodium.org/libsodium/releases/ 5MASTER_SITES= https://download.libsodium.org/libsodium/releases/
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= https://download.libsodium.org/doc/ 8HOMEPAGE= https://download.libsodium.org/doc/
9COMMENT= Library for build higher-level cryptographic tools 9COMMENT= Library for build higher-level cryptographic tools
10LICENSE= isc 10LICENSE= isc
11 11
12USE_LIBTOOL= yes 12USE_LIBTOOL= yes
13GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
14PKGCONFIG_OVERRIDE= libsodium.pc.in 14PKGCONFIG_OVERRIDE= libsodium.pc.in
15 15
16TEST_TARGET= check 16TEST_TARGET= check

cvs diff -r1.7 -r1.8 pkgsrc/security/libsodium/PLIST (expand / switch to unified diff)

--- pkgsrc/security/libsodium/PLIST 2017/08/13 17:09:34 1.7
+++ pkgsrc/security/libsodium/PLIST 2017/10/12 12:08:39 1.8
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.7 2017/08/13 17:09:34 adam Exp $ 1@comment $NetBSD: PLIST,v 1.8 2017/10/12 12:08:39 adam Exp $
2include/sodium.h 2include/sodium.h
3include/sodium/core.h 3include/sodium/core.h
4include/sodium/crypto_aead_aes256gcm.h 4include/sodium/crypto_aead_aes256gcm.h
5include/sodium/crypto_aead_chacha20poly1305.h 5include/sodium/crypto_aead_chacha20poly1305.h
6include/sodium/crypto_aead_xchacha20poly1305.h 6include/sodium/crypto_aead_xchacha20poly1305.h
7include/sodium/crypto_auth.h 7include/sodium/crypto_auth.h
8include/sodium/crypto_auth_hmacsha256.h 8include/sodium/crypto_auth_hmacsha256.h
9include/sodium/crypto_auth_hmacsha512.h 9include/sodium/crypto_auth_hmacsha512.h
10include/sodium/crypto_auth_hmacsha512256.h 10include/sodium/crypto_auth_hmacsha512256.h
11include/sodium/crypto_box.h 11include/sodium/crypto_box.h
12include/sodium/crypto_box_curve25519xchacha20poly1305.h 12include/sodium/crypto_box_curve25519xchacha20poly1305.h
13include/sodium/crypto_box_curve25519xsalsa20poly1305.h 13include/sodium/crypto_box_curve25519xsalsa20poly1305.h
14include/sodium/crypto_core_hchacha20.h 14include/sodium/crypto_core_hchacha20.h
@@ -25,33 +25,33 @@ include/sodium/crypto_kdf.h @@ -25,33 +25,33 @@ include/sodium/crypto_kdf.h
25include/sodium/crypto_kdf_blake2b.h 25include/sodium/crypto_kdf_blake2b.h
26include/sodium/crypto_kx.h 26include/sodium/crypto_kx.h
27include/sodium/crypto_onetimeauth.h 27include/sodium/crypto_onetimeauth.h
28include/sodium/crypto_onetimeauth_poly1305.h 28include/sodium/crypto_onetimeauth_poly1305.h
29include/sodium/crypto_pwhash.h 29include/sodium/crypto_pwhash.h
30include/sodium/crypto_pwhash_argon2i.h 30include/sodium/crypto_pwhash_argon2i.h
31include/sodium/crypto_pwhash_argon2id.h 31include/sodium/crypto_pwhash_argon2id.h
32include/sodium/crypto_pwhash_scryptsalsa208sha256.h 32include/sodium/crypto_pwhash_scryptsalsa208sha256.h
33include/sodium/crypto_scalarmult.h 33include/sodium/crypto_scalarmult.h
34include/sodium/crypto_scalarmult_curve25519.h 34include/sodium/crypto_scalarmult_curve25519.h
35include/sodium/crypto_secretbox.h 35include/sodium/crypto_secretbox.h
36include/sodium/crypto_secretbox_xchacha20poly1305.h 36include/sodium/crypto_secretbox_xchacha20poly1305.h
37include/sodium/crypto_secretbox_xsalsa20poly1305.h 37include/sodium/crypto_secretbox_xsalsa20poly1305.h
 38include/sodium/crypto_secretstream_xchacha20poly1305.h
38include/sodium/crypto_shorthash.h 39include/sodium/crypto_shorthash.h
39include/sodium/crypto_shorthash_siphash24.h 40include/sodium/crypto_shorthash_siphash24.h
40include/sodium/crypto_sign.h 41include/sodium/crypto_sign.h
41include/sodium/crypto_sign_ed25519.h 42include/sodium/crypto_sign_ed25519.h
42include/sodium/crypto_sign_edwards25519sha512batch.h 43include/sodium/crypto_sign_edwards25519sha512batch.h
43include/sodium/crypto_stream.h 44include/sodium/crypto_stream.h
44include/sodium/crypto_stream_aes128ctr.h 
45include/sodium/crypto_stream_chacha20.h 45include/sodium/crypto_stream_chacha20.h
46include/sodium/crypto_stream_salsa20.h 46include/sodium/crypto_stream_salsa20.h
47include/sodium/crypto_stream_salsa2012.h 47include/sodium/crypto_stream_salsa2012.h
48include/sodium/crypto_stream_salsa208.h 48include/sodium/crypto_stream_salsa208.h
49include/sodium/crypto_stream_xchacha20.h 49include/sodium/crypto_stream_xchacha20.h
50include/sodium/crypto_stream_xsalsa20.h 50include/sodium/crypto_stream_xsalsa20.h
51include/sodium/crypto_verify_16.h 51include/sodium/crypto_verify_16.h
52include/sodium/crypto_verify_32.h 52include/sodium/crypto_verify_32.h
53include/sodium/crypto_verify_64.h 53include/sodium/crypto_verify_64.h
54include/sodium/export.h 54include/sodium/export.h
55include/sodium/randombytes.h 55include/sodium/randombytes.h
56include/sodium/randombytes_salsa20_random.h 56include/sodium/randombytes_salsa20_random.h
57include/sodium/randombytes_sysrandom.h 57include/sodium/randombytes_sysrandom.h

cvs diff -r1.11 -r1.12 pkgsrc/security/libsodium/distinfo (expand / switch to unified diff)

--- pkgsrc/security/libsodium/distinfo 2017/08/13 17:09:34 1.11
+++ pkgsrc/security/libsodium/distinfo 2017/10/12 12:08:39 1.12
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.11 2017/08/13 17:09:34 adam Exp $ 1$NetBSD: distinfo,v 1.12 2017/10/12 12:08:39 adam Exp $
2 2
3SHA1 (libsodium-1.0.13.tar.gz) = ba6062fa723e653c6d85a80c3616128e797482ec 3SHA1 (libsodium-1.0.15.tar.gz) = 0597479c842300a3b060898f1acfe09ca032736a
4RMD160 (libsodium-1.0.13.tar.gz) = d1b457da7ebeac092bbc1d60ebbf36b6a3a85a26 4RMD160 (libsodium-1.0.15.tar.gz) = 84791d8341181225acfa3bba5d1168460e73684a
5SHA512 (libsodium-1.0.13.tar.gz) = c619b12fdf0b2e59174b6e383a62d5499ebcd720fdbb2c1a41a98a46c285df075202423454b294fefee185432441e943805397d7656f7cd7837de425da623929 5SHA512 (libsodium-1.0.15.tar.gz) = 299a208f8342793d13498e95b23f1749f5b5b13ec276db3ec401130615e837ef475b6a1283b6e87a5f8227d23e70e38ca721073dadd5dc88fe4aff342aa64adc
6Size (libsodium-1.0.13.tar.gz) = 1895139 bytes 6Size (libsodium-1.0.15.tar.gz) = 1866057 bytes