diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-09-22 14:03:31 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-09-22 14:03:31 -0400 |
commit | fc143a225540c49a0d7f4b9e1bb0345a89260ea5 (patch) | |
tree | 2d9588656331a980a1629088d28d880ad346e91e /BackupLog.hs | |
parent | 336a7003b59df18326d396846bacbb69f119c7c7 (diff) | |
download | keysafe-fc143a225540c49a0d7f4b9e1bb0345a89260ea5.tar.gz |
improve layout
Diffstat (limited to 'BackupLog.hs')
-rw-r--r-- | BackupLog.hs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/BackupLog.hs b/BackupLog.hs index 8e48bcd..802528f 100644 --- a/BackupLog.hs +++ b/BackupLog.hs @@ -37,11 +37,13 @@ instance FromJSON BackupLog -- Including the password entropy does let an attacker avoid trying -- weak passwords and go right to passwords that are strong enough, but -- this should only half the password crack time at worst. -data BackupEvent = BackupSkipped SecretKeySource | BackupMade - { backupServers :: [ServerName] - , backupSecretKeySource :: SecretKeySource - , backupPasswordEntropy :: Int - } +data BackupEvent + = BackupSkipped SecretKeySource + | BackupMade + { backupServers :: [ServerName] + , backupSecretKeySource :: SecretKeySource + , backupPasswordEntropy :: Int + } deriving (Show, Generic) instance ToJSON BackupEvent |