]> git.immae.eu Git - github/fretlink/hmacaroons.git/blame - hmacaroons.cabal
Change enable-coverage flag for cabal 1.18
[github/fretlink/hmacaroons.git] / hmacaroons.cabal
CommitLineData
f6781456 1name: hmacaroons
be278da9 2version: 0.5.0.0
f6781456 3synopsis: Haskell implementation of macaroons
7001a61e 4description:
bf31e290 5 Hmacaroons is a pure haskell implementation of macaroons. It aims to
7001a61e
JT
6 provide compatibility at a serialized level with the
7 <https://github.com/rescrv/libmacaroons reference implementation> and
8 the <https://github.com/ecordell/pymacaroons python implementation>
a5822779 9 .
7001a61e 10 __WARNING: This library has not been audited by security experts.__
bf31e290 11 __There is no error handling at the moment, everything is silently accepted__
a5822779 12 .
7001a61e
JT
13 It is developed in the purpose of exploration purposes, and would need
14 much more attention if it were to be used in production.
a5822779 15 .
7001a61e
JT
16 = References
17 #references#
a5822779 18 .
7001a61e
JT
19 == Papers and articles
20 #papers-and-articles#
a5822779 21 .
7001a61e
JT
22 - <http://research.google.com/pubs/pub41892.html Google paper on macaroons>
23 - <https://air.mozilla.org/macaroons-cookies-with-contextual-caveats-for-decentralized-authorization-in-the-cloud/ Macaroons at Mozilla>
24 - <http://hackingdistributed.com/2014/11/23/macaroons-in-hyperdex/ Time for better security in NoSQL>
a5822779 25 .
7001a61e
JT
26 == Implementations
27 #implementations#
a5822779 28 .
7001a61e
JT
29 - <https://github.com/rescrv/libmacaroons C>
30 - <https://github.com/nitram509/jmacaroons Java>
31 - <https://github.com/nitram509/macaroons.js Node.js>
32 - <https://github.com/ecordell/pymacaroons Python>
33 - <https://github.com/cryptosphere/rust-macaroons.git Rust>
f6781456
JT
34license: BSD3
35license-file: LICENSE
36author: Julien Tanguy
37maintainer: julien.tanguy@jhome.fr
7001a61e
JT
38homepage: https://github.com/jtanguy/hmacaroons
39bug-reports: https://github.com/jtanguy/hmacaroons/issues
f6781456
JT
40category: Data
41build-type: Simple
42extra-source-files: README.md
7001a61e 43 CONTRIBUTING.md
75763743 44 CHANGELOG.md
f6781456 45cabal-version: >=1.10
b1c4109f 46tested-with: GHC==7.8.4, GHC==7.10.1
f6781456 47
7001a61e
JT
48source-repository head
49 type: git
50 branch: master
51 location: https://github.com/jtanguy/hmacaroons
52
f6781456 53library
b92e3c15 54 exposed-modules: Crypto.Macaroon
86f38823 55 -- Crypto.Macaroon.Binder
a20c77f8 56 Crypto.Macaroon.Serializer.Base64
b92e3c15 57 Crypto.Macaroon.Verifier
f6781456 58 other-modules: Crypto.Macaroon.Internal
86f38823 59 Crypto.Macaroon.Verifier.Internal
f6781456 60 build-depends: base >=4 && < 5,
a20c77f8 61 attoparsec >=0.12,
a11f20be 62 transformers >= 0.3,
f6781456
JT
63 bytestring >=0.10,
64 base64-bytestring >= 1.0,
65 byteable >= 0.1 && <0.2,
66 cereal >= 0.4,
67 cryptohash >=0.11 && <0.12,
8bbe088d 68 either >=4.4,
7f9f7386 69 -- nonce,
8505c3d3 70 -- cipher-aes >=0.2 && <0.3,
f6781456
JT
71 deepseq >= 1.1,
72 hex >= 0.1
73 hs-source-dirs: src
74 default-language: Haskell2010
8505c3d3 75
f6781456
JT
76benchmark bench
77 default-language: Haskell2010
78 type: exitcode-stdio-1.0
79 hs-source-dirs: src, bench
80 main-is: bench.hs
81 ghc-options: -O2
82 build-depends: base >= 4 && <5,
a20c77f8 83 attoparsec >=0.12,
f6781456
JT
84 bytestring >=0.10,
85 base64-bytestring >= 1.0,
7001a61e 86 byteable >= 0.1 && <0.2,
f6781456
JT
87 cereal >= 0.4,
88 cryptohash >=0.11 && <0.12,
90ca5fcb 89 transformers >= 0.3,
8505c3d3 90 -- cipher-aes >=0.2 && <0.3,
c830f7c2 91 either >=4.4,
f6781456
JT
92 hex >= 0.1,
93 deepseq >= 1.1,
94 criterion >= 1.1
7001a61e 95
f6781456
JT
96test-suite test
97 default-language: Haskell2010
98 type: exitcode-stdio-1.0
86f38823 99 hs-source-dirs: src, test
46af385c 100 main-is: main.hs
f6781456 101 build-depends: base >= 4 && <5,
a20c77f8 102 attoparsec >=0.12,
f6781456
JT
103 bytestring >=0.10,
104 base64-bytestring >= 1.0,
105 byteable >= 0.1 && <0.2,
106 cereal >= 0.4,
107 cryptohash >=0.11 && <0.12,
c830f7c2 108 either >=4.4,
f6781456
JT
109 hex >= 0.1,
110 tasty >= 0.10,
111 tasty-hunit >= 0.9,
a22bcdb6 112 tasty-quickcheck >= 0.8,
8bbe088d 113 QuickCheck >= 2.8,
86f38823 114 deepseq >= 1.1,
a11f20be 115 transformers >= 0.3