Hello community, here is the log from the commit of package ghc-cryptonite for openSUSE:Factory checked in at 2018-05-30 12:06:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-cryptonite (Old) and /work/SRC/openSUSE:Factory/.ghc-cryptonite.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-cryptonite" Wed May 30 12:06:05 2018 rev:9 rq:607777 version:0.25 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-cryptonite/ghc-cryptonite.changes 2017-09-15 21:29:48.735361458 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-cryptonite.new/ghc-cryptonite.changes 2018-05-30 12:25:20.026273976 +0200 @@ -1,0 +2,41 @@ +Mon May 14 17:02:11 UTC 2018 - [email protected] + +- Update cryptonite to version 0.25. + * Improve digest binary conversion efficiency + * AES CCM support + * Add MonadFailure instance for CryptoFailable + * Various misc improvements on documentation + * Edwards25519 lowlevel arithmetic support + * P256 add point negation + * Improvement in ECC (benchmark, better normalization) + * Blake2 improvements to context size + * Use gauge instead of criterion + * Use haskell-ci for CI scripts + * Improve Digest memory representation to be 2 less Ints and one less boxing + moving from `UArray` to `Block` + * Ed25519: generateSecret & Documentation updates + * Repair tutorial + * RSA: Allow signing digest directly + * IV add: fix overflow behavior + * P256: validate point when decoding + * Compilation fix with deepseq disabled + * Improve Curve448 and use decaf for Ed448 + * Compilation flag blake2 sse merged in sse support + * Process unaligned data better in hashes and AES, on architecture needing alignment + * Drop support for ghc 7.6 + * Add ability to create random generator Seed from binary data and + loosen constraint on ChaChaDRG seed from ByteArray to ByteArrayAccess. + * Add 3 associated types with the HashAlgorithm class, to get + access to the constant for BlockSize, DigestSize and ContextSize at the type level. + the related function that this replaced will be deprecated in later release, and + eventually removed. + + API CHANGES: + + * Improve ECDH safety to return failure for bad inputs (e.g. public point in small order subgroup). + To go back to previous behavior you can replace `ecdh` by `ecdhRaw`. It's recommended to + use `ecdh` and handle the error appropriately. + * Users defining their own HashAlgorithm needs to define the + HashBlockSize, HashDigest, HashInternalContextSize associated types + +------------------------------------------------------------------- Old: ---- cryptonite-0.23.tar.gz New: ---- cryptonite-0.25.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-cryptonite.spec ++++++ --- /var/tmp/diff_new_pack.VS3DOQ/_old 2018-05-30 12:25:20.782249219 +0200 +++ /var/tmp/diff_new_pack.VS3DOQ/_new 2018-05-30 12:25:20.786249088 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-cryptonite # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name cryptonite %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.23 +Version: 0.25 Release: 0 Summary: Cryptography Primitives sink License: BSD-3-Clause @@ -27,11 +27,12 @@ URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-basement-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-deepseq-devel -BuildRequires: ghc-foundation-devel BuildRequires: ghc-memory-devel BuildRequires: ghc-rpm-macros +BuildRequires: glibc-devel %if %{with tests} BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-hunit-devel @@ -42,8 +43,8 @@ %description A repository of cryptographic primitives. -* Symmetric ciphers: AES, DES, 3DES, Blowfish, Camellia, RC4, Salsa, XSalsa, -ChaCha. +* Symmetric ciphers: AES, DES, 3DES, CAST5, Blowfish, Twofish, Camellia, RC4, +Salsa, XSalsa, ChaCha. * Hash: SHA1, SHA2, SHA3, SHAKE, MD2, MD4, MD5, Keccak, Skein, Ripemd, Tiger, Whirlpool, Blake2 @@ -51,7 +52,7 @@ * MAC: HMAC, Poly1305 * Asymmetric crypto: DSA, RSA, DH, ECDH, ECDSA, ECC, Curve25519, Curve448, -Ed25519 +Ed25519, Ed448 * Key Derivation Function: PBKDF2, Scrypt, HKDF, Argon2 @@ -73,6 +74,7 @@ Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} +Requires: glibc-devel Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} @@ -83,7 +85,7 @@ %setup -q -n %{pkg_name}-%{version} %build -%define cabal_configure_options -f-support_aesni -f-support_rdrand -f-support_blake2_sse +%define cabal_configure_options -f-support_aesni -f-support_blake2_sse -f-support_rdrand %ghc_lib_build %install @@ -99,7 +101,7 @@ %ghc_pkg_recache %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files %doc CHANGELOG.md README.md ++++++ cryptonite-0.23.tar.gz -> cryptonite-0.25.tar.gz ++++++ ++++ 13845 lines of diff (skipped)
