split out Utility.Gpg with the generic gpg interface, from Crypto
This commit is contained in:
parent
bb84f6e4bd
commit
c11cfea355
3 changed files with 105 additions and 81 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue