]> git.immae.eu Git - github/fretlink/hmacaroons.git/blob - hmacaroons.cabal
Typos and stylish-haskell
[github/fretlink/hmacaroons.git] / hmacaroons.cabal
1 name: hmacaroons
2 version: 0.2.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 build-depends: base >=4 && < 5,
59 attoparsec >=0.12,
60 transformers >= 0.4,
61 bytestring >=0.10,
62 base64-bytestring >= 1.0,
63 byteable >= 0.1 && <0.2,
64 cereal >= 0.4,
65 cryptohash >=0.11 && <0.12,
66 either >=4.4,
67 -- nonce,
68 -- cipher-aes >=0.2 && <0.3,
69 deepseq >= 1.1,
70 hex >= 0.1
71 hs-source-dirs: src
72 default-language: Haskell2010
73
74 benchmark bench
75 default-language: Haskell2010
76 type: exitcode-stdio-1.0
77 hs-source-dirs: src, bench
78 main-is: bench.hs
79 ghc-options: -O2
80 build-depends: base >= 4 && <5,
81 attoparsec >=0.12,
82 bytestring >=0.10,
83 base64-bytestring >= 1.0,
84 byteable >= 0.1 && <0.2,
85 cereal >= 0.4,
86 cryptohash >=0.11 && <0.12,
87 -- cipher-aes >=0.2 && <0.3,
88 either >=4.4,
89 hex >= 0.1,
90 deepseq >= 1.1,
91 criterion >= 1.1
92
93 test-suite test
94 default-language: Haskell2010
95 type: exitcode-stdio-1.0
96 hs-source-dirs: test
97 main-is: main.hs
98 build-depends: base >= 4 && <5,
99 attoparsec >=0.12,
100 bytestring >=0.10,
101 base64-bytestring >= 1.0,
102 byteable >= 0.1 && <0.2,
103 cereal >= 0.4,
104 cryptohash >=0.11 && <0.12,
105 either >=4.4,
106 hex >= 0.1,
107 tasty >= 0.10,
108 tasty-hunit >= 0.9,
109 tasty-quickcheck >= 0.8,
110 QuickCheck >= 2.8,
111 hmacaroons