diff options
author | danim7 | 2017-03-25 18:22:08 +0100 |
---|---|---|
committer | rfjakob | 2017-03-25 18:22:08 +0100 |
commit | 40f0a8ee72dd3091480d73f8e76979545a3668ea (patch) | |
tree | 0e7bc33672216479f2aa760d7a3c981a2b5f7d35 /cli_args.go | |
parent | 1ff4ae56c1280576ff38296cf7d506651eda6592 (diff) |
Further explain the use of 'scryptn' parameter (#94)
* Further explain the use of 'scryptn' parameter
* Further explain the use of 'scryptn' parameter in MANPAGE
* Use 28 as reasonable upper limit
Diffstat (limited to 'cli_args.go')
-rw-r--r-- | cli_args.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli_args.go b/cli_args.go index 04009dc..9414e67 100644 --- a/cli_args.go +++ b/cli_args.go @@ -124,8 +124,8 @@ func parseCliOpts() (args argContainer) { flagSet.StringVar(&args.fsname, "fsname", "", "Override the filesystem name") flagSet.IntVar(&args.notifypid, "notifypid", 0, "Send USR1 to the specified process after "+ "successful mount - used internally for daemonization") - flagSet.IntVar(&args.scryptn, "scryptn", configfile.ScryptDefaultLogN, "scrypt cost parameter logN. "+ - "A lower value speeds up mounting but makes the password susceptible to brute-force attacks") + flagSet.IntVar(&args.scryptn, "scryptn", configfile.ScryptDefaultLogN, "scrypt cost parameter logN. Possible values: 10-28. "+ + "A lower value speeds up mounting and reduces its memory needs, but makes the password susceptible to brute-force attacks") // Ignored otions var dummyBool bool ignoreText := "(ignored for compatibility)" |