summaryrefslogtreecommitdiffhomepage
path: root/keysafe.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-08-16 23:53:30 -0400
committerJoey Hess <joeyh@joeyh.name>2016-08-16 23:53:30 -0400
commitfc50d28c84fe7c79d47e89e93e959dbaa68cda5b (patch)
treeaca07262bf025fd4ab54188841e7f75d05872624 /keysafe.hs
parentc2eba63d11c748aeebdd3a4a3a5b015ac5e2f2c9 (diff)
downloadkeysafe-fc50d28c84fe7c79d47e89e93e959dbaa68cda5b.tar.gz
improve cost table
Diffstat (limited to 'keysafe.hs')
-rw-r--r--keysafe.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/keysafe.hs b/keysafe.hs
index 103388b..ae85ce0 100644
--- a/keysafe.hs
+++ b/keysafe.hs
@@ -134,8 +134,7 @@ backup ui tunables secretkeysource secretkey = do
]
crackdesc crackcost thisyear = unlines $
"Rough estimate of the cost to crack your password: " :
- map (\(c, y) -> " " ++ show y ++ ":\t" ++ show c)
- (costOverTime crackcost thisyear)
+ costOverTimeTable crackcost thisyear
restore :: UI -> SecretKeySource -> IO ()
restore ui secretkeydest = do