Re: Add a warning message when using unencrypted passwords - Mailing list pgsql-hackers

From Guillaume Lelarge
Subject Re: Add a warning message when using unencrypted passwords
Date
Msg-id CAECtzeWRBCb3iC3Okk7jt7h44XTtYaifSFcADM4CLqOBOMusWg@mail.gmail.com
Whole thread Raw
In response to Re: Add a warning message when using unencrypted passwords  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
Hi,

Le lun. 9 déc. 2024 à 14:40, Daniel Gustafsson <daniel@yesql.se> a écrit :
> On 9 Dec 2024, at 14:26, Greg Sabino Mullane <htamfids@gmail.com> wrote:

> -1 to throwing an ERROR - that's not really an error, and not our call to make, so a WARNING is sufficient.

Agreed, regardless of how bad it's considered, it's not an error.  There are
many ways sensitive data can end up in the logs and offering the impression
there is a safety switch offers a false sense of security.


I'm fine with adding a test on whether or not we log statements. But that completely hides the fact that people listening on the network could also get to the password if the server doesn't use SSL. Isn't it weird to warn about one potential leak and not the other one?


--
Guillaume.

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: FileFallocate misbehaving on XFS
Next
From: Dilip Kumar
Date:
Subject: Re: Track the amount of time waiting due to cost_delay