[Dovecot] bcrypt again
Timo Sirainen
tss at iki.fi
Wed Aug 15 13:54:03 EEST 2012
On 15.8.2012, at 13.14, Sven Schwyn wrote:
> I'd like Dovecot to consume a list of users exported from an external application which stores bcrypted passwords.
>
> This has been asked in the past, however, I'm not sure how to read the following reply:
>
>> If you are using Dovecot< 2.0 you can also use any of the algorithms
>> supported by your system's libc. But then you have to prefix the hashes
>> with {CRYPT} - not {{BLF,SHA256,SHA512}-CRYPT}.
>
> I'm on Dovecot 2.0.19. Does this mean that only the hashes listed with "doveadm pw -l" are supported and even if glibc can do bcrypt, the CRYPT scheme won't do the trick anymore?
{CRYPT} means that the password is put through libc's crypt() function. If your libc's crypt() supports bcrypt, then Dovecot supports bcrypt.
I don't know why (whoever) said "<2.0".
More information about the dovecot
mailing list