[Dovecot] SHA1
Marco Herrn
marco at mherrn.de
Thu Dec 9 01:12:42 EET 2004
On Thu, Dec 09, 2004 at 12:03:04AM +0200, Timo Sirainen wrote:
> On 8.12.2004, at 23:20, Marco Herrn wrote:
>
> >I use postgresql to store the user information. The passwords are
> >stored SHA1 encrypted. Now I have the problem that dovecot isn't
> >accepting the user. In dovecot-pgsql.conf I defined
>
> In what exact SHA1 format? Salted or non-salted? Encoded to hex or
> base64? Dovecot's SHA1 is non-salted and base64 encoded. 1.0-test
> supports also salted ones.
It is hex and non-salted. In fact the passwords are made by the python
library and the following code:
import sha
sha.new('password').hexdigest()
So the problem seems to be that dovecot is assuming base64 while mine
are in hex. Is there a way to force dovecot to using hex encoded
passwords?
Regards
Marco
--
that you're not paranoid doesn't mean they aren't right behind you
--
Marco Herrn _ ___ o ' (_)< _ _
_>(__'> o 0 (_X %
>(_`> O o _; _;'7^'_ \;\ %
(GnuPG/PGP-encrypted mail preferred) _;\ _.\ _.';;) ;,;_/;
Key ID: 0x94620736 _ _'./_\('))_; );/\)}/`fsc
More information about the dovecot
mailing list