From ba50189b0b9e87051c49b81e570cf54c97723dc1 Mon Sep 17 00:00:00 2001
From: Ryan Tandy <ryan@nardis.ca>
Date: Thu, 9 Apr 2020 09:36:37 -0700
Subject: [PATCH] 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.
---
 contrib/slapd-modules/passwd/argon2/slapd-pw-argon2.5 | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

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 <memory>
 kiB.
-If not given, it defaults to
-.BR 4096 .
 .TP
 .BI p= <parallelism>
 Set parallelism to
 .I <parallelism>
 threads.
-If not given, it defaults to
-.BR 1 .
 .TP
 .BI t= <iterations>
 Set the number of iterations to
 .IR <iterations> .
-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}
-- 
GitLab