[Dovecot] PHP implementation of dovecotpw passwords

Chris Laif chris.laif at googlemail.com
Tue Mar 20 11:13:09 EET 2007


On 3/19/07, Frank Church <voipfc at googlemail.com> wrote:
> I am looking for PHP functions that implement passwords that much the
> dovecotpw implementation.
>
> I downloaded one from PEAR, Crypt_HMAC, but the passwords  it
> generates look nothing like the dovecotpw passwords, which could be my
> fault because I know nothing about the field.
>

All libraries/utilities I know generate an HMAC-MD5 string (32bytes).
Dovecot uses HMAC-MD5-CONTEXTs (64bytes) for CRAM-MD5 authentication.

See also: http://www.dovecot.org/list/dovecot/2006-December/018083.html

Chris


More information about the dovecot mailing list