]> git.immae.eu Git - github/fretlink/hmacaroons.git/blob - hmacaroons.cabal
Change verifier api and split Verifier module
[github/fretlink/hmacaroons.git] / hmacaroons.cabal
1 name: hmacaroons
2 version: 0.3.0.0
3 synopsis: Haskell implementation of macaroons
4 description:
5 Hmacaroons is a pure haskell implementation of macaroons. It aims to
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>
9 .
10 __WARNING: This library has not been audited by security experts.__
11 __There is no error handling at the moment, everything is silently accepted__
12 .
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.
15 .
16 = References
17 #references#
18 .
19 == Papers and articles
20 #papers-and-articles#
21 .
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>
25 .
26 == Implementations
27 #implementations#
28 .
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>
34 license: BSD3
35 license-file: LICENSE
36 author: Julien Tanguy
37 maintainer: julien.tanguy@jhome.fr
38 homepage: https://github.com/jtanguy/hmacaroons
39 bug-reports: https://github.com/jtanguy/hmacaroons/issues
40 category: Data
41 build-type: Simple
42 extra-source-files: README.md
43 CONTRIBUTING.md
44 CHANGELOG.md
45 cabal-version: >=1.10
46
47 source-repository head
48 type: git
49 branch: master
50 location: https://github.com/jtanguy/hmacaroons
51
52 library
53 exposed-modules: Crypto.Macaroon
54 -- Crypto.Macaroon.Binder
55 Crypto.Macaroon.Serializer.Base64
56 Crypto.Macaroon.Verifier
57 other-modules: Crypto.Macaroon.Internal
58 Crypto.Macaroon.Verifier.Internal
59 build-depends: base >=4 && < 5,
60 attoparsec >=0.12,
61 transformers >= 0.4,
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,
67 either >=4.4,
68 -- nonce,
69 -- cipher-aes >=0.2 && <0.3,
70 deepseq >= 1.1,
71 hex >= 0.1
72 hs-source-dirs: src
73 default-language: Haskell2010
74
75 benchmark 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,
82 attoparsec >=0.12,
83 bytestring >=0.10,
84 base64-bytestring >= 1.0,
85 byteable >= 0.1 && <0.2,
86 cereal >= 0.4,
87 cryptohash >=0.11 && <0.12,
88 -- cipher-aes >=0.2 && <0.3,
89 either >=4.4,
90 hex >= 0.1,
91 deepseq >= 1.1,
92 criterion >= 1.1
93
94 test-suite test
95 default-language: Haskell2010
96 type: exitcode-stdio-1.0
97 hs-source-dirs: src, test
98 main-is: main.hs
99 build-depends: base >= 4 && <5,
100 attoparsec >=0.12,
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,
106 either >=4.4,
107 hex >= 0.1,
108 tasty >= 0.10,
109 tasty-hunit >= 0.9,
110 tasty-quickcheck >= 0.8,
111 QuickCheck >= 2.8,
112 deepseq >= 1.1,
113 transformers >= 0.4