summaryrefslogtreecommitdiffhomepage
path: root/Tunables.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-08-16 13:07:43 -0400
committerJoey Hess <joeyh@joeyh.name>2016-08-16 13:08:13 -0400
commit3229b02f0aa6bb23e351d00ade1263851a2f1826 (patch)
treed6dd95a8c9cd72f0355cbbb40f49888708ba986d /Tunables.hs
parent3b4a775d536b2b2956269a59f886487efe29ed51 (diff)
downloadkeysafe-3229b02f0aa6bb23e351d00ade1263851a2f1826.tar.gz
add --benchmark
Diffstat (limited to 'Tunables.hs')
-rw-r--r--Tunables.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tunables.hs b/Tunables.hs
index 49e6cd4..bd1d4b0 100644
--- a/Tunables.hs
+++ b/Tunables.hs
@@ -91,7 +91,7 @@ defaultTunables = Tunables
{ nameGenerationHash = argon2 10000 (CPUCost (Seconds (2*600)))
}
, keyEncryptionKeyTunable = KeyEncryptionKeyTunable
- { keyEncryptionKeyHash = argon2 100 (CPUCost (Seconds 0))
+ { keyEncryptionKeyHash = argon2 110 (CPUCost (Seconds 0))
, randomSaltBytes = 1
-- The keyEncryptionKeyHash is run 256 times per
-- random salt byte to brute-force, and its parameters