From: Ryan Tandy Date: Thu, 9 Apr 2020 16:36:37 +0000 (-0700) Subject: ITS#9203 Remove default values from slapd-pw-argon2.5 X-Git-Tag: OPENLDAP_REL_ENG_2_4_50~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba50189b0b9e87051c49b81e570cf54c97723dc1;p=thirdparty%2Fopenldap.git ITS#9203 Remove default values from slapd-pw-argon2.5 The defaults vary by crypto library and possibly even version, so it's not worth trying to keep them accurate. --- diff --git a/contrib/slapd-modules/passwd/argon2/slapd-pw-argon2.5 b/contrib/slapd-modules/passwd/argon2/slapd-pw-argon2.5 index 3bb6a43b4c..51a4428622 100644 --- a/contrib/slapd-modules/passwd/argon2/slapd-pw-argon2.5 +++ b/contrib/slapd-modules/passwd/argon2/slapd-pw-argon2.5 @@ -35,21 +35,17 @@ but it can be configured by giving the following parameters: Set memory usage to .I kiB. -If not given, it defaults to -.BR 4096 . .TP .BI p= Set parallelism to .I threads. -If not given, it defaults to -.BR 1 . .TP .BI t= Set the number of iterations to .IR . -If not given, it defaults to -.BR 3 . +.LP +These replace defaults when preparing hashes for new passwords where possible. .LP After loading the module, the password scheme .B {ARGON2}