Re: Can we stop defaulting to 'md5'?

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Christoph Berg <myon(at)debian(dot)org>, Stephen Frost <sfrost(at)snowman(dot)net>, Devrim Gündüz <devrim(at)gunduz(dot)org>, Craig Ringer <craig(at)2ndquadrant(dot)com>, pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>, PostgreSQL in Debian <pgsql-pkg-debian(at)postgresql(dot)org>
Subject: Re: Can we stop defaulting to 'md5'?
Date: 2020-05-29 11:51:23
Message-ID: c82d5b30-9d65-a52e-87b6-e5eda5fb35b1@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian pgsql-pkg-yum

On 2020-05-29 11:14, Christoph Berg wrote:
> Re: Peter Eisentraut
>>>> You get that if you set the authentication method to "md5". (Clearly not a
>>>> very clear name, but it exists.)
>>>
>>> Thanks, I'll probably do that.
>>>
>>> Do we want that for PG13+, or even for 10+?
>>
>> Isn't that already the default for Debian packages?
>
> I meant setting password_encryption to scram.

That depends on what you consider your backward compatibility commitment
to be.

The consensus on pgsql-hackers appears to be to make that change in PG14
upstream, under the theory that by the time PG14 is released, PG9.6 (the
last non-SCRAM release) will be (almost) EOL. So anyone using
from-source builds under strict observation of EOL dates would not have
compatibility problems when using their old libpq to connect to a newer
server.

AFAICT, in Debian you still have 9.6 in stretch until either 2020 or LTS
until 2022, and in Ubuntu 16.04 you still have 9.5 until 2021. So,
well, any choice you end up making can be defended.

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

In response to

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message apt.postgresql.org Repository Update 2020-06-04 11:44:22 orafce updated to version 3.13.4-1.pgdg+1
Previous Message Christoph Berg 2020-05-29 09:14:42 Re: Can we stop defaulting to 'md5'?

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Justin Pryzby 2020-05-31 22:23:00 libpqxx-devel for pg12 on c7 (was: Re: cannot install postgis30 / rhel7)
Previous Message Christoph Berg 2020-05-29 09:14:42 Re: Can we stop defaulting to 'md5'?