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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
|
name: openpgp-util
version: 0.1
cabal-version: >= 1.8
license: OtherLicense
license-file: COPYING
category: Cryptography
copyright: © 2012 Stephen Paul Weber
© 2013 Joseph Crayne
author: Stephen Paul Weber <singpolyma@singpolyma.net>
maintainer: Joe Crayne <joe@jerkface.net>
stability: experimental
tested-with: GHC == 7.0.3
synopsis: Implement cryptography for OpenPGP using libraries compatible
with Vincent Hanquez's Haskell Crypto Platform
homepage: http://github.com/joecrayne/openpgp-util
bug-reports: http://github.com/joecrayne/openpgp-util/issues
build-type: Simple
description:
Fingerprint generation, signature generation, signature verification,
and secret key decryption for OpenPGP Packets.
.
It is intended that you use qualified imports with this library.
.
> import qualified Data.OpenPGP.Util as OpenPGP
extra-source-files:
README,
tests/suite.hs,
tests/data/000001-006.public_key,
tests/data/000002-013.user_id,
tests/data/000003-002.sig,
tests/data/000004-012.ring_trust,
tests/data/000005-002.sig,
tests/data/000006-012.ring_trust,
tests/data/000007-002.sig,
tests/data/000008-012.ring_trust,
tests/data/000009-002.sig,
tests/data/000010-012.ring_trust,
tests/data/000011-002.sig,
tests/data/000012-012.ring_trust,
tests/data/000013-014.public_subkey,
tests/data/000014-002.sig,
tests/data/000015-012.ring_trust,
tests/data/000016-006.public_key,
tests/data/000017-002.sig,
tests/data/000018-012.ring_trust,
tests/data/000019-013.user_id,
tests/data/000020-002.sig,
tests/data/000021-012.ring_trust,
tests/data/000022-002.sig,
tests/data/000023-012.ring_trust,
tests/data/000024-014.public_subkey,
tests/data/000025-002.sig,
tests/data/000026-012.ring_trust,
tests/data/000027-006.public_key,
tests/data/000028-002.sig,
tests/data/000029-012.ring_trust,
tests/data/000030-013.user_id,
tests/data/000031-002.sig,
tests/data/000032-012.ring_trust,
tests/data/000033-002.sig,
tests/data/000034-012.ring_trust,
tests/data/000035-006.public_key,
tests/data/000036-013.user_id,
tests/data/000037-002.sig,
tests/data/000038-012.ring_trust,
tests/data/000039-002.sig,
tests/data/000040-012.ring_trust,
tests/data/000041-017.attribute,
tests/data/000042-002.sig,
tests/data/000043-012.ring_trust,
tests/data/000044-014.public_subkey,
tests/data/000045-002.sig,
tests/data/000046-012.ring_trust,
tests/data/000047-005.secret_key,
tests/data/000048-013.user_id,
tests/data/000049-002.sig,
tests/data/000050-012.ring_trust,
tests/data/000051-007.secret_subkey,
tests/data/000052-002.sig,
tests/data/000053-012.ring_trust,
tests/data/000054-005.secret_key,
tests/data/000055-002.sig,
tests/data/000056-012.ring_trust,
tests/data/000057-013.user_id,
tests/data/000058-002.sig,
tests/data/000059-012.ring_trust,
tests/data/000060-007.secret_subkey,
tests/data/000061-002.sig,
tests/data/000062-012.ring_trust,
tests/data/000063-005.secret_key,
tests/data/000064-002.sig,
tests/data/000065-012.ring_trust,
tests/data/000066-013.user_id,
tests/data/000067-002.sig,
tests/data/000068-012.ring_trust,
tests/data/000069-005.secret_key,
tests/data/000070-013.user_id,
tests/data/000071-002.sig,
tests/data/000072-012.ring_trust,
tests/data/000073-017.attribute,
tests/data/000074-002.sig,
tests/data/000075-012.ring_trust,
tests/data/000076-007.secret_subkey,
tests/data/000077-002.sig,
tests/data/000078-012.ring_trust,
tests/data/002182-002.sig,
tests/data/compressedsig-bzip2.gpg,
tests/data/compressedsig.gpg,
tests/data/compressedsig-zlib.gpg,
tests/data/onepass_sig,
tests/data/symmetrically_encrypted,
tests/data/pubring.gpg,
tests/data/secring.gpg,
tests/data/uncompressed-ops-dsa.gpg,
tests/data/uncompressed-ops-dsa-sha384.txt.gpg,
tests/data/uncompressed-ops-rsa.gpg
Flag cryptonite
Description: Use newer cryptonite-based libraries.
Default: True
library
exposed-modules:
Data.OpenPGP
Data.OpenPGP.Util
Data.OpenPGP.Util.Cv25519
Crypto.Cipher.Feistel
Crypto.Cipher.Cast5
Crypto.Cipher.SBox
Crypto.Cipher.ThomasToVincent
Crypto.JOSE.AESKW
Crypto.XEd25519
Crypto.XEd25519.FieldElement
Data.OpenPGP.Internal
other-modules:
Data.OpenPGP.Util.Fingerprint
Data.OpenPGP.Util.Base
Data.OpenPGP.Util.Verify
Data.OpenPGP.Util.Sign
Data.OpenPGP.Util.Gen
Data.OpenPGP.Util.Decrypt
Data.OpenPGP.Util.DecryptSecretKey
Data.OpenPGP.Util.Ed25519
build-depends:
base == 4.*,
transformers,
mtl,
bytestring,
binary >= 0.5.1.0,
utf8-string,
zlib,
bzlib,
template-haskell >=2.7,
cpu ==0.1.*,
vector >=0.9,
tagged >=0.4.2.1,
cereal >=0.3.0,
integer-gmp,
modular-arithmetic
if flag(cryptonite)
build-depends:
hourglass,
memory,
cryptonite
else
build-depends:
time >= 1.4,
byteable,
cipher-aes >= 0.2.5,
cipher-blowfish,
crypto-cipher-types >= 0.0.7,
crypto-random >= 0.0.7,
cryptohash >= 0.7.5,
crypto-pubkey >= 0.2.3,
crypto-pubkey-types >= 0.4.1
test-suite tests
type: exitcode-stdio-1.0
main-is: suite.hs
hs-source-dirs: tests
build-depends:
openpgp-util,
base == 4.*,
bytestring,
utf8-string,
binary >= 0.5.1.0,
zlib,
bzlib,
HUnit,
QuickCheck >= 2.4.1.1,
quickcheck-instances,
test-framework,
test-framework-hunit,
test-framework-quickcheck2
source-repository head
type: git
location: git://github.com/joecrayne/openpgp-util.git
|