]>
Commit | Line | Data |
---|---|---|
f6781456 JT |
1 | name: hmacaroons |
2 | version: 0.1.0.0 | |
3 | synopsis: Haskell implementation of macaroons | |
7001a61e JT |
4 | description: |
5 | = Macaroons: Pure haskell implementation of macaroons | |
6 | #macaroons-pure-haskell-implementation-of-macaroons# | |
a5822779 | 7 | . |
7001a61e JT |
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> | |
a5822779 | 12 | . |
7001a61e | 13 | __WARNING: This library has not been audited by security experts.__ |
a5822779 JT |
14 | __There is no error handling at the moment, everyhting is silently accepted__ |
15 | . | |
7001a61e JT |
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. | |
a5822779 | 18 | . |
7001a61e JT |
19 | = References |
20 | #references# | |
a5822779 | 21 | . |
7001a61e JT |
22 | == Papers and articles |
23 | #papers-and-articles# | |
a5822779 | 24 | . |
7001a61e JT |
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> | |
a5822779 | 28 | . |
7001a61e JT |
29 | == Implementations |
30 | #implementations# | |
a5822779 | 31 | . |
7001a61e JT |
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> | |
f6781456 JT |
37 | license: BSD3 |
38 | license-file: LICENSE | |
39 | author: Julien Tanguy | |
40 | maintainer: julien.tanguy@jhome.fr | |
7001a61e JT |
41 | homepage: https://github.com/jtanguy/hmacaroons |
42 | bug-reports: https://github.com/jtanguy/hmacaroons/issues | |
f6781456 JT |
43 | category: Data |
44 | build-type: Simple | |
45 | extra-source-files: README.md | |
7001a61e | 46 | CONTRIBUTING.md |
75763743 | 47 | CHANGELOG.md |
f6781456 JT |
48 | cabal-version: >=1.10 |
49 | ||
7001a61e JT |
50 | source-repository head |
51 | type: git | |
52 | branch: master | |
53 | location: https://github.com/jtanguy/hmacaroons | |
54 | ||
f6781456 | 55 | library |
b92e3c15 | 56 | exposed-modules: Crypto.Macaroon |
f6781456 | 57 | Crypto.Macaroon.Binder |
a20c77f8 | 58 | Crypto.Macaroon.Serializer.Base64 |
b92e3c15 | 59 | Crypto.Macaroon.Verifier |
f6781456 | 60 | other-modules: Crypto.Macaroon.Internal |
f6781456 | 61 | build-depends: base >=4 && < 5, |
a20c77f8 | 62 | attoparsec >=0.12, |
f6781456 JT |
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, | |
8bbe088d | 68 | either >=4.4, |
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 |
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, | |
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, |
f6781456 JT |
89 | hex >= 0.1, |
90 | deepseq >= 1.1, | |
91 | criterion >= 1.1 | |
7001a61e | 92 | |
f6781456 JT |
93 | test-suite test |
94 | default-language: Haskell2010 | |
95 | type: exitcode-stdio-1.0 | |
96 | hs-source-dirs: test | |
46af385c | 97 | main-is: main.hs |
f6781456 | 98 | build-depends: base >= 4 && <5, |
a20c77f8 | 99 | attoparsec >=0.12, |
f6781456 JT |
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 | hex >= 0.1, | |
106 | tasty >= 0.10, | |
107 | tasty-hunit >= 0.9, | |
a22bcdb6 | 108 | tasty-quickcheck >= 0.8, |
8bbe088d | 109 | QuickCheck >= 2.8, |
f6781456 | 110 | hmacaroons |