summaryrefslogtreecommitdiffhomepage
path: root/keysafe.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-08-12 00:21:22 -0400
committerJoey Hess <joeyh@joeyh.name>2016-08-12 00:21:22 -0400
commit63aa819fe5e5a8d72b202f6f0e0f407fa149961f (patch)
tree345f33ff1172f754f5afeb5a0ae5ccd193c80292 /keysafe.hs
parent53d9809ad524bf9c2b4962649588afeb7e3e0c86 (diff)
downloadkeysafe-63aa819fe5e5a8d72b202f6f0e0f407fa149961f.tar.gz
add checksum to encrypted data
Needed to verify decryption puzzles
Diffstat (limited to 'keysafe.hs')
-rw-r--r--keysafe.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/keysafe.hs b/keysafe.hs
index 0f8cf51..a197620 100644
--- a/keysafe.hs
+++ b/keysafe.hs
@@ -56,9 +56,6 @@ retrievedemo = do
putStr "."
hFlush stdout
case decrypt kek esk of
- -- TODO: verify checksum to avoid false positives
- -- (It's working without it only because the
- -- decryption puzzle is currently disabled.)
Just (SecretKey sk) -> print sk
Nothing -> go esk rest