summaryrefslogtreecommitdiff
path: root/stripe-signature.cabal
blob: 224c0c90b90decd9f0c062e03e63db648e743c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: stripe-signature
version: 1.0.0.0

synopsis: Verification of Stripe webhook signatures
category: Web

description:
    When <https://stripe.com/ Stripe> sends an event to your webhook, it
    includes an HTTP header named @Stripe-Signature@. You should use this
    to verify the authenticity of the request to ensure that you are not
    acting upon forged events originating from some source other than
    Stripe.

homepage:    https://github.com/typeclasses/stripe
bug-reports: https://github.com/typeclasses/stripe/issues

author:     Chris Martin
maintainer: Chris Martin, Julie Moronuki

copyright: 2018 Typeclass Consulting, LLC
license: MIT
license-file: license.txt

build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.2.2, GHC==8.4.3, GHC==8.6.1

extra-source-files:
    changelog.md

library
    hs-source-dirs: library
    default-language: Haskell2010

    exposed-modules:
        Stripe.Signature

    build-depends:
        base >=4.10 && <5
      , bytestring
      , cryptonite
      , hex-text
      , memory
      , stripe-concepts
      , text

test-suite test
    default-language: Haskell2010
    hs-source-dirs: test
    type: exitcode-stdio-1.0
    main-is: test.hs
    ghc-options: -threaded

    build-depends:
        base >=4.10 && <5
      , bytestring
      , stripe-signature
      , text