diff options
Diffstat (limited to 'Types.hs')
-rw-r--r-- | Types.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -55,7 +55,7 @@ newtype Name = Name B.ByteString -- | Source of the secret key stored in keysafe. data SecretKeySource = GpgKey KeyId | KeyFile FilePath - deriving (Show, Generic) + deriving (Show, Eq, Generic) instance ToJSON SecretKeySource instance FromJSON SecretKeySource @@ -65,7 +65,7 @@ instance FromJSON SecretKeySource -- -- A gpg keyid is the obvious example. data KeyId = KeyId T.Text - deriving (Show, Generic) + deriving (Show, Eq, Generic) instance ToJSON KeyId instance FromJSON KeyId |