From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Greg Sabino Mullane <htamfids(at)gmail(dot)com> |
Cc: | Nathan Bossart <nathandbossart(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Isaac Morland <isaac(dot)morland(at)gmail(dot)com>, Aleksander Alekseev <aleksander(at)timescale(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: PATCH: warn about, and deprecate, clear text passwords |
Date: | 2025-03-17 03:12:35 |
Message-ID: | CA+TgmoaEHYf3drH8a8BuJK8dzuW6ptpBQNUaC7U-gV2=y--vsg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Mar 14, 2025 at 2:50 PM Greg Sabino Mullane <htamfids(at)gmail(dot)com> wrote:
> I'd rather not sit on this another year, if we can help it. We really should be warning people about this practice. The exact wording of the hint can be up for debate (or postponed - we technically don't have to say anything other than 'bad idea').
>
> Having the ability to disable clear text passwords seems an immediate win for those that want to enable it. Sure, we could be doing more, but I don't see any of the proposed future changes interfering with this patch.
I don't know, I think Nathan's idea of giving ourselves more time to
decide what to do is a pretty good one. It seems clear from the
discussion so far that there are multiple ideas about what to do here,
and it's not stupid to want to give ourselves a bit of time to think
that through before committing to anything in particular. From my
point of view, the warning text here for what is proposed here almost
might almost be:
WARNING: you just caused a problem for somebody else
The user has no particular reason to care about the fact that the
password they just typed ended up in the log. That is a concern for
the DBA, not the user, and even if they care about the DBA's feelings,
they only get the warning after it's too late to do otherwise.
Blocking ALTER USER commands containing such passwords is better,
because now doing the wrong thing actually doesn't work at all, and so
they have to change their behavior if they want to get anything done.
But we don't seem to be too sure whether we can really get away with
that amount of breakage; and we also don't seem to be sure whether it
really solves the problem; and we're getting very close to feature
freeze.
--
Robert Haas
EDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2025-03-17 03:14:17 | Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility. |
Previous Message | Robert Haas | 2025-03-17 02:53:25 | Re: lwlocknames.h beautification attempt |