From: | Stephen Frost <sfrost(at)snowman(dot)net> |
---|---|
To: | Christoph Berg <myon(at)debian(dot)org>, 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> |
Subject: | Re: Can we stop defaulting to 'ident'? |
Date: | 2019-12-20 15:21:01 |
Message-ID: | 20191220152101.GS3195@tamriel.snowman.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-debian pgsql-pkg-yum |
Greetings,
* Christoph Berg (myon(at)debian(dot)org) wrote:
> Re: Stephen Frost 2019-12-20 <20191220150644(dot)GO3195(at)tamriel(dot)snowman(dot)net>
> > SCRAM is *definitely* better and I strongly support us moving to it,
> > provided it doesn't break anything existing (which it generally
> > shouldn't... but maybe there's some weird edge cases, or possibly older
> > clients, but still, at some point, we need to move this default to be
> > SCRAM).
>
> TBH I haven't really read the manual section about md5-scram
> compatibility yet, but from memory, there's a lot of footnotes that
> need to be taken into account before the switch can be flipped, if
> upgrades from old servers are to be supported. The process sounds
> scary and painful.
This depends on which 'switch' we are talking about flipping and how
things like passwords are managed today and such...
I encourage reading through the documentation, of course, but my
recollection off-hand is that 'scram' in pg_hba.conf will happily work
with stored md5 passwords too as a fall-back. Changing how passwords
are stored is actually not related to pg_hba.conf but rather to the
password encryption GUC, which we would want to change because otherwise
you don't actually get any real improvement in security. The default
for that continues to be 'md5' from PG though and Debian doesn't
currently change it. I do worry there might be an issue with older
pre-scram-supporting clients/libraries, haven't looked at that recently.
Thanks,
Stephen
From | Date | Subject | |
---|---|---|---|
Next Message | apt.postgresql.org Repository Update | 2019-12-20 16:30:51 | pgadmin4 updated to version 4.16-1.pgdg+1 |
Previous Message | Christoph Berg | 2019-12-20 15:15:35 | Re: Can we stop defaulting to 'ident'? |
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2019-12-23 06:04:25 | Re: Can we stop defaulting to 'ident'? |
Previous Message | Christoph Berg | 2019-12-20 15:15:35 | Re: Can we stop defaulting to 'ident'? |