packages feed

spake2-0.4.3: spake2.cabal

cabal-version: 1.12

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

name:           spake2
version:        0.4.3
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/LeastAuthority/haskell-spake2#readme
bug-reports:    https://github.com/LeastAuthority/haskell-spake2/issues
author:         Jonathan M. Lange <jml@mumak.net>
maintainer:     Least Authority TFA GmbH
license:        Apache
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    CHANGELOG.md
data-files:
    tests/python/spake2_exchange.py

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

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

executable haskell-spake2-interop-entrypoint
  main-is: Main.hs
  other-modules:
      Paths_spake2
  hs-source-dirs:
      cmd/interop-entrypoint
  default-extensions: NoImplicitPrelude OverloadedStrings
  ghc-options: -Wall -Wno-type-defaults -threaded
  build-depends:
      base >=4.9 && <5
    , cryptonite
    , memory
    , optparse-applicative
    , protolude >=0.3 && <0.4
    , 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:
      QuickCheck
    , aeson
    , base >=4.9 && <5
    , bytestring
    , cryptonite
    , memory
    , process
    , protolude >=0.3 && <0.4
    , spake2
    , tasty
    , tasty-hspec
  other-modules:
      Groups
      Integration
      Spake2
      Paths_spake2
  default-language: Haskell2010