diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-08-16 23:56:18 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-08-16 23:59:43 -0400 |
commit | a133e18d25ebd2307037a982ee29cbdd58b3124e (patch) | |
tree | ebaf6ec7c7ffc8183f25929ae9f87573bd665db1 | |
parent | ac074d3b596a93afefdcf114ba5ae52fadf8eef8 (diff) | |
download | keysafe-a133e18d25ebd2307037a982ee29cbdd58b3124e.tar.gz |
improve layout
-rw-r--r-- | Cost.hs | 2 | ||||
-rw-r--r-- | keysafe.hs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -108,7 +108,7 @@ costOverTimeTable cost thisyear = go [] thisyear $ costOverTime cost thisyear where go t _ [] = reverse t go t yprev ((c, y):ys) = - let s = " " ++ show y ++ ":\t" ++ show c + let s = " in " ++ show y ++ ": " ++ show c in if yprev < y - 1 then go (s:" ...":t) y ys else go (s:t) y ys @@ -103,7 +103,7 @@ backup ui tunables secretkeysource secretkey = do let mincost = Dollars 100000 if crackcost < mincost then do - showError ui $ "Weak password! It would cost less than " ++ show mincost ++ " to crack the password. Please think of a better one. More words would be good.." + showError ui $ "Weak password! It would cost only " ++ show crackcost ++ " to crack the password. Please think of a better one. More words would be good.." promptkek name else do (thisyear, _, _) <- toGregorian . utctDay |