From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 3029E1FF0C0 for ; Wed, 21 Oct 2026 13:37:21 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 9CFDD21608; Wed, 21 Oct 2026 13:37:19 +0200 (CEST) From: Shannon Sterz To: pmg-devel@lists.proxmox.com Subject: [PATCH docs 2/2] pmgconfig: document that the pmg realm now uses yescrypt Date: Wed, 21 Oct 2026 13:37:05 +0200 Message-ID: <20261021113704.232095-4-s.sterz@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261021113704.232095-2-s.sterz@proxmox.com> References: <20261021113704.232095-2-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: 1792582634992 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.750 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: 4GYCYZZ4HJOLTTV5MCESSTUVWFGTOW5U X-Message-ID-Hash: 4GYCYZZ4HJOLTTV5MCESSTUVWFGTOW5U 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..d68d331 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 Proxmox Mail Gateway 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