]> git.immae.eu Git - github/fretlink/hmacaroons.git/blame - hmacaroons.cabal
ghc<7.10.1 compat
[github/fretlink/hmacaroons.git] / hmacaroons.cabal
CommitLineData
f6781456 1name: hmacaroons
a11f20be 2version: 0.4.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
JT
45cabal-version: >=1.10
46
7001a61e
JT
47source-repository head
48 type: git
49 branch: master
50 location: https://github.com/jtanguy/hmacaroons
51
f6781456 52library
b92e3c15 53 exposed-modules: Crypto.Macaroon
86f38823 54 -- Crypto.Macaroon.Binder
a20c77f8 55 Crypto.Macaroon.Serializer.Base64
b92e3c15 56 Crypto.Macaroon.Verifier
f6781456 57 other-modules: Crypto.Macaroon.Internal
86f38823 58 Crypto.Macaroon.Verifier.Internal
f6781456 59 build-depends: base >=4 && < 5,
a20c77f8 60 attoparsec >=0.12,
a11f20be 61 transformers >= 0.3,
f6781456
JT
62 bytestring >=0.10,
63 base64-bytestring >= 1.0,
64 byteable >= 0.1 && <0.2,
65 cereal >= 0.4,
66 cryptohash >=0.11 && <0.12,
8bbe088d 67 either >=4.4,
7f9f7386 68 -- nonce,
8505c3d3 69 -- cipher-aes >=0.2 && <0.3,
f6781456
JT
70 deepseq >= 1.1,
71 hex >= 0.1
72 hs-source-dirs: src
73 default-language: Haskell2010
8505c3d3 74
f6781456
JT
75benchmark bench
76 default-language: Haskell2010
77 type: exitcode-stdio-1.0
78 hs-source-dirs: src, bench
79 main-is: bench.hs
80 ghc-options: -O2
81 build-depends: base >= 4 && <5,
a20c77f8 82 attoparsec >=0.12,
f6781456
JT
83 bytestring >=0.10,
84 base64-bytestring >= 1.0,
7001a61e 85 byteable >= 0.1 && <0.2,
f6781456
JT
86 cereal >= 0.4,
87 cryptohash >=0.11 && <0.12,
8505c3d3 88 -- cipher-aes >=0.2 && <0.3,
c830f7c2 89 either >=4.4,
f6781456
JT
90 hex >= 0.1,
91 deepseq >= 1.1,
92 criterion >= 1.1
7001a61e 93
f6781456
JT
94test-suite test
95 default-language: Haskell2010
96 type: exitcode-stdio-1.0
86f38823 97 hs-source-dirs: src, test
46af385c 98 main-is: main.hs
f6781456 99 build-depends: base >= 4 && <5,
a20c77f8 100 attoparsec >=0.12,
f6781456
JT
101 bytestring >=0.10,
102 base64-bytestring >= 1.0,
103 byteable >= 0.1 && <0.2,
104 cereal >= 0.4,
105 cryptohash >=0.11 && <0.12,
c830f7c2 106 either >=4.4,
f6781456
JT
107 hex >= 0.1,
108 tasty >= 0.10,
109 tasty-hunit >= 0.9,
a22bcdb6 110 tasty-quickcheck >= 0.8,
8bbe088d 111 QuickCheck >= 2.8,
86f38823 112 deepseq >= 1.1,
a11f20be 113 transformers >= 0.3