Re: password_encryption default - Mailing list pgsql-hackers

From Jonathan S. Katz
Subject Re: password_encryption default
Date
Msg-id 492faf93-33b4-1244-a4af-ddcee15bc8d4@postgresql.org
Whole thread Raw
In response to Re: password_encryption default  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: password_encryption default
List pgsql-hackers
On 6/10/20 10:47 AM, Peter Eisentraut wrote:
> On 2020-05-28 15:28, Jonathan S. Katz wrote:
>> On 5/28/20 8:10 AM, Peter Eisentraut wrote:
>>> On 2020-05-27 15:25, Jonathan S. Katz wrote:
>>>> $ initdb -D data --auth-local=scram-sha-256 --auth-host=md5
>>>>
>>>> Got an error message:
>>>>
>>>> "initdb: error: must specify a password for the superuser to enable md5
>>>> authentication"
>>>>
>>>> For the last two, that behavior is to be expected (after all, you've
>>>> set
>>>> the two login vectors to require passwords), but the error message
>>>> seems
>>>> odd now. Perhaps we tweak it to be:
>>>>
>>>>
>>>> "initdb: error: must specify a password for the superuser when
>>>> requiring
>>>> passwords for both local and host authentication."
>>>
>>> That message is a bit long.  Maybe just
>>>
>>> must specify a password for the superuser to enable password
>>> authentication
>>>
>>> without reference to the specific method.  I think the idea is clear
>>> there.
>>
>> +1
>
> committed

Yay!!! Thank you!

Jonathan


Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: password_encryption default
Next
From: Andrew Dunstan
Date:
Subject: Re: Recording test runtimes with the buildfarm