secp256k1-haskell 1.4.6 → 1.5.0
raw patch · 3 files changed
+11/−5 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- Crypto.Secp256k1.Internal.Base: instance Data.String.IsString Crypto.Secp256k1.Internal.Base.Msg
- Crypto.Secp256k1.Internal.Base: instance Data.String.IsString Crypto.Secp256k1.Internal.Base.PubKey
- Crypto.Secp256k1.Internal.Base: instance Data.String.IsString Crypto.Secp256k1.Internal.Base.SecKey
- Crypto.Secp256k1.Internal.Base: instance Data.String.IsString Crypto.Secp256k1.Internal.Base.Sig
- Crypto.Secp256k1.Internal.Base: instance Data.String.IsString Crypto.Secp256k1.Internal.Base.Tweak
- Crypto.Secp256k1.Internal.Base: instance GHC.Generics.Generic Crypto.Secp256k1.Internal.Base.CompactSig
- Crypto.Secp256k1.Internal.Base: instance GHC.Generics.Generic Crypto.Secp256k1.Internal.Base.Msg
- Crypto.Secp256k1.Internal.Base: instance GHC.Generics.Generic Crypto.Secp256k1.Internal.Base.PubKey
- Crypto.Secp256k1.Internal.Base: instance GHC.Generics.Generic Crypto.Secp256k1.Internal.Base.SecKey
- Crypto.Secp256k1.Internal.Base: instance GHC.Generics.Generic Crypto.Secp256k1.Internal.Base.Sig
- Crypto.Secp256k1.Internal.Base: instance GHC.Generics.Generic Crypto.Secp256k1.Internal.Base.Tweak
- Crypto.Secp256k1.Internal.Base: instance GHC.Read.Read Crypto.Secp256k1.Internal.Base.Msg
- Crypto.Secp256k1.Internal.Base: instance GHC.Read.Read Crypto.Secp256k1.Internal.Base.PubKey
- Crypto.Secp256k1.Internal.Base: instance GHC.Read.Read Crypto.Secp256k1.Internal.Base.SecKey
- Crypto.Secp256k1.Internal.Base: instance GHC.Read.Read Crypto.Secp256k1.Internal.Base.Sig
- Crypto.Secp256k1.Internal.Base: instance GHC.Read.Read Crypto.Secp256k1.Internal.Base.Tweak
- Crypto.Secp256k1.Internal.Base: instance GHC.Show.Show Crypto.Secp256k1.Internal.Base.Msg
- Crypto.Secp256k1.Internal.Base: instance GHC.Show.Show Crypto.Secp256k1.Internal.Base.PubKey
- Crypto.Secp256k1.Internal.Base: instance GHC.Show.Show Crypto.Secp256k1.Internal.Base.SecKey
- Crypto.Secp256k1.Internal.Base: instance GHC.Show.Show Crypto.Secp256k1.Internal.Base.Sig
- Crypto.Secp256k1.Internal.Base: instance GHC.Show.Show Crypto.Secp256k1.Internal.Base.Tweak
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Data.String.IsString Crypto.Secp256k1.Internal.Base.Msg
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Data.String.IsString Crypto.Secp256k1.Internal.Base.PubKey
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Data.String.IsString Crypto.Secp256k1.Internal.Base.SecKey
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Data.String.IsString Crypto.Secp256k1.Internal.Base.Sig
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Data.String.IsString Crypto.Secp256k1.Internal.Base.Tweak
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Generics.Generic Crypto.Secp256k1.Internal.Base.CompactSig
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Generics.Generic Crypto.Secp256k1.Internal.Base.Msg
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Generics.Generic Crypto.Secp256k1.Internal.Base.PubKey
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Generics.Generic Crypto.Secp256k1.Internal.Base.SecKey
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Generics.Generic Crypto.Secp256k1.Internal.Base.Sig
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Generics.Generic Crypto.Secp256k1.Internal.Base.Tweak
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Read.Read Crypto.Secp256k1.Internal.Base.Msg
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Read.Read Crypto.Secp256k1.Internal.Base.PubKey
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Read.Read Crypto.Secp256k1.Internal.Base.SecKey
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Read.Read Crypto.Secp256k1.Internal.Base.Sig
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Read.Read Crypto.Secp256k1.Internal.Base.Tweak
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Show.Show Crypto.Secp256k1.Internal.Base.Msg
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Show.Show Crypto.Secp256k1.Internal.Base.PubKey
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Show.Show Crypto.Secp256k1.Internal.Base.SecKey
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Show.Show Crypto.Secp256k1.Internal.Base.Sig
+ Crypto.Secp256k1.Internal.Base: instance GHC.Internal.Show.Show Crypto.Secp256k1.Internal.Base.Tweak
Files
CHANGELOG.md view
@@ -4,6 +4,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [1.5.0] - 2026-08-12++### Fixed++- Use seckey instead of privkey aliases.+ ## [1.4.6] - 2025-05-09 ### Removed
secp256k1-haskell.cabal view
@@ -1,11 +1,11 @@ cabal-version: 2.0 --- This file has been generated from package.yaml by hpack version 0.38.0.+-- This file has been generated from package.yaml by hpack version 0.39.6. -- -- see: https://github.com/sol/hpack name: secp256k1-haskell-version: 1.4.6+version: 1.5.0 synopsis: Bindings for secp256k1 description: Sign and verify signatures using the secp256k1 library. category: Crypto
src/Crypto/Secp256k1/Internal/BaseOps.hs view
@@ -117,14 +117,14 @@ Ptr SecKey32 -> IO Ret -foreign import ccall safe "secp256k1.h secp256k1_ec_privkey_tweak_add"+foreign import ccall safe "secp256k1.h secp256k1_ec_seckey_tweak_add" ecSecKeyTweakAdd :: Ptr LCtx -> Ptr SecKey32 -> Ptr Tweak32 -> IO Ret -foreign import ccall safe "secp256k1.h secp256k1_ec_privkey_negate"+foreign import ccall safe "secp256k1.h secp256k1_ec_seckey_negate" ecTweakNegate :: Ptr LCtx -> Ptr Tweak32 ->@@ -137,7 +137,7 @@ Ptr Tweak32 -> IO Ret -foreign import ccall safe "secp256k1.h secp256k1_ec_privkey_tweak_mul"+foreign import ccall safe "secp256k1.h secp256k1_ec_seckey_tweak_mul" ecSecKeyTweakMul :: Ptr LCtx -> Ptr SecKey32 ->