diff options
Diffstat (limited to 'openpgp.cabal')
-rw-r--r-- | openpgp.cabal | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/openpgp.cabal b/openpgp.cabal index 0a40b94..3f3d592 100644 --- a/openpgp.cabal +++ b/openpgp.cabal | |||
@@ -23,15 +23,11 @@ description: | |||
23 | and then defines instances of Data.Binary for each to facilitate | 23 | and then defines instances of Data.Binary for each to facilitate |
24 | encoding/decoding. | 24 | encoding/decoding. |
25 | . | 25 | . |
26 | There is also a wrapper around <http://hackage.haskell.org/package/Crypto> | 26 | For performing cryptography, see <http://hackage.haskell.org/openpgp-Crypto> |
27 | that currently does fingerprint generation, signature generation, and | ||
28 | signature verification (for RSA keys only). | ||
29 | . | 27 | . |
30 | It is intended that you use qualified imports with this library. If importing | 28 | It is intended that you use qualified imports with this library. |
31 | both modules, something like this will do: | ||
32 | . | 29 | . |
33 | > import qualified Data.OpenPGP as OpenPGP | 30 | > import qualified Data.OpenPGP as OpenPGP |
34 | > import qualified Data.OpenPGP.Crypto as OpenPGP | ||
35 | 31 | ||
36 | extra-source-files: | 32 | extra-source-files: |
37 | README, | 33 | README, |
@@ -114,19 +110,19 @@ extra-source-files: | |||
114 | tests/data/000076-007.secret_subkey, | 110 | tests/data/000076-007.secret_subkey, |
115 | tests/data/000077-002.sig, | 111 | tests/data/000077-002.sig, |
116 | tests/data/000078-012.ring_trust, | 112 | tests/data/000078-012.ring_trust, |
113 | tests/data/compressedsig-bzip2.gpg, | ||
114 | tests/data/compressedsig.gpg, | ||
115 | tests/data/compressedsig-zlib.gpg, | ||
116 | tests/data/onepass_sig, | ||
117 | tests/data/pubring.gpg, | 117 | tests/data/pubring.gpg, |
118 | tests/data/secring.gpg, | 118 | tests/data/secring.gpg, |
119 | tests/data/compressedsig.gpg, | ||
120 | tests/data/msg1.asc, | ||
121 | tests/data/uncompressed-ops-rsa.gpg, | ||
122 | tests/data/uncompressed-ops-dsa.gpg, | 119 | tests/data/uncompressed-ops-dsa.gpg, |
123 | tests/data/uncompressed-ops-dsa-sha384.txt.gpg, | 120 | tests/data/uncompressed-ops-dsa-sha384.txt.gpg, |
124 | tests/data/encryption.gpg | 121 | tests/data/uncompressed-ops-rsa.gpg |
125 | 122 | ||
126 | library | 123 | library |
127 | exposed-modules: | 124 | exposed-modules: |
128 | Data.OpenPGP | 125 | Data.OpenPGP |
129 | Data.OpenPGP.Crypto | ||
130 | 126 | ||
131 | build-depends: | 127 | build-depends: |
132 | base == 4.*, | 128 | base == 4.*, |
@@ -135,8 +131,7 @@ library | |||
135 | utf8-string, | 131 | utf8-string, |
136 | binary, | 132 | binary, |
137 | zlib, | 133 | zlib, |
138 | bzlib, | 134 | bzlib |
139 | Crypto | ||
140 | 135 | ||
141 | test-suite tests | 136 | test-suite tests |
142 | type: exitcode-stdio-1.0 | 137 | type: exitcode-stdio-1.0 |
@@ -150,7 +145,6 @@ test-suite tests | |||
150 | binary, | 145 | binary, |
151 | zlib, | 146 | zlib, |
152 | bzlib, | 147 | bzlib, |
153 | Crypto, | ||
154 | HUnit, | 148 | HUnit, |
155 | QuickCheck >= 2.4.1.1, | 149 | QuickCheck >= 2.4.1.1, |
156 | test-framework, | 150 | test-framework, |