summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--Tunables.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/TODO b/TODO
index 6017b17..ab7464f 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,6 @@
Soon:
-* Restore seems to take more like 2 hours than 50 minutes. Check this.
+* Run a key restore and make sure it takes 35 to 50 minutes.
* client/server Proof Of Work
* Include an example tor hidden service config, and systemd service file
for the server.
diff --git a/Tunables.hs b/Tunables.hs
index 0a317c5..d7e5ac7 100644
--- a/Tunables.hs
+++ b/Tunables.hs
@@ -93,7 +93,7 @@ defaultTunables = Tunables
{ nameGenerationHash = argon2 10000 (coreCost 2 (Seconds 600) d)
}
, keyEncryptionKeyTunable = KeyEncryptionKeyTunable
- { keyEncryptionKeyHash = argon2 2700 (CPUCost (Seconds 12) d)
+ { keyEncryptionKeyHash = argon2 169 (CPUCost (Seconds 12) d)
, randomSaltBytes = 1
-- The keyEncryptionKeyHash is run 256 times per
-- random salt byte to brute-force, and its parameters