aboutsummaryrefslogtreecommitdiff
path: root/Types
diff options
context:
space:
mode:
Diffstat (limited to 'Types')
-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)