Re: doveadm pw generates different hash each time it is invoked

2014-12-29 Thread Joseph Tam
reik red writes: (I'm re-submittting after setting up a subscription, so I don't have to wait for the moderator) , What happened next surprised me greatly: if I specify "-s ssha", the resulting hashed password changes each time I invoke "doveadm pw", but if I do not specify the hashing method,

Re: doveadm pw generates different hash each time it is invoked !?

2014-12-25 Thread Daniel Parthey
Hi there, if you are getting different results on each invocation of the hash function, you might have selected a salted hashing function which generates a random salt. When you provide the same salt, you should get the same result for the same input, but when you omit the salt, it generates a

doveadm pw generates different hash each time it is invoked !?

2014-12-25 Thread reik red
I am absolutely dumbfounded by "doveadm pw". My understanding is that the command should be used to create a hashed password that should in turn be placed into /etc/dovecot/passwd Here comes the "dumbfounded" part. I was creating a new virtual user, running doveadm pw to generate the hashed passwo