]> git.immae.eu Git - github/fretlink/hmacaroons.git/blob - hmacaroons.cabal
Add maintenance status badge
[github/fretlink/hmacaroons.git] / hmacaroons.cabal
1 name: hmacaroons
2 version: 0.5.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 tested-with: GHC==7.8.4, GHC==7.10.1
47
48 source-repository head
49 type: git
50 branch: master
51 location: https://github.com/jtanguy/hmacaroons
52
53 library
54 exposed-modules: Crypto.Macaroon
55 -- Crypto.Macaroon.Binder
56 Crypto.Macaroon.Serializer.Base64
57 Crypto.Macaroon.Verifier
58 other-modules: Crypto.Macaroon.Internal
59 Crypto.Macaroon.Verifier.Internal
60 build-depends: base >=4 && < 5,
61 attoparsec >=0.12,
62 transformers >= 0.3,
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,
68 either >=4.4,
69 -- nonce,
70 -- cipher-aes >=0.2 && <0.3,
71 deepseq >= 1.1,
72 hex >= 0.1
73 hs-source-dirs: src
74 default-language: Haskell2010
75
76 benchmark 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,
83 attoparsec >=0.12,
84 bytestring >=0.10,
85 base64-bytestring >= 1.0,
86 byteable >= 0.1 && <0.2,
87 cereal >= 0.4,
88 cryptohash >=0.11 && <0.12,
89 transformers >= 0.3,
90 -- cipher-aes >=0.2 && <0.3,
91 either >=4.4,
92 hex >= 0.1,
93 deepseq >= 1.1,
94 criterion >= 1.1
95
96 test-suite test
97 default-language: Haskell2010
98 type: exitcode-stdio-1.0
99 hs-source-dirs: src, test
100 main-is: main.hs
101 build-depends: base >= 4 && <5,
102 attoparsec >=0.12,
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,
108 either >=4.4,
109 hex >= 0.1,
110 tasty >= 0.10,
111 tasty-hunit >= 0.9,
112 tasty-quickcheck >= 0.8,
113 QuickCheck >= 2.8,
114 deepseq >= 1.1,
115 transformers >= 0.3