Support for ssh-mldsa87-p384

Christopher Patton cpatton at cloudflare.com
Fri Dec 4 09:23:24 AEDT 2026


Hi all,

In response to yesterday's CISA joint statement [1], our organization is
moving as quickly as possible to upgrade our OpenSSH deployments to support
ML-DSA. Today our engineers authenticate using classical keys stored on
hardware tokens (YubiKeys). While we wait for ML-DSA-capable hardware
tokens to become widely available, we plan to sign with ML-DSA keys in
software (in the SSH agent) while continuing to use the existing hardware
tokens for defense in depth. (We also want to minimize changes to the user
experience in the interim.) That means we need a hybrid signature algorithm
for SSH authentication.

We must support two YubiKey firmware versions:
- 5.4, which implements ECDSA P-384
- 5.7, which implements Ed25519 and ECDSA P-384

Fortunately, the composite signatures draft defines hybrids for both [2].
However, OpenSSH (as of 10.6p2) currently supports only
ssh-mldsa44-ed25519, which covers 5.7 but not the older 5.4 generation. For
that we'll need a p384 hybrid. The draft currently specifies
ssh-mldsa87-p384.

We're agnostic about the ML-DSA security level; our goal is to maximize
compatibility, and we're not concerned about the performance cost of larger
signatures. In any case, it looks like YubiKeys will support ML-DSA [3].

I've started working on a PR to add support for ssh-mldsa87-p384. I'll
update the thread when it's ready for review. We wanted to get the
conversation going in the meantime, in case anyone has thought about this
angle and has a better idea.

Best,
Chris Patton and June Slater (Cloudflare)

[1]
https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities
[2] https://datatracker.ietf.org/doc/draft-ietf-sshm-composite-sigs/
[3] https://developers.yubico.com/yubikey-manager/Release_Notes.html


More information about the openssh-unix-dev mailing list