From: Nathan Bossart <nathandbossart@gmail.com>
To: Greg Sabino Mullane <htamfids@gmail.com>
Cc: Isaac Morland <isaac.morland@gmail.com>
Cc: Aleksander Alekseev <aleksander@timescale.com>
Cc: tgl@sss.pgh.pa.us, pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: PATCH: warn about, and deprecate, clear text passwords
Date: Mon, 3 Mar 2025 10:33:37 -0600
Message-ID: <Z8XZ4f4XXfptmRS-@nathan> (raw)
In-Reply-To: <CAKAnmmKbT=eEoHxm6Ki6UyV0c=KZoy_hECbdcvDWTOWZakhcgw@mail.gmail.com>
References: <CAKAnmmJcXyLeBUJfqCx+-gRmkooDPnH7OmM4o=2HJRXzbMkP_g@mail.gmail.com>
<CAJ7c6TP=nGgMhzrNgT8uzqaQj_nkT6HkYNgUyYcDqaL3R8dGog@mail.gmail.com>
<CAKAnmmKGWxEGbvuBAxyDWmuije8agUHTY-82DR1VEkFM2vKNTg@mail.gmail.com>
<Z7za0Q9Yj5HDU-ye@nathan>
<CAMsGm5ePTEVkzreF957TT7L2RapyfJ=fPAw-OoZ7+JQbWTvXSw@mail.gmail.com>
<Z7ziHYjYGeD8DPzh@nathan>
<CAKAnmmLPmt_=tC_KsPMV1W2qGmgyLTx47bAKmh1RQhofhNZcLQ@mail.gmail.com>
<Z73jBpWlBEuvLjEj@nathan>
<CAKAnmmKbT=eEoHxm6Ki6UyV0c=KZoy_hECbdcvDWTOWZakhcgw@mail.gmail.com>
On Tue, Feb 25, 2025 at 11:13:51AM -0500, Greg Sabino Mullane wrote:
> On Tue, Feb 25, 2025 at 10:34 AM Nathan Bossart <nathandbossart@gmail.com>
> wrote:
>> IMHO a WARNING would really only be appropriate if we are definitely going
>> to remove support in the future, and that feels like a bit of a stretch to
>> me due to the level of breakage it could cause. That being said, folks did
>> seem on board enough with deprecating MD5 passwords for me to feel
>> comfortable committing it, although that might not quite be an
>> apples-to-apples comparison. In any case, we've long encouraged folks to
>> avoid sending passwords to the server in clear-text, so I think it's
>> reasonable to provide some way to enforce that server-side.
>
> Yes, I went back and forth on the wording for the warning, but ended up
> with a slightly weasely "may be removed" rather than "will be removed". Of
> course, no date is explicitly promised, so "will be removed" could be an
> accurate. It might just be 75 years from now, when our neural implants make
> plain text passwords a quaint relic.
I think it would be good to hear some other opinions on whether we should
consider sending clear-text passwords to the server as either 1) fully
supported, 2) deprecated but with no intent to remove anytime soon, or 3)
deprecated with the intent of removal at some point in the next several
years. I personally am -1 on the warning unless we have a consensus on
(3), but I'm +1 on adding a way to enforce "pre-encryption" regardless.
--
nathan
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, htamfids@gmail.com, isaac.morland@gmail.com, aleksander@timescale.com
Subject: Re: PATCH: warn about, and deprecate, clear text passwords
In-Reply-To: <Z8XZ4f4XXfptmRS-@nathan>
References: <CAKAnmmJcXyLeBUJfqCx+-gRmkooDPnH7OmM4o=2HJRXzbMkP_g@mail.gmail.com> <CAJ7c6TP=nGgMhzrNgT8uzqaQj_nkT6HkYNgUyYcDqaL3R8dGog@mail.gmail.com> <CAKAnmmKGWxEGbvuBAxyDWmuije8agUHTY-82DR1VEkFM2vKNTg@mail.gmail.com> <Z7za0Q9Yj5HDU-ye@nathan> <CAMsGm5ePTEVkzreF957TT7L2RapyfJ=fPAw-OoZ7+JQbWTvXSw@mail.gmail.com> <Z7ziHYjYGeD8DPzh@nathan> <CAKAnmmLPmt_=tC_KsPMV1W2qGmgyLTx47bAKmh1RQhofhNZcLQ@mail.gmail.com> <Z73jBpWlBEuvLjEj@nathan> <CAKAnmmKbT=eEoHxm6Ki6UyV0c=KZoy_hECbdcvDWTOWZakhcgw@mail.gmail.com> <Z8XZ4f4XXfptmRS-@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