Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tpApA-001Qzu-PA for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Mar 2025 18:47:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tpAp9-00EAxk-0l for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Mar 2025 18:47:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tpAp8-00EAxJ-N2 for pgsql-hackers@lists.postgresql.org; Mon, 03 Mar 2025 18:47:30 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tpAp6-000llx-2G for pgsql-hackers@postgresql.org; Mon, 03 Mar 2025 18:47:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 523IlRsX4061038; Mon, 3 Mar 2025 13:47:27 -0500 From: Tom Lane To: Robert Haas cc: Nathan Bossart , Greg Sabino Mullane , Isaac Morland , Aleksander Alekseev , pgsql-hackers Subject: Re: PATCH: warn about, and deprecate, clear text passwords In-reply-to: References: Comments: In-reply-to Robert Haas message dated "Mon, 03 Mar 2025 13:10:50 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4061036.1741027647.1@sss.pgh.pa.us> Date: Mon, 03 Mar 2025 13:47:27 -0500 Message-ID: <4061037.1741027647@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas 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