pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathandbossart@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Greg Sabino Mullane <htamfids@gmail.com>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Isaac Morland <isaac.morland@gmail.com>
Cc: Aleksander Alekseev <aleksander@timescale.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: PATCH: warn about, and deprecate, clear text passwords
Date: Wed, 19 Mar 2025 10:01:26 -0500
Message-ID: <Z9rcRn53zhFdgIDc@nathan> (raw)
In-Reply-To: <CA+TgmobL3w8bytd+eOCcpn=NHqqS+vyddcsimv4Yq72sqwWyYw@mail.gmail.com>
References: <CA+TgmoYDtt0TR-9B4sMFRGYzompcu-Ph9k7nM3gu7hTPrWWYgQ@mail.gmail.com>
	<4061037.1741027647@sss.pgh.pa.us>
	<CA+TgmoY1=af8d5T47wAW__vfaNXUY-QOP00bd_=Rzg=NPcNxJQ@mail.gmail.com>
	<Z9RJethZdgCq1Tgq@nathan>
	<CAKAnmmLqM7ud31MWq2SZGn5WYodudJZSLp0kxwjnqqRewCVjGA@mail.gmail.com>
	<CA+TgmoaEHYf3drH8a8BuJK8dzuW6ptpBQNUaC7U-gV2=y--vsg@mail.gmail.com>
	<CAKFQuwapQ4egH-o10t_okpJeL+ocST7OEPTfviAABKbUznSVbw@mail.gmail.com>
	<CA+TgmoZe1Yguej5PTo7QL11uHy3pFyk_zeL4SLPuvKq9JMn2MQ@mail.gmail.com>
	<CAKAnmm+O=qBBYaKwYCRm_yfMNbpfYz9xjbdQdQ9RLdgjgRX0CA@mail.gmail.com>
	<CA+TgmobL3w8bytd+eOCcpn=NHqqS+vyddcsimv4Yq72sqwWyYw@mail.gmail.com>

On Wed, Mar 19, 2025 at 10:06:58AM -0400, Robert Haas wrote:
> On Wed, Mar 19, 2025 at 9:24 AM Greg Sabino Mullane <htamfids@gmail.com> wrote:
>>> 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.
>>
>> Can't the same be said about other warnings, esp. md5?
> 
> Absolutely. Warnings are sometimes the right thing, but they often
> suck. If something is really a bad idea, "ERROR: bad idea" is vastly
> superior to "WARNING: what you just already did was a bad idea". If we
> don't actually know for sure that it's a bad idea, then it's generally
> better not to emit a warning at all, for fear of log-spamming people
> who know what they're doing.

FWIW I primarily intended the MD5 password warning to alert folks that the
ability to use MD5 passwords will go away at some point in the future.  If
they want to continue to use MD5 passwords for now, they are free to do so.
They can even turn off the warnings.  One of the main reasons I'm not
totally sold on a clear-text password warning is because we don't have
agreement on removing that ability anytime soon, not to mention Bruce's
point about the debate extending into mid-March.

-- 
nathan





view thread (33+ messages)  latest in thread

Message-ID: <Z9rcRn53zhFdgIDc@nathan>
Permalink:  ../Z9rcRn53zhFdgIDc@nathan/
Also on:    postgresql.org/message-id/Z9rcRn53zhFdgIDc@nathan

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: nathandbossart@gmail.com, robertmhaas@gmail.com, htamfids@gmail.com, david.g.johnston@gmail.com, tgl@sss.pgh.pa.us, isaac.morland@gmail.com, aleksander@timescale.com
  Subject: Re: PATCH: warn about, and deprecate, clear text passwords
  In-Reply-To: <Z9rcRn53zhFdgIDc@nathan>
  References: <CA+TgmoYDtt0TR-9B4sMFRGYzompcu-Ph9k7nM3gu7hTPrWWYgQ@mail.gmail.com> <4061037.1741027647@sss.pgh.pa.us> <CA+TgmoY1=af8d5T47wAW__vfaNXUY-QOP00bd_=Rzg=NPcNxJQ@mail.gmail.com> <Z9RJethZdgCq1Tgq@nathan> <CAKAnmmLqM7ud31MWq2SZGn5WYodudJZSLp0kxwjnqqRewCVjGA@mail.gmail.com> <CA+TgmoaEHYf3drH8a8BuJK8dzuW6ptpBQNUaC7U-gV2=y--vsg@mail.gmail.com> <CAKFQuwapQ4egH-o10t_okpJeL+ocST7OEPTfviAABKbUznSVbw@mail.gmail.com> <CA+TgmoZe1Yguej5PTo7QL11uHy3pFyk_zeL4SLPuvKq9JMn2MQ@mail.gmail.com> <CAKAnmm+O=qBBYaKwYCRm_yfMNbpfYz9xjbdQdQ9RLdgjgRX0CA@mail.gmail.com> <CA+TgmobL3w8bytd+eOCcpn=NHqqS+vyddcsimv4Yq72sqwWyYw@mail.gmail.com> <Z9rcRn53zhFdgIDc@nathan>

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

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