cram-md5 encrptet passwords support ?
Closed, ResolvedPublic

Description

Hey there. could you make cram-md5 support ? md5-cram ?

KennyVB created this task.Nov 24 2016, 2:54 PM
andreas added a subscriber: andreas.EditedNov 30 2016, 2:18 PM

Hm, my initial though was that it is impossible due to the way CRAM-MD5 works. However, it seems that someone wrote a library recently: https://github.com/hn/dovecot-misc/blob/master/dovecot_hmacmd5.php

Do the strings in your database contain the '{CRAM-MD5}' prefix? Did you create them using 'doveadm pw -s CRAM-MD5 -p $password'?

andreas claimed this task.Nov 30 2016, 2:18 PM
andreas triaged this task as "Normal" priority.

I used postfix admin to set password and I think it uses 'doveadm pw -s CRAM-MD5 -p $password'
and yes the strings in my database is cram-md5

Could you please test if the latest development version works for you? Here is the direct link: https://www.aboehler.at/hg/user_sql/archive/e6a991d13870.tar.gz

Hey there! sorry the long time away and answer
how ever! it works perfectly !
thanks

Thanks for testing, I'll add it to the next release.
Did you also test password changing?

andreas closed this task as "Resolved".Jun 20 2017, 7:56 AM

Closing, since user_sql is on hold.