secp256k1-haskell

Bindings for secp256k1 http://github.com/haskoin/secp256k1-haskell#readme

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Jean-Pierre Rupp
Maintained by jprupp@protonmail.ch

Build Status

Haskell bindings for secp256k1

This project contains Haskell bindings for the secp256k1 library.

Changes

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

0.4.0

Changed

  • Remove fragile ForeignPtr implementation in favor of just storing ByteStrings.
  • Reuse memory instead of copying when possible.

0.3.1

Fixed

  • Use unsafe calls in FFI.

0.3.0

Fixed

  • Compiles with all flags now.

Added

  • Script to compile with all flags.

Removed

  • Remove ECDH support.
  • Remove Schnorr support.
  • Remove Recovery support.

0.2.5

Changed

  • Reuse context aggressively.
  • Generate context in a single thread.

Fixed

  • Memory deallocation bug.

0.2.4

Changed

  • Update Cabal and package version.

0.2.3

Changed

  • Return meaningful error upon encountering weird ret status from upstream code.

Added

  • Test parallel signature creation and verification.

0.2.2

Removed

  • Hide tweak negation behind a flag for compatibilidy with Debian 9.

Fixed

  • Correct code that was not compiling with some flags enabled.

0.2.1

Changed

  • Do not depend on hardcoded DER signatures in tests.

0.2.0

Added

  • Support for ECDH APIs.
  • Support for Schnorr APIs.

Removed

  • Enabling key recovery APIs need a flag.

0.1.8

Added

  • Add missing NFData instances for some types.

0.1.7

Added

  • Add NFData instances for all types.

0.1.6

Added

  • Use pkgconfig for C library dependency.

0.1.5

Added

  • Flag for ECDH bindings.

0.1.4

Changed

  • Constrain imports to avoid clashes with a QuickCheck function.

0.1.3

Added

  • Hashable instances for various types.

0.1.2

Changed

  • Separate dependencies between library and tests.
  • Remove hspec default to prevent problems with Nix.

Removed

  • Dependency to cryptohash not needed.

0.1.1

Changed

  • Update changelog to reflect name and version change.
  • Update to LTS Haskell 12.9.

0.1.0

Changed

  • Name of package change from secp256k1 to secp256k1-haskell to avoid Nix conflicts.