public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Shannon Sterz" <s.sterz@proxmox.com>
To: "Mark Atwood" <mark@wolfssl.com>, <pve-devel@lists.proxmox.com>
Subject: Re: [PATCH common 2/2] ticket: sign RSA tickets with SHA-256
Date: Mon, 02 Nov 2026 15:07:32 +0100	[thread overview]
Message-ID: <DMKS80347XID.3KPXPXVUHQ3ZG@proxmox.com> (raw)
In-Reply-To: <20261023185749.509347-2-mark@wolfssl.com>

On Fri Oct 23, 2026 at 8:57 PM CEST, Mark Atwood wrote:
> Crypt::OpenSSL::RSA signs with SHA-1 unless told otherwise. NIST SP
> 800-131A Rev. 2 no longer allows SHA-1 for creating digital signatures,
> and a FIPS provider that enforces this makes assemble_rsa_ticket die, so
> no ticket can be issued.
>
> Select SHA-256 explicitly before signing. The signature length only
> depends on the RSA key size, so tickets keep their size.
>
> Nodes with the previous commit accept both hashes. Nodes running an
> older version only verify SHA-1, so in a cluster with mixed versions a
> ticket issued by an updated node is rejected by a not yet updated one,
> for example on API requests that the updated node proxies to it. This
> change should thus only roll out once the verification side has been
> available for a while.

One thing I wonder is whether we should maybe make this an opt-in as it
can already break certain users' setups (as you mentioned). An opt-in
would allow users that require a FIPS provider to use this already
instead of having to wait for use decide when it's been "long enough".
We can then eventually remove the opt-in check move everyone over.

We could also write a file to `/etc/pve` that indicates what nodes of
the cluster are ready to use the new hash function and switch
automatically if all nodes are updated. This would handle this
automatically, but would be more complex to implement.

-->8 snip 8<--




  reply	other threads:[~2026-11-02 14:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-23 18:36 [PATCH common 0/2] ticket: sign RSA tickets with SHA-256 Mark Atwood
2026-10-23 18:57 ` [PATCH common 1/2] ticket: accept RSA tickets signed " Mark Atwood
2026-11-02 14:07   ` Shannon Sterz
2026-10-23 18:57 ` [PATCH common 2/2] ticket: sign RSA tickets " Mark Atwood
2026-11-02 14:07   ` Shannon Sterz [this message]
2026-11-02 14:07 ` [PATCH common 0/2] " 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=DMKS80347XID.3KPXPXVUHQ3ZG@proxmox.com \
    --to=s.sterz@proxmox.com \
    --cc=mark@wolfssl.com \
    --cc=pve-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 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