From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 1A1051FF0AF for ; Fri, 23 Oct 2026 11:42:08 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id C233E21657; Fri, 23 Oct 2026 11:42:07 +0200 (CEST) From: Shannon Sterz To: pmg-devel@lists.proxmox.com Subject: [PATCH docs v2 2/2] pmgconfig: document that the pmg realm now uses yescrypt Date: Fri, 23 Oct 2026 11:40:57 +0200 Message-ID: <20261023094057.101837-3-s.sterz@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261023094057.101837-1-s.sterz@proxmox.com> References: <20261023094057.101837-1-s.sterz@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1792748524032 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.687 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: ST7C2TKTAFZDHMHX6V3X7XKSYEQG3SVP X-Message-ID-Hash: ST7C2TKTAFZDHMHX6V3X7XKSYEQG3SVP X-MailFrom: s.sterz@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Mail Gateway development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: and document that passwords will be upgraded on login. Signed-off-by: Shannon Sterz --- pmgconfig.adoc | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pmgconfig.adoc b/pmgconfig.adoc index 00a988e..0eab138 100644 --- a/pmgconfig.adoc +++ b/pmgconfig.adoc @@ -1271,11 +1271,18 @@ created on the host system with commands such as `adduser`. {pmg} Authentication Server:: This is a Unix-like password store, which stores hashed passwords directly in -`/etc/pmg/user.conf`. Passwords are hashed using the SHA-256 hashing -algorithm. This is the most convenient realm for small-scale (or even -mid-scale) installations, where users do not need access to anything outside of -{pmg}. In this case, users are fully managed by {pmg} and are able to change -their own passwords via the GUI. +`/etc/pmg/user.conf`. Passwords are hashed and salted using the yescrypt +algorithm footnote:[yescrypt https://www.openwall.com/yescrypt/]. It provides +strong protections against offline password cracking attempts. This is the most +convenient realm for small-scale (or even mid-scale) installations, where users +do not need access to anything outside of {pmg}. In this case, users are fully +managed by {pmg} and are able to change their own passwords via the GUI. + +NOTE: Passwords created with older versions of {pmg} used a hashing scheme based +on SHA-256 that is now considered insecure. If the file `/etc/pmg/user.cfg` +shows a password hash starting with `$5$` for an account, that account still +uses such a password. The hash will be updated on the next login of that user or +when a new password is set. OpenID Connect:: -- 2.47.3