public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: Stephen Frost <[email protected]>
Cc: Christoph Berg <[email protected]>
Cc: Devrim Gündüz <[email protected]>
Cc: Craig Ringer <[email protected]>
Cc: pgsql-pkg-yum <[email protected]>
Subject: Re: Can we stop defaulting to 'ident'?
Date: Fri, 22 May 2020 10:52:16 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <CAMsr+YFCuBGWh4=aM-K2LCsBEwcrqm=pphKKHEH09vHwXcspow@mail.gmail.com>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

On 2020-05-20 17:03, Peter Eisentraut wrote:
> On 2020-05-20 16:57, Stephen Frost wrote:
>> Greetings,
>>
>> * Peter Eisentraut ([email protected]) wrote:
>>> Sorry, I should have been more clear.  The upstream default of the GUC
>>> parameter "password_encryption" is md5.
>>
>> Which, really, is pretty broken when we're going to be having our
>> packagers setting up pg_hba.conf to use scram- at the *very* least it's
>> ridiculously misleading because we're going to have SCRAM in pg_hba.conf
>> but passwords actually stored as md5 and therefore we won't be getting
>> the benefits from SCRAM auth (though it should still work, of course,
>> since the SCRAM mode will fall back to working with an md5 password).
> 
> Devrim's commit to pgrpms did include a change to the default setting of
> password_encryption, so it appears to be correct as far as it goes.

I found that if you use initdb's -A option to set the default 
authentication method, then the passsword_encryption setting is 
automatically adjusted in postgresql.conf.  So this patch probably isn't 
even necessary.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (54+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Can we stop defaulting to 'ident'?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox