summaryrefslogtreecommitdiffhomepage
path: root/keysafe.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-08-31 18:01:18 -0400
committerJoey Hess <joeyh@joeyh.name>2016-08-31 18:01:18 -0400
commitfca5f2c5fb856aaa821ffb960d903961a8e14599 (patch)
treedd2b25f2a9bce746e190ec6f29d9e5fc8a34972b /keysafe.hs
parentd2145288a8edc048798582d82fc842c741f0f17c (diff)
downloadkeysafe-fca5f2c5fb856aaa821ffb960d903961a8e14599.tar.gz
better message on bad password
Diffstat (limited to 'keysafe.hs')
-rw-r--r--keysafe.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/keysafe.hs b/keysafe.hs
index 2bb857b..2d37385 100644
--- a/keysafe.hs
+++ b/keysafe.hs
@@ -217,7 +217,7 @@ restore storagelocations ui possibletunables secretkeydest = do
where
go tunables firstshares sis setpercent r = case r of
DecryptFailed -> return $
- showError ui "Decryption failed! Unknown why it would fail at this point."
+ showError ui "Decryption failed! Probably you entered the wrong password."
DecryptSuccess secretkey -> do
_ <- setpercent 100
writeSecretKey secretkeydest secretkey