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 1uMVxf-00DxcC-SL for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Jun 2025 18:02:07 +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 1uMVxd-002qW3-Q2 for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Jun 2025 18:02:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uMVxd-002qVv-GZ for pgsql-hackers@lists.postgresql.org; Tue, 03 Jun 2025 18:02:06 +0000 Received: from mail-io1-xd30.google.com ([2607:f8b0:4864:20::d30]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uMVxc-0002Zt-0d for pgsql-hackers@postgresql.org; Tue, 03 Jun 2025 18:02:05 +0000 Received: by mail-io1-xd30.google.com with SMTP id ca18e2360f4ac-872886ed65aso196414939f.1 for ; Tue, 03 Jun 2025 11:02:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748973721; x=1749578521; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=lJgoAUd5RXL0Xy1J+9bTjWVrojopXgr+58tvCwHn1f4=; b=djAHkZq2MFJSyh5oH2fH4vRqH750TLo5Q2izt9fWg2uC3lAyqvMTHkjEDXyCbap6/C q11mWUeHiwdYrSebZ29tfTZCpxZcW3IiRJSRrEGT5wo63Uhp6KMrGx5MVIyiF2jCNl+U NV7/VBPTsv3bKL4M8oLoTxCpydoE/SNftuPl7zrNFFqSLCRBjfKV9AbaAAxOiFwaWH9K Ms+bPNW9MrX5t0xIBT1diQUJtR/aIEWU1dUxyiC+vM/t4N4S22vz/gcroohm42BLvOQM PAVZs4expeScSbhkM3Wco6NgFt88OQrzpPVEBt4kakA5gQX1yqGDAZ2BwQuga0QGE2xt KcDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748973721; x=1749578521; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=lJgoAUd5RXL0Xy1J+9bTjWVrojopXgr+58tvCwHn1f4=; b=tP0uA77FbSJKU69A0VeaterQq3+VIblNHLl4lkEJUBrY4e5d5iytH6qzrnoppU+kmP iEOjYJ0Jz2o/PfLDhmjwmnN/qyCTNUlwPLqEGEo1OTGYChmzuugHpw5Na3WhPKRuaTT7 +6/v9u5ROCciDNQgbcbeRV41HZGZJAoY6q7ClWq1uTo4IhKwcgBP7cicYvdZIyDAZ1Tb HDvqmz2ZENbUOIPPvL0foiIpyRwrhR/BXj4+rwu+ZTAcwZHzkyq48SKfQKt8YDlxPWQ8 UDe77Um2yhifecvJ84QNZgoanZj2imbURyXsAd1mMYihjPby/BkFPld7SVsQNVC3tuhp biIQ== X-Gm-Message-State: AOJu0Yzz6m7noa0G3vb3dwJDXxmTwq6NBo0OQLCFjol4uZp/8KK6Gjnc 4xXiK0AxMjyTcwdy8Nh/dXRa+YcUmq+NkX5i56/xBCpBz2iatGqyU47M X-Gm-Gg: ASbGncuKy9tJ1YX9Jz1LePLebJlRjn/MR6HnR28+uoX0+f6Q9hbW+HA5gD2oxF9mnZ1 VBlZ7ICIasm8ghZ2k3FUXthQ7d1gD8uRs43wBS/pgUMiwwCvCOnC35a7gQDJUPOEJ6GmXYBGGKb wn3ttQk+xocyioSx2DqV508Kx0v2FkneMHYyjJKYKwJyHaW5/LtDF369Xj6e4V09GyByAty/fUy wyRx/2m5rAXfjQjmfy1skOeJixVy8+AX0KeWF+BbJXDkqB6vK0jJz2H5eAL3kpd1Vdi4EovE1iJ GPFrNMc4JRLMlGcWrHpZbYbMvQfXjnq0ur5Kao8U1HEz5EsgV6fPpIrTidD7bbgKiprl9MkO/Jo kZbzk+9sVDquJSbfgpr4IOmbOyV0eY43pxE8DnKpP1g== X-Google-Smtp-Source: AGHT+IGy80JCxZtSr6kYbB79tZwOKBt7wmjM/q4imSnnsrSVAyI3RlT2dEQehhRSiOawuv2sLQlQ1Q== X-Received: by 2002:a05:6602:6a97:b0:864:48d3:a5cf with SMTP id ca18e2360f4ac-86d00113b6dmr1907406939f.12.1748973721279; Tue, 03 Jun 2025 11:02:01 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id ca18e2360f4ac-873141e91d1sm19168839f.4.2025.06.03.11.02.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jun 2025 11:02:00 -0700 (PDT) Date: Tue, 3 Jun 2025 13:01:58 -0500 From: Nathan Bossart To: Michael Paquier Cc: 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="oa/oIHxiwZpWg/Ua" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --oa/oIHxiwZpWg/Ua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jun 03, 2025 at 01:43:15PM +0900, Michael Paquier wrote: > You are missing one reference in doc/src/sgml/system-views.sgml for > pg_shadow.passwd, no? Yup. Here is an updated patch. -- nathan --oa/oIHxiwZpWg/Ua Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=v2-0001-doc-Fix-notes-about-password-encryption-in-pg_aut.patch From 2d41fa2cff14b548905e2dfdd98b992976137e61 Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date: Mon, 2 Jun 2025 09:08:24 -0500 Subject: [PATCH v2 1/1] doc: Fix notes about password encryption in pg_authid. --- doc/src/sgml/catalogs.sgml | 7 +------ doc/src/sgml/system-views.sgml | 2 +- 2 files changed, 2 insertions(+), 7 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. - diff --git a/doc/src/sgml/system-views.sgml b/doc/src/sgml/system-views.sgml index b58c52ea50f..986ae1f543d 100644 --- a/doc/src/sgml/system-views.sgml +++ b/doc/src/sgml/system-views.sgml @@ -3932,7 +3932,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx passwd text - Password (possibly encrypted); null if none. See + Encrypted password; null if none. See pg_authid for details of how encrypted passwords are stored. -- 2.39.5 (Apple Git-154) --oa/oIHxiwZpWg/Ua--