From 785a4c17686b2248a4c27e61564604a3999e9c22 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 11 Aug 2016 23:50:56 -0400 Subject: disable decryption puzzle, at least for now It only adds 1 minute GPU time to each crack attempt, on top of the 10 minutes CPU time needed to argon2 the password. Since my implementation of the AES puzzle is currently really slow, this is not worth it. Will revisit when I have a faster AES library to use, or a better puzzle. --- keysafe.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'keysafe.hs') diff --git a/keysafe.hs b/keysafe.hs index 5179994..24ccc1f 100644 --- a/keysafe.hs +++ b/keysafe.hs @@ -57,6 +57,8 @@ retrievedemo = do 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 -- cgit v1.2.3