From c11cfea35555ae3bab429c283d8c7571d285d4b1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 20 Dec 2011 21:47:56 -0400 Subject: split out Utility.Gpg with the generic gpg interface, from Crypto --- Types/Crypto.hs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Types') 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) -- cgit v1.2.3