summaryrefslogtreecommitdiffhomepage
path: root/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Types.hs')
-rw-r--r--Types.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Types.hs b/Types.hs
index a132f26..e129ea3 100644
--- a/Types.hs
+++ b/Types.hs
@@ -15,6 +15,7 @@ import GHC.Generics (Generic)
-- | keysafe stores secret keys.
newtype SecretKey = SecretKey B.ByteString
+ deriving (Eq)
-- | The secret key, encrypted with a password, in fixed size chunks.
data EncryptedSecretKey = EncryptedSecretKey [B.ByteString] (CostCalc BruteForceOp UnknownPassword)