summaryrefslogtreecommitdiff
path: root/Types/Crypto.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-12-20 21:47:56 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-12-20 23:24:06 -0400
commitc11cfea35555ae3bab429c283d8c7571d285d4b1 (patch)
tree43609565bb31a9833916be75afa11545ac3a6b2b /Types/Crypto.hs
parentbb84f6e4bd57b15b9e83e2baf1b678d66d5009be (diff)
split out Utility.Gpg with the generic gpg interface, from Crypto
Diffstat (limited to 'Types/Crypto.hs')
-rw-r--r--Types/Crypto.hs11
1 files changed, 7 insertions, 4 deletions
diff --git a/Types/Crypto.hs b/Types/Crypto.hs
index 29a4cd099..686bf5c1a 100644
--- a/Types/Crypto.hs
+++ b/Types/Crypto.hs
@@ -5,13 +5,16 @@
- Licensed under the GNU GPL version 3 or higher.
-}
-module Types.Crypto where
+module Types.Crypto (
+ Cipher(..),
+ EncryptedCipher(..),
+ KeyIds(..),
+) where
+
+import Utility.Gpg (KeyIds(..))
-- XXX ideally, this would be a locked memory region
newtype Cipher = Cipher String
data EncryptedCipher = EncryptedCipher String KeyIds
deriving (Ord, Eq)
-
-newtype KeyIds = KeyIds [String]
- deriving (Ord, Eq)