aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-06-25 23:13:30 -0400
committerPaul Selkirk <paul@psgd.org>2016-06-25 23:13:30 -0400
commit0cd8850c6158ca5d263c21b52b8906c974b3cfcc (patch)
treeca17d3253f1318b2b7587c25433210fbe3cb393b /utils
parent2cd3b6fabe5e32f169257caf5532b2bf9c83f803 (diff)
Dial back the last-gasp iterations to something sane.
I can't see protecting the well-known default password against a brute-force attack, and 100k iterations takes almost a minute, which makes a terrible first impression.
Diffstat (limited to 'utils')
-rwxr-xr-xutils/last_gasp_default_pin2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/last_gasp_default_pin b/utils/last_gasp_default_pin
index 2d09db1..50d822f 100755
--- a/utils/last_gasp_default_pin
+++ b/utils/last_gasp_default_pin
@@ -54,7 +54,7 @@ parser.add_argument("-p", "--pin",
help = "PIN plaintext before PBKDF2 processing")
parser.add_argument("-i", "--iterations",
type = int,
- default = 100000,
+ default = 10000,
help = "PBKDF2 iteration count")
parser.add_argument("-d", "--derived-key-length",
type = int,