all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Shannon Sterz <s.sterz@proxmox.com>
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	[thread overview]
Message-ID: <20261021113704.232095-4-s.sterz@proxmox.com> (raw)
In-Reply-To: <20261021113704.232095-2-s.sterz@proxmox.com>

and document that passwords will be upgraded on login.

Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
 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





      parent reply	other threads:[~2026-10-21 11:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-21 11:37 [PATCH docs/pmg-api 0/2] Update default password hash function to yescrypt Shannon Sterz
2026-10-21 11:37 ` [PATCH pmg-api 1/2] pam/pmg realm: use yescrypt for new password hashes Shannon Sterz
2026-10-21 11:37 ` Shannon Sterz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261021113704.232095-4-s.sterz@proxmox.com \
    --to=s.sterz@proxmox.com \
    --cc=pmg-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal