--On Thursday, April 14, 2022 10:26 AM +0000 [email protected] wrote:

Hi,

Currently I am trying to use argon2 password hashes with OpenLDAP 2.6.1.

Everything works fine so far, but I can't get module argon2.la to create
argon2id hashes.

In argon2 command is a switch to use Argon2id instead of Argon2i:

echo -n "password" | argon2 somesalt -id -e
$argon2id$v=19$m=4096,t=3,p=1$c29tZXNhbHQ$qLml5cbqFAO6YxVHhrSBHP0UWdxrIxk
NcM8aMX3blzU

slappasswd -o module-load="argon2.la" -h {ARGON2} -s password
{ARGON2}$argon2i$v=19$m=4096,t=3,p=1$P3r67PwtSB5fq2JvTaGZfw$WNup4MZcRkvGw
IVWFKjU92nHiM/vu6DUTnSOVpLYwVM

Is it possible to use choose between argon2i, argon2d and argon2id in
that library?

Not currently.  I suppose you could file a feature request for such.

--Quanah

Reply via email to