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 1uM62s-002USP-1a for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Jun 2025 14:21:46 +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 1uM62q-00ANkD-FZ for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Jun 2025 14:21:44 +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 1uM62q-00ANk5-5t for pgsql-hackers@lists.postgresql.org; Mon, 02 Jun 2025 14:21:44 +0000 Received: from mail-il1-x12b.google.com ([2607:f8b0:4864:20::12b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uM62n-0002ku-2m for pgsql-hackers@postgresql.org; Mon, 02 Jun 2025 14:21:43 +0000 Received: by mail-il1-x12b.google.com with SMTP id e9e14a558f8ab-3dd87b83302so14731695ab.0 for ; Mon, 02 Jun 2025 07:21:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748874101; x=1749478901; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=r9Pxj3FuhxilXEVE6cGJwCl+vHo0a+EOQdbnjerLhmM=; b=NjbS1BLXY/uJiapgH33MbuPBYOhJ2u5TXC/t94Y+sl3ncEO6bAm9C8+yc0tsAgrpJ0 32YXxsdOvUvhCiE0QB92iBEwrraGaQQYWkCjyPOuoPWXapSaTj6NpDnCXVxhmoCursOM 96mvgZQMURxXUtOqA3izg7Qwt3zkfkxKna48+kizoE9xRT2LMAyGvkDWVfonBtqLTDCw clAbA2EkQaNx5sl2v6+Wom17EKRviIzkZNkK2r7E8ipJ90sGIoAR+Xn5Stv/C5Daueax cURcUUa4GW48oX0J3p7M2xnGELpbBvaxBDZm/4QUz73c/WXBVhRTVc+wP5uhdw0Nlwvs y5yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748874101; x=1749478901; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=r9Pxj3FuhxilXEVE6cGJwCl+vHo0a+EOQdbnjerLhmM=; b=IEJpPRkoRpS3JMEElEgbbxSOg4AcvOOtURwl4DAK+fwlGCLKDu/ep3J3pt9I6vBta6 ewrVgdakYJMt5e5t4dwzQOH7mPkdiM5irYsGfBG/KTxrmB/IFcq0qCbs4BKOSp8fm1yS ItcY/h1Yrlyl8EOS2Rd4pKC01B5vD+sS6SMNZfX+hhoCWCbv3T5S55cl3SNZXOyqWNdb ytWUii5RyXXMjnibhlVpPU2/9FrU+hDNfggX1t/uS+6bHa3MLLQjLeTdenCXxllPQKoS k95B145gZjPQxOfet5+ofhgZWlvuVFiDD+Qh7Kt2/wS30JbBPCWC1EKzja2RAcbmL/9q IytA== X-Gm-Message-State: AOJu0Yweo2E/BN5niBwRUM7RyQPlMlC7NAcwGNaEjy9sc1RKtAr3uAdR JyD+A7eht4SUOdx9WdJMQXoiWUM3/96ii5tLmUatuc9wrlftlWgRDyJXOQ0GwA== X-Gm-Gg: ASbGncsQDrVuvYl1ZER2vt8wgI2ovJ6YtT3imhTzuTIWr/OUDNa20RvNFFDj+YSJe6Y ER2p5JyFkXbCrRtdyK/4D/JdZV9Af/L5cjl5pTT5gGiUeLPeFXRNbDM0rFYB0d+vGWGUM8OFkzG DrkKFKRuACKlo+8RkO4PeJnaFmrVdrTZzptiWoYR3KrPMjtnBFPrplhSotmQamEUhCXjS0yeyVf f/IByuKAxvCg5aG/PGoxcckWK0/uypkVZTnmYkv2ngdKegil+KCgdyHxIIl9Y2+5ggitqD+P/E0 zAvrNec+oDWXdz1bhnmNsa5YjPQ7Srflgd8aTZCujOxZrP42GH2JwsOkGd4kBt0aNHgE+Nqol3v dUaDCIvIxxcKo2hpEnFihR5lhZ5AkjXh+8fker04eXQ== X-Google-Smtp-Source: AGHT+IHSucLekb6Vd5i00llahsoYXg9N1P9a/QY4gge5dbTva4Pw/XPzhUGguurtG5oemobOYFFRMQ== X-Received: by 2002:a05:6e02:154b:b0:3dc:7240:94c7 with SMTP id e9e14a558f8ab-3dda3329bf1mr74503965ab.6.1748874101183; Mon, 02 Jun 2025 07:21:41 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4fdd7ef7360sm1720593173.108.2025.06.02.07.21.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Jun 2025 07:21:40 -0700 (PDT) Date: Mon, 2 Jun 2025 09:21:39 -0500 From: Nathan Bossart To: pgsql-hackers@postgresql.org Subject: Re: fix notes about password encryption in pg_authid docs Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="gqW30kygGtH0IOdp" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --gqW30kygGtH0IOdp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 02, 2025 at 09:16:10AM -0500, Nathan Bossart wrote: > I noticed that the docs for the pg_authid catalog still indicate that > passwords might be stored "unencrypted," which hasn't been possible since > commit eb61136. The attached patch attempts to fix that. If acceptable, > I'd back-patch it to all supported versions. And now with a patch actually attached... -- nathan --gqW30kygGtH0IOdp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=v1-0001-doc-Fix-notes-about-password-encryption-in-pg_aut.patch From 268dc1afbcb1195de6b9aa735d9e27449c2e8fd2 Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date: Mon, 2 Jun 2025 09:08:24 -0500 Subject: [PATCH v1 1/1] doc: Fix notes about password encryption in pg_authid. --- doc/src/sgml/catalogs.sgml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index cbd4e40a320..d53e7e39b59 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -1582,7 +1582,7 @@ rolpassword text - Password (possibly encrypted); null if none. The format depends + Encrypted password; null if none. The format depends on the form of encryption used. @@ -1627,11 +1627,6 @@ SCRAM-SHA-256$<iteration count>:&l ServerKey are in Base64 encoded format. This format is the same as that specified by RFC 5803. - - - A password that does not follow either of those formats is assumed to be - unencrypted. - -- 2.39.5 (Apple Git-154) --gqW30kygGtH0IOdp--