1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
name: zerobin
version: 1.5.0
synopsis: Post to 0bin services
description: Post encrypted content to 0bin sites
like http://0bin.net or https://paste.ec
license: MIT
license-file: LICENSE
author: Igor Pashev
maintainer: Igor Pashev <pashev.igor@gmail.com>
copyright: 2015, Zalora South East Asia Pte. Ltd
category: Cryptography, Web
build-type: Simple
extra-source-files: README.md
cabal-version: >= 1.20
source-repository head
type: git
location: https://github.com/zalora/zerobin.git
flag nodejs
description: Build a test program for decrypting with Node.js and SJCL.
You need Node.js and SJCL installed (via NPM for example)
default: False
flag cli
description: Build a command-line utility. You can use it in shell scripts
default: True
library
default-language: Haskell2010
ghc-options: -Wall
hs-source-dirs: src
build-depends:
aeson >= 0.10,
base >= 4.7 && < 5,
base64-bytestring >= 1.0,
bytestring >= 0.10.6.0,
cryptonite >= 0.8,
http-conduit >= 2.1.8,
memory >= 0.10
exposed-modules:
Web.ZeroBin,
Web.ZeroBin.SJCL,
Web.ZeroBin.Utils
executable zerobin
default-language: Haskell2010
ghc-options: -Wall -static
hs-source-dirs: cli
main-is: Main.hs
if flag(cli)
build-depends:
base >= 4.7 && < 5,
bytestring >= 0.10.6.0,
docopt >= 0.7.0.4,
zerobin,
raw-strings-qq >= 1.0.2
else
buildable: False
executable zerobin-nodejs
default-language: Haskell2010
ghc-options: -Wall
hs-source-dirs: nodejs
main-is: Main.hs
if flag(nodejs)
build-depends:
aeson >= 0.10,
base >= 4.7 && < 5,
bytestring >= 0.10.6.0,
zerobin,
process >= 1.3.0.0
else
buildable: False
|