packages feed

spake2-0.4.0: spake2.cabal

-- This file has been generated from package.yaml by hpack version 0.17.1.
--
-- see: https://github.com/sol/hpack

name:           spake2
version:        0.4.0
synopsis:       Implementation of the SPAKE2 Password-Authenticated Key Exchange algorithm
description:    This library implements the SPAKE2 password-authenticated key exchange
                ("PAKE") algorithm. This allows two parties, who share a weak password, to
                safely derive a strong shared secret (and therefore build an
                encrypted+authenticated channel).
category:       Crypto
homepage:       https://github.com/jml/haskell-spake2#readme
bug-reports:    https://github.com/jml/haskell-spake2/issues
maintainer:     Jonathan M. Lange <jml@mumak.net>
license:        Apache
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    CHANGELOG.md

data-files:
    tests/python/spake2_exchange.py

source-repository head
  type: git
  location: https://github.com/jml/haskell-spake2

library
  hs-source-dirs:
      src
  default-extensions: NoImplicitPrelude OverloadedStrings
  ghc-options: -Wall -Wno-type-defaults
  build-depends:
      base >= 4.9 && < 5
    , protolude >= 0.2
    , bytestring
    , cryptonite
    , memory
  exposed-modules:
      Crypto.Spake2
      Crypto.Spake2.Group
      Crypto.Spake2.Groups
      Crypto.Spake2.Groups.Ed25519
      Crypto.Spake2.Groups.IntegerGroup
      Crypto.Spake2.Math
      Crypto.Spake2.Util
  default-language: Haskell2010

executable haskell-spake2-interop-entrypoint
  main-is: Main.hs
  hs-source-dirs:
      cmd/interop-entrypoint
  default-extensions: NoImplicitPrelude OverloadedStrings
  ghc-options: -Wall -Wno-type-defaults -threaded
  build-depends:
      base >= 4.9 && < 5
    , protolude >= 0.2
    , cryptonite
    , memory
    , optparse-applicative
    , spake2
  default-language: Haskell2010

test-suite tasty
  type: exitcode-stdio-1.0
  main-is: Tasty.hs
  hs-source-dirs:
      tests
  default-extensions: NoImplicitPrelude OverloadedStrings
  ghc-options: -Wall -Wno-type-defaults
  build-depends:
      base >= 4.9 && < 5
    , protolude >= 0.2
    , aeson
    , bytestring
    , cryptonite
    , memory
    , process
    , QuickCheck
    , spake2
    , tasty
    , tasty-hspec
  other-modules:
      Groups
      Integration
      Spake2
  default-language: Haskell2010