web3-crypto 1.0.0.0 → 1.0.1.0
raw patch · 14 files changed
+96/−41 lines, 14 filesdep +cryptondep −cryptonitedep ~aesondep ~basedep ~bytestringPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies added: crypton
Dependencies removed: cryptonite
Dependency ranges changed: aeson, base, bytestring, hspec, hspec-discover, memory, text, vector
API changes (from Hackage documentation)
- Crypto.Ethereum: data PrivateKey
+ Crypto.Ethereum: data () => PrivateKey
- Crypto.Ethereum: data PublicKey
+ Crypto.Ethereum: data () => PublicKey
Files
- src/Crypto/Bip39.hs +1/−1
- src/Crypto/Ecdsa/Signature.hs +1/−1
- src/Crypto/Ecdsa/Utils.hs +1/−1
- src/Crypto/Ethereum.hs +1/−1
- src/Crypto/Ethereum/Keyfile.hs +1/−1
- src/Crypto/Ethereum/Signature.hs +1/−1
- src/Crypto/Ethereum/Utils.hs +1/−1
- src/Crypto/Random/HmacDrbg.hs +1/−1
- tests/Crypto/Ethereum/Test/KeyfileSpec.hs +11/−0
- tests/Crypto/Ethereum/Test/SignatureSpec.hs +11/−0
- tests/Crypto/Random/Test/HmacDrbgSpec.hs +12/−0
- tests/Data/Digest/Test/Blake2Spec.hs +11/−0
- tests/Data/Digest/Test/XXHashSpec.hs +11/−0
- web3-crypto.cabal +32/−33
src/Crypto/Bip39.hs view
@@ -2,7 +2,7 @@ -- | -- Module : Crypto.Bip39--- Copyright : Aleksandr Krupenkin 2016-2021+-- Copyright : Aleksandr Krupenkin 2016-2024 -- License : Apache-2.0 -- -- Maintainer : mail@akru.me
src/Crypto/Ecdsa/Signature.hs view
@@ -2,7 +2,7 @@ -- | -- Module : Crypto.Ecdsa.Signature--- Copyright : Aleksandr Krupenkin 2016-2021+-- Copyright : Aleksandr Krupenkin 2016-2024 -- License : Apache-2.0 -- -- Maintainer : mail@akru.me
src/Crypto/Ecdsa/Utils.hs view
@@ -1,6 +1,6 @@ -- | -- Module : Crypto.Ecdsa.Utils--- Copyright : Aleksandr Krupenkin 2016-2021+-- Copyright : Aleksandr Krupenkin 2016-2024 -- License : Apache-2.0 -- -- Maintainer : mail@akru.me
src/Crypto/Ethereum.hs view
@@ -1,6 +1,6 @@ -- | -- Module : Crypto.Ethereum--- Copyright : Aleksandr Krupenkin 2016-2021+-- Copyright : Aleksandr Krupenkin 2016-2024 -- License : Apache-2.0 -- -- Maintainer : mail@akru.me
src/Crypto/Ethereum/Keyfile.hs view
@@ -4,7 +4,7 @@ -- | -- Module : Crypto.Ethereum.Keyfile--- Copyright : Aleksandr Krupenkin 2016-2021+-- Copyright : Aleksandr Krupenkin 2016-2024 -- License : Apache-2.0 -- -- Maintainer : mail@akru.me
src/Crypto/Ethereum/Signature.hs view
@@ -2,7 +2,7 @@ -- | -- Module : Crypto.Ecdsa.Signature--- Copyright : Aleksandr Krupenkin 2016-2021+-- Copyright : Aleksandr Krupenkin 2016-2024 -- License : Apache-2.0 -- -- Maintainer : mail@akru.me
src/Crypto/Ethereum/Utils.hs view
@@ -1,6 +1,6 @@ -- | -- Module : Crypto.Ethereum.Utils--- Copyright : Aleksandr Krupenkin 2016-2021+-- Copyright : Aleksandr Krupenkin 2016-2024 -- License : Apache-2.0 -- -- Maintainer : mail@akru.me
src/Crypto/Random/HmacDrbg.hs view
@@ -1,6 +1,6 @@ -- | -- Module : Crypto.Random.HmacDrbg--- Copyright : Aleksandr Krupenkin 2016-2021+-- Copyright : Aleksandr Krupenkin 2016-2024 -- License : Apache-2.0 -- -- Maintainer : mail@akru.me
tests/Crypto/Ethereum/Test/KeyfileSpec.hs view
@@ -1,4 +1,15 @@ {-# LANGUAGE OverloadedStrings #-}++-- |+-- Module : Crypto.Ethereum.Test.KeyfileSpec+-- Copyright : Aleksandr Krupenkin 2016-2024+-- License : Apache-2.0+--+-- Maintainer : mail@akru.me+-- Stability : experimental+-- Portability : unportable+--+ module Crypto.Ethereum.Test.KeyfileSpec where import Data.Aeson (eitherDecode)
tests/Crypto/Ethereum/Test/SignatureSpec.hs view
@@ -1,4 +1,15 @@ {-# LANGUAGE OverloadedStrings #-}++-- |+-- Module : Crypto.Ethereum.Test.SignatureSpec+-- Copyright : Aleksandr Krupenkin 2016-2024+-- License : Apache-2.0+--+-- Maintainer : mail@akru.me+-- Stability : experimental+-- Portability : unportable+--+ module Crypto.Ethereum.Test.SignatureSpec where import Crypto.Ecdsa.Utils (importKey)
tests/Crypto/Random/Test/HmacDrbgSpec.hs view
@@ -1,5 +1,17 @@ {-# LANGUAGE OverloadedStrings #-}++-- |+-- Module : Crypto.Random.Test.HmacDrbgSpec+-- Copyright : Aleksandr Krupenkin 2016-2024+-- License : Apache-2.0+--+-- Maintainer : mail@akru.me+-- Stability : experimental+-- Portability : unportable+-- -- Inspired by https://github.com/indutny/hmac-drbg+--+ module Crypto.Random.Test.HmacDrbgSpec where import Crypto.Hash.Algorithms (SHA256)
tests/Data/Digest/Test/Blake2Spec.hs view
@@ -1,4 +1,15 @@ {-# LANGUAGE OverloadedStrings #-}++-- |+-- Module : Data.Digest.Test.Blake2Spec+-- Copyright : Aleksandr Krupenkin 2016-2024+-- License : Apache-2.0+--+-- Maintainer : mail@akru.me+-- Stability : experimental+-- Portability : unportable+--+ module Data.Digest.Test.Blake2Spec where import Data.ByteArray (convert)
tests/Data/Digest/Test/XXHashSpec.hs view
@@ -1,4 +1,15 @@ {-# LANGUAGE OverloadedStrings #-}++-- |+-- Module : Data.Digest.Test.XXHashSpec+-- Copyright : Aleksandr Krupenkin 2016-2024+-- License : Apache-2.0+--+-- Maintainer : mail@akru.me+-- Stability : experimental+-- Portability : unportable+--+ module Data.Digest.Test.XXHashSpec where import Data.ByteArray (convert)
web3-crypto.cabal view
@@ -1,9 +1,9 @@ cabal-version: 1.12 name: web3-crypto-version: 1.0.0.0+version: 1.0.1.0 license: Apache-2.0 license-file: LICENSE-copyright: (c) Aleksandr Krupenkin 2016-2021+copyright: (c) Aleksandr Krupenkin 2016-2024 maintainer: mail@akru.me author: Aleksandr Krupenkin homepage: https://github.com/airalab/hs-web3#readme@@ -41,26 +41,26 @@ default-language: Haskell2010 include-dirs: src/cbits ghc-options:- -funbox-strict-fields -Wduplicate-exports -Whi-shadowing- -Widentities -Woverlapping-patterns -Wpartial-type-signatures+ -funbox-strict-fields -Wduplicate-exports -Widentities+ -Woverlapping-patterns -Wpartial-type-signatures -Wunrecognised-pragmas -Wtyped-holes -Wincomplete-patterns -Wincomplete-uni-patterns -Wmissing-fields -Wmissing-methods- -Wmissing-exported-signatures -Wmissing-monadfail-instances- -Wmissing-signatures -Wname-shadowing -Wunused-binds- -Wunused-top-binds -Wunused-local-binds -Wunused-pattern-binds- -Wunused-imports -Wunused-matches -Wunused-foralls -Wtabs+ -Wmissing-exported-signatures -Wmissing-signatures -Wname-shadowing+ -Wunused-binds -Wunused-top-binds -Wunused-local-binds+ -Wunused-pattern-binds -Wunused-imports -Wunused-matches+ -Wunused-foralls -Wtabs build-depends:- aeson >1.2 && <1.6,- base >4.11 && <4.15,- bytestring >0.10 && <0.11,+ aeson >1.2 && <2.2,+ base >4.11 && <4.19,+ bytestring >0.10 && <0.12, containers >0.6 && <0.7,- cryptonite >0.22 && <0.30,- memory >0.14 && <0.16,- memory-hexstring ==1.0.*,- text >1.2 && <1.3,+ crypton >0.30 && <1.0,+ memory >0.14 && <0.19,+ memory-hexstring >=1.0 && <1.1,+ text >1.2 && <2.1, uuid-types >1.0 && <1.1,- vector >0.12 && <0.13+ vector >0.12 && <0.14 test-suite tests type: exitcode-stdio-1.0@@ -88,28 +88,27 @@ default-language: Haskell2010 include-dirs: src/cbits ghc-options:- -funbox-strict-fields -Wduplicate-exports -Whi-shadowing- -Widentities -Woverlapping-patterns -Wpartial-type-signatures+ -funbox-strict-fields -Wduplicate-exports -Widentities+ -Woverlapping-patterns -Wpartial-type-signatures -Wunrecognised-pragmas -Wtyped-holes -Wincomplete-patterns -Wincomplete-uni-patterns -Wmissing-fields -Wmissing-methods- -Wmissing-exported-signatures -Wmissing-monadfail-instances- -Wmissing-signatures -Wname-shadowing -Wunused-binds- -Wunused-top-binds -Wunused-local-binds -Wunused-pattern-binds- -Wunused-imports -Wunused-matches -Wunused-foralls -Wtabs -threaded- -rtsopts -with-rtsopts=-N+ -Wmissing-exported-signatures -Wmissing-signatures -Wname-shadowing+ -Wunused-binds -Wunused-top-binds -Wunused-local-binds+ -Wunused-pattern-binds -Wunused-imports -Wunused-matches+ -Wunused-foralls -Wtabs -threaded -rtsopts -with-rtsopts=-N build-depends:- aeson >1.2 && <1.6,- base >4.11 && <4.15,- bytestring >0.10 && <0.11,+ aeson >1.2 && <2.2,+ base >4.11 && <4.19,+ bytestring >0.10 && <0.12, containers >0.6 && <0.7,- cryptonite >0.22 && <0.30,- hspec >=2.4.4 && <2.8,+ crypton >0.30 && <1.0,+ hspec >=2.4.4 && <2.12, hspec-contrib >=0.4.0 && <0.6,- hspec-discover >=2.4.4 && <2.8,+ hspec-discover >=2.4.4 && <2.12, hspec-expectations >=0.8.2 && <0.9,- memory >0.14 && <0.16,- memory-hexstring ==1.0.*,- text >1.2 && <1.3,+ memory >0.14 && <0.19,+ memory-hexstring >=1.0 && <1.1,+ text >1.2 && <2.1, uuid-types >1.0 && <1.1,- vector >0.12 && <0.13+ vector >0.12 && <0.14