aboutsummaryrefslogtreecommitdiff
path: root/Types/Crypto.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Types/Crypto.hs')
-rw-r--r--Types/Crypto.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Types/Crypto.hs b/Types/Crypto.hs
index 8a15ead16..487a29391 100644
--- a/Types/Crypto.hs
+++ b/Types/Crypto.hs
@@ -23,7 +23,7 @@ import Data.Digest.Pure.SHA
import Utility.Gpg (KeyIds(..))
-- XXX ideally, this would be a locked memory region
-newtype Cipher = Cipher String
+data Cipher = Cipher String | MacOnlyCipher String
data StorableCipher = EncryptedCipher String EncryptedCipherVariant KeyIds
| SharedCipher String