doveadm pw with SHA512-CRYPT won't roundtrip

Fischer, Bernhard fischerb at fischer-ing.de
Tue Aug 12 10:29:27 UTC 2014


At Tuesday, 12-08-2014 on 12:23 Jon Hulatt wrote:
> Hi,
> 
> Not sure if this is a PBKAC or not:-
> 
> root at ds3:/usr/share/postfixadmin# doveadm pw -s SHA512-CRYPT -p password
> {SHA512-CRYPT}$6$aUgGXP0UshkMj7hY$9JV4yMRsjIe/98CzmglYrMjf.9NJ.FXzxcLE9B0v3doCRUWo2wRncc6hg6VCs0DCUHQbeC/bRDZdGCge/nB/h/
> 
> root at ds3:/usr/share/postfixadmin# doveadm pw -t {SHA512-CRYPT}$6$aUgGXP0UshkMj7hY$9JV4yMRsjIe/98CzmglYrMjf.9NJ.FXzxcLE9B0v3doCRUWo2wRncc6hg6VCs0DCUHQbeC/bRDZdGCge/nB/h/ -p password
> doveadm(root): Fatal: reverse password verification check failed: Password mismatch
> 
> root at ds3:/usr/share/postfixadmin# dovecot --version
> 2.2.9
> 
> 
> It works ok with other schemes that i’ve tried (e.g. SSHA-512).
> 
> Is this a bug, or my mistake?
> 
> thanks
> 
> Jon

The simple answer may be to quote the password.

-bernhard


More information about the dovecot mailing list