[PATCH] new a1hash password type for authreg_mysql
Bug #821737 reported by
Steven Ayre
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Jabberd |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Attached patch is for 2.2.14 and adds a new password type named 'a1hash' to the mysql authreg module.
This stores the MD5 digest of user:realm:password in the database, and should be used with the plain mechanism (similar to crypt). This is similar to the password encryption method used for htdigest files.
To post a comment you must log in.
Thank you for your submission.
I guarded your code with #ifdef HAVE_SSL, as it will only work when OpenSSL available.