]> jfr.im git - irc/atheme/atheme.git/commit
modules/crypto/pbkdf2v2: add HMAC-MD5 support (verify-only)
authorAaron Jones <redacted>
Tue, 12 Feb 2019 22:18:39 +0000 (22:18 +0000)
committerAaron Jones <redacted>
Tue, 12 Feb 2019 22:21:47 +0000 (22:21 +0000)
commit1e3d9e782d8f31652853971623ce923d77a18bdb
treee3c7369bee2606bad6a2bd338efadead084c9e23
parent758f9d1231784ac6bf9ac29e5f177d1366d33d50
modules/crypto/pbkdf2v2: add HMAC-MD5 support (verify-only)

This is cheap (the necessary scaffolding is already present) and easy,
and will enable the migration of password hashes from more sources.

It will always re-encrypt the password, after verification, with a
stronger digest algorithm, because you cannot configure the module to
use this one.

This is a back-port of commit 7b1204391f5bd25b5409728aac46b2855f7f9433
from the master (v7.3) branch, for forward-compatibility.
modules/crypto/pbkdf2v2.c