Re: Confusion re doveadm pw and protected private keys

2023-04-18 Thread Aki Tuomi via dovecot
> On 18/04/2023 02:03 EEST Paul Kroitor wrote: > > > Hello, > > It seems from this thread at letsencrypt : > https://community.letsencrypt.org/t/changing-permissions-for-pem-files/196561 > (see especially second post from _az) that doveadm pw now parses all files in > the config, even ones

Confusion re doveadm pw and protected private keys

2023-04-17 Thread Paul Kroitor
Hello, It seems from this thread at letsencrypt : https://community.letsencrypt.org/t/changing-permissions-for-pem-files/19656 1 (see especially second post from _az) that doveadm pw now parses all files in the config, even ones not relevant to the pw aspect of the request. If it's not able to

Re: doveadm pw usage

2022-04-25 Thread dovecot
> Can this problem not be solved by using `pw -p "$(some cmd to echo the > password)"`? There is also the history command which would show passwords on command lines. Don't supply a password on the command line and doveadm will prompt you to type an invisible password same as linux passwd does.

Re: doveadm pw usage

2022-04-25 Thread Sam Kuper
On Mon, Apr 25, 2022 at 07:30:16PM +1200, Richard Hector wrote: > The downside of putting the password on the command line is that it > will (briefly) be visible in the output of 'ps': > > richard 9449 0.0 0.0 5040 3616 pts/4R+ 19:27 0:00 > /usr/bin/doveconf -f service=doveadm -c /e

Re: doveadm pw usage

2022-04-25 Thread Richard Hector
On 24/04/22 22:45, ミユナ (alice) wrote: ok the helps says: pw   [-l] [-p plaintext] i just thought it specifies the text file. thanks for clarifying it. Bernardo Reino wrote: The argument to "-p" is not a file containing the password, but the password itself! The downside of putti

Re: doveadm pw usage

2022-04-24 Thread Sam Kuper
On Sun, Apr 24, 2022 at 06:45:19PM +0800, ミユナ (alice) wrote: > Bernardo Reino wrote: >> The argument to "-p" is not a file containing the password, but the >> password itself! > > ok the helps says: > > pw [-l] [-p plaintext] > > i just thought it specifies the text file. > > thanks fo

Re: doveadm pw usage

2022-04-24 Thread alice
ok the helps says: pw [-l] [-p plaintext] i just thought it specifies the text file. thanks for clarifying it. Bernardo Reino wrote: The argument to "-p" is not a file containing the password, but the password itself!

Re: doveadm pw usage

2022-04-24 Thread Bernardo Reino
On Sun, 24 Apr 2022, ミユナ (alice) wrote: Hello when i want to assign a password to a user, I need to write the plain passwd to a text file then do: # doveadm pw -p input.txt {CRAM-MD5}77180880... it's not that convenient to write to a file first. does it support the format below? doveadm

Re: doveadm pw

2021-08-07 Thread Doug Hardie
> On 7 August 2021, at 09:50, Timo Sirainen wrote: > > On 7. Aug 2021, at 14.07, Alexander Dalloz > wrote: >> >> Am 07.08.2021 um 08:06 schrieb Doug Hardie: >>> mail# doveadm pw >>> Enter new password: >>> Retype new password: >>> {CRYPT}$2y$05$oSB6end9V.YumJMzON7lfeO

Re: doveadm pw

2021-08-07 Thread Timo Sirainen
On 7. Aug 2021, at 14.07, Alexander Dalloz wrote: > > Am 07.08.2021 um 08:06 schrieb Doug Hardie: >> mail# doveadm pw >> Enter new password: >> Retype new password: >> {CRYPT}$2y$05$oSB6end9V.YumJMzON7lfeOL9N8TXK6jhYqjHOEnPd1NLZ9.QNaTy >> I thought the default was supposed to be CRAM-MD5. I don'

Re: doveadm pw

2021-08-07 Thread Alexander Dalloz
Am 07.08.2021 um 08:06 schrieb Doug Hardie: mail# doveadm pw Enter new password: Retype new password: {CRYPT}$2y$05$oSB6end9V.YumJMzON7lfeOL9N8TXK6jhYqjHOEnPd1NLZ9.QNaTy I thought the default was supposed to be CRAM-MD5. I don't find anywhere I have entered CRYPT. There is one reference to it

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

Re: doveadm pw with SHA512-CRYPT won't roundtrip

2014-08-12 Thread Jiri Bourek
On 12.8.2014 12:23, Jon Hulatt wrote: Hi, Not sure if this is a PBKAC or not:- root@ds3:/usr/share/postfixadmin# doveadm pw -s SHA512-CRYPT -p password {SHA512-CRYPT}$6$aUgGXP0UshkMj7hY$9JV4yMRsjIe/98CzmglYrMjf.9NJ.FXzxcLE9B0v3doCRUWo2wRncc6hg6VCs0DCUHQbeC/bRDZdGCge/nB/h/ root@ds3:/usr/share/p

Re: doveadm pw with SHA512-CRYPT won't roundtrip

2014-08-12 Thread Fischer, Bernhard
At Tuesday, 12-08-2014 on 12:23 Jon Hulatt wrote: > Hi, > > Not sure if this is a PBKAC or not:- > > root@ds3:/usr/share/postfixadmin# doveadm pw -s SHA512-CRYPT -p password > {SHA512-CRYPT}$6$aUgGXP0UshkMj7hY$9JV4yMRsjIe/98CzmglYrMjf.9NJ.FXzxcLE9B0v3doCRUWo2wRncc6hg6VCs0DCUHQbeC/bRDZdGCge/nB/h/

Re: doveadm pw with SHA512-CRYPT won't roundtrip

2014-08-12 Thread SATOH Fumiyasu
At Tue, 12 Aug 2014 11:23:06 +0100, Jon Hulatt wrote: > root@ds3:/usr/share/postfixadmin# doveadm pw -s SHA512-CRYPT -p password > {SHA512-CRYPT}$6$aUgGXP0UshkMj7hY$9JV4yMRsjIe/98CzmglYrMjf.9NJ.FXzxcLE9B0v3doCRUWo2wRncc6hg6VCs0DCUHQbeC/bRDZdGCge/nB/h/ > > root@ds3:/usr/share/postfixadmin# doveadm