]> git.immae.eu Git - github/fretlink/hmacaroons.git/blob - hmacaroons.cabal
Basic validation functions
[github/fretlink/hmacaroons.git] / hmacaroons.cabal
1 name: hmacaroons
2 version: 0.2.0.0
3 synopsis: Haskell implementation of macaroons
4 description:
5 = Macaroons: Pure haskell implementation of macaroons
6 #macaroons-pure-haskell-implementation-of-macaroons#
7 .
8 Macaroons is a pure haskell implementation of macaroons. It aims to
9 provide compatibility at a serialized level with the
10 <https://github.com/rescrv/libmacaroons reference implementation> and
11 the <https://github.com/ecordell/pymacaroons python implementation>
12 .
13 __WARNING: This library has not been audited by security experts.__
14 __There is no error handling at the moment, everyhting is silently accepted__
15 .
16 It is developed in the purpose of exploration purposes, and would need
17 much more attention if it were to be used in production.
18 .
19 = References
20 #references#
21 .
22 == Papers and articles
23 #papers-and-articles#
24 .
25 - <http://research.google.com/pubs/pub41892.html Google paper on macaroons>
26 - <https://air.mozilla.org/macaroons-cookies-with-contextual-caveats-for-decentralized-authorization-in-the-cloud/ Macaroons at Mozilla>
27 - <http://hackingdistributed.com/2014/11/23/macaroons-in-hyperdex/ Time for better security in NoSQL>
28 .
29 == Implementations
30 #implementations#
31 .
32 - <https://github.com/rescrv/libmacaroons C>
33 - <https://github.com/nitram509/jmacaroons Java>
34 - <https://github.com/nitram509/macaroons.js Node.js>
35 - <https://github.com/ecordell/pymacaroons Python>
36 - <https://github.com/cryptosphere/rust-macaroons.git Rust>
37 license: BSD3
38 license-file: LICENSE
39 author: Julien Tanguy
40 maintainer: julien.tanguy@jhome.fr
41 homepage: https://github.com/jtanguy/hmacaroons
42 bug-reports: https://github.com/jtanguy/hmacaroons/issues
43 category: Data
44 build-type: Simple
45 extra-source-files: README.md
46 CONTRIBUTING.md
47 CHANGELOG.md
48 cabal-version: >=1.10
49
50 source-repository head
51 type: git
52 branch: master
53 location: https://github.com/jtanguy/hmacaroons
54
55 library
56 exposed-modules: Crypto.Macaroon
57 Crypto.Macaroon.Binder
58 Crypto.Macaroon.Serializer.Base64
59 Crypto.Macaroon.Verifier
60 other-modules: Crypto.Macaroon.Internal
61 build-depends: base >=4 && < 5,
62 attoparsec >=0.12,
63 transformers >= 0.4,
64 bytestring >=0.10,
65 base64-bytestring >= 1.0,
66 byteable >= 0.1 && <0.2,
67 cereal >= 0.4,
68 cryptohash >=0.11 && <0.12,
69 either >=4.4,
70 -- nonce,
71 -- cipher-aes >=0.2 && <0.3,
72 deepseq >= 1.1,
73 hex >= 0.1
74 hs-source-dirs: src
75 default-language: Haskell2010
76
77 benchmark bench
78 default-language: Haskell2010
79 type: exitcode-stdio-1.0
80 hs-source-dirs: src, bench
81 main-is: bench.hs
82 ghc-options: -O2
83 build-depends: base >= 4 && <5,
84 attoparsec >=0.12,
85 bytestring >=0.10,
86 base64-bytestring >= 1.0,
87 byteable >= 0.1 && <0.2,
88 cereal >= 0.4,
89 cryptohash >=0.11 && <0.12,
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: 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 hmacaroons