Schemeprefix is not detected correctly #16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
According to RFC2307 (do you know a better reference?), a password must be stored as follow:
We observe that the proposed schemes are in lowercase and that the scheme we use are not referenced (
SSHA
,SSHA256
andSSHA512
). Additionnaly, if Bottin does not detect any scheme it knows, it considers the password as plaintext and hash it withSSHA512
.It leads to the following quirks:
{ssha}xxx
, it is silently considered as a plain text password and then re-hashed, thus preventing people from connecting.{crypt}xxx
, it is also silently ignored and considered as a plain text password.Before patching Bottin, I have these 2 questions:
crypt
that is system dependant, is not recommended, and use instead PBKDF2 that is also recommended by 389DS, an LDAP implementation by Red Hat?References:
My understanding of the problem:
Considering these facts, I think we should implement
{ARGON2}
directly instead of{CRYPT}
.Schemeprefix is not detected correctly and lead to wrong logicto Schemeprefix is not detected correctly