pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Nathan Bossart <nathandbossart@gmail.com>
Cc: Greg Sabino Mullane <htamfids@gmail.com>
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: Mon, 03 Mar 2025 13:47:27 -0500
Message-ID: <4061037.1741027647@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoYDtt0TR-9B4sMFRGYzompcu-Ph9k7nM3gu7hTPrWWYgQ@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>
	<Z8XZ4f4XXfptmRS-@nathan>
	<CA+TgmoYDtt0TR-9B4sMFRGYzompcu-Ph9k7nM3gu7hTPrWWYgQ@mail.gmail.com>

Robert Haas <robertmhaas@gmail.com> writes:
> I wonder if we could drum up some support for not including any
> version of the password (even encrypted) in the query string. For
> instance, let's say that to change your password you have to use the
> new CHANGE PASSWORD command which can only be used at top level (not
> inside PL code or whatever) and always takes a single parameter that
> must be supplied via the extended query protocol.

How would pg_dumpall cope with transferring passwords then?

I could see insisting that plain-text passwords be supplied only
that way.  But removing the ability to have encrypted passwords
in-line seems like a serious operational problem with little benefit.

			regards, tom lane





view thread (33+ messages)  latest in thread

Message-ID: <4061037.1741027647@sss.pgh.pa.us>
Permalink:  ../4061037.1741027647@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4061037.1741027647@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, 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: <4061037.1741027647@sss.pgh.pa.us>
  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> <CA+TgmoYDtt0TR-9B4sMFRGYzompcu-Ph9k7nM3gu7hTPrWWYgQ@mail.gmail.com> <4061037.1741027647@sss.pgh.pa.us>

* 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