Page MenuHomePhabricator

cram-md5 encrptet passwords support ?
Closed, ResolvedPublic

Description

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

Event Timeline

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 triaged this task as Normal priority.Nov 30 2016, 3:07 PM

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?

Closing, since user_sql is on hold.