public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: Shannon Sterz <s.sterz@proxmox.com>
Cc: pve-devel@lists.proxmox.com
Subject: Re: [PATCH docs v2 2/2] pveum: document that the pve realm now uses yescrypt
Date: Wed, 21 Oct 2026 15:57:37 +0200	[thread overview]
Message-ID: <s8ojynbtaum.fsf@toolbox> (raw)
In-Reply-To: <20261021113808.233146-3-s.sterz@proxmox.com> (Shannon Sterz's message of "Wed, 21 Oct 2026 13:38:08 +0200")


Comments below.

Shannon Sterz <s.sterz@proxmox.com> writes:

> and document that passwords will be updated on login.
>
> Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
> ---
>
> Notes:
>     we may want to implement a scheme similar to pbs and pdm where
>     passwords are updated to the latest hashing scheme on log in,
>     requiring less user interaction.
>
>  pveum.adoc | 17 ++++++++++++-----
>  1 file changed, 12 insertions(+), 5 deletions(-)
>
> diff --git a/pveum.adoc b/pveum.adoc
> index d089cb6..b970f1e 100644
> --- a/pveum.adoc
> +++ b/pveum.adoc
> @@ -147,11 +147,18 @@ these users to log in via their system username and password.
>  {pve} Authentication Server::
>  
>  This is a Unix-like password store, which stores hashed passwords in
> -`/etc/pve/priv/shadow.cfg`. 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
> -{pve}. In this case, users are fully managed by {pve} and are able to change
> -their own passwords via the GUI.
> +`/etc/pve/priv/shadow.cfg`. 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 realm is the

nit: Perhaps /protections/protection/?

> +most convenient realm for small-scale (or even mid-scale) installations, where
> +users do not need access to anything outside of {pve}. In this case, users are
> +fully managed by {pve} and are able to change their own passwords via the GUI.
> +
> +NOTE: Passwords created with older versions of Proxmox VE  used a hashing scheme

nit: This should be '{pve}' rather than 'Proxmox VE '.

> +based on SHA-256 that is now considered insecure. If the file

nit: By whom? Is there any good source to link here?

> +`/etc/pve/priv/shadow.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.
>  
>  LDAP::

-- 
Maximiliano




  reply	other threads:[~2026-10-21 13:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-21 11:38 [PATCH access-control/docs v2 0/2] Update default password hash function to yescrypt Shannon Sterz
2026-10-21 11:38 ` [PATCH access-control v2 1/2] pam/pve: use yescrypt for new password hashes Shannon Sterz
2026-10-21 11:38 ` [PATCH docs v2 2/2] pveum: document that the pve realm now uses yescrypt Shannon Sterz
2026-10-21 13:57   ` Maximiliano Sandoval [this message]
2026-10-21 14:39     ` Shannon Sterz
2026-10-21 14:04 ` [PATCH access-control/docs v2 0/2] Update default password hash function to yescrypt Maximiliano Sandoval
2026-10-21 14:39   ` Shannon Sterz

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=s8ojynbtaum.fsf@toolbox \
    --to=m.sandoval@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=s.sterz@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal