OpenSSH Now Supports Composite ML-DSA 87 / ECDSA p384
OpenSSH now recognizes a composite ML-DSA 87 / ECDSA p384 key type, sitting next to the hybrid ML-DSA 44 / Ed25519 support it already had. That's a real signal that post-quantum SSH isn't stuck at "experimental demo" anymore, but I'm not ready to call it settled.
What caught my eye wasn't the algorithm list, it was the shape of the change. The code touches key loading and ML-DSA verification paths, which means this isn't just a new string in a config file. It's plumbing work, the kind that usually shows up after someone has used the first version enough to find its sharp edges.
The question I want to answer is whether this makes hybrid keys easier to deploy, or just gives you another compatibility matrix to track. If you're still running a key rotation plan, this might change the order. If you aren't, it's another reason to start.
What changed
OpenSSH added KTMLDSA87P384 to the getkeytypes bitmask, so the set of recognized composite key types now includes a pairing of ML-DSA 87 with ECDSA P-384. The existing KTMLDSA44_ED25519 entry stays, which means both composite options are available rather than one replacing the other.
The change is small in code but meaningful in scope. Composite keys pair a post-quantum signature algorithm with a classical one, and this bitmask tells OpenSSH which combinations it should treat as valid key types. Adding ML-DSA 87 with ECDSA P-384 broadens that list to cover a higher security parameter set alongside the existing ML-DSA 44 with Ed25519 pairing. The relevant specs here are ML-DSA 87 and ECDSA P-384, with MLDSA65SIGBYTES and MLDSA87SIGBYTES defining the signature sizes for the ML-DSA variants.
One caveat: recognizing a key type in the bitmask isn't the same as turning it on by default. It means OpenSSH knows about the composite type and can handle it when configured, not that every connection will use it. If you're testing, you'll still need to explicitly select the key type rather than assuming it's active.
-int get_keytypes = KT_RSA|KT_ECDSA|KT_ED25519|KT_ECDSA_SK|KT_ED25519_SK|KT_MLDSA44_ED25519;
+int get_keytypes = KT_RSA|KT_ECDSA|KT_ED25519|KT_ECDSA_SK|KT_ED25519_SK|KT_MLDSA44_ED25519|KT_MLDSA87_P384;
How the key type is wired in
The change itself is a single bitwise addition. getkeytypes is a bitmask that gates which public key types OpenSSH advertises and accepts during handshake, and the diff adds KTMLDSA87P384 to the existing OR chain alongside KTMLDSA44_ED25519. If that bit isn't set, the type simply doesn't exist as far as the connection logic is concerned — no negotiation, no fallback.
The comparison with KTMLDSA44ED25519 is the useful one to hold in your head. ML-DSA-44 pairs with Ed25519 and is the smaller, faster option. ML-DSA-87 pairs with ECDSA p384 and is the heavier one, aimed at higher security margins. Both are hybrid constructions, so neither is a pure post-quantum swap — you're still relying on the classical half for confidence today.
The bitmask approach is pragmatic but it hides a gotcha: the flag only says the type is available, not that the signature path is wired up correctly. Signature sizes differ — MLDSA65SIGBYTES versus MLDSA87SIGBYTES — so any code that allocates a buffer from the wrong constant will fail in ways that look like random noise rather than a clean error. My take is that this one-line change is the easy part; the real work is making sure every consumer of that mask handles the larger signature size without truncating it. Bottom line: if you're testing this, check signature buffer allocation before you check anything else.
Why pair ML-DSA 87 with ECDSA p384
Pairing ML-DSA 87 with ECDSA p384 is essentially a hedge — you get post-quantum resistance without giving up the classical security properties we already understand. If either algorithm holds, the signature holds. That's a sensible posture given how much we don't know about how these schemes will fare under real cryptanalysis over the next decade.
I take the community's bug-risk concern seriously, and I think it's the most honest part of the reaction. Simultaneous, widespread changes across Apple's secure enclave, Yubikey betas, OpenSSH defaults, and composite schemes like MLDSA87_P384 mean a lot of new code paths shipping at once. The security properties on paper are one thing; the number of ways a hybrid signature can be mis-implemented, mis-parsed, or partially validated is another. I'd rather see one or two of these land and stabilize before organizations pile all of them into production at once.
The gotcha I don't see getting enough attention: composite signatures only buy you the intersection of their implementations. A verifier that quietly accepts the ECDSA component and ignores the ML-DSA one — or vice versa — gets none of the benefit but keeps all the complexity. And the key and signature sizes for ML-DSA 87 are not small, which matters for anything bandwidth- or storage-constrained.
My take is that hybrid is the right default for now, but probably overkill for systems with short-lived keys and low-value targets. The real question is whether the ecosystem converges on one composite format or fragments into incompatible ones — and I genuinely don't know which way that goes.
Compatibility and rollout
The move toward post-quantum and hybrid cryptography is real and overdue, but the thing that actually matters here is coordination, not any single implementation. Apple's secure enclave support, Yubikey's ML-DSA beta, OpenSSH's ECDSA default shift, and composite schemes like MLDSA87_P384 aren't isolated improvements — they're arriving close enough together that the interoperability surface is expanding faster than anyone's test matrix. I think the risk isn't that any one of these ships broken; it's that they ship at slightly different times and defaults drift, and for something like SSH that's a years-long tail of mismatched clients.
The community's concern about simultaneous widespread updates raising bug risk is fair, and I'd extend it: the bugs I'd watch for are the quiet ones — a client that negotiates a hybrid composite fine but mishandles the fallback, or a hardware token that supports ML-DSA in beta but not the exact parameter set a server expects. Those don't crash; they just fail to connect, and they're painful to diagnose.
I'm less worried about the crypto itself than about default changes landing without enough lead time for downstream distros and embedded systems. Composite MLDSA87_P384 is a reasonable hedge, but hedges only help if both sides agree to use them, and right now that's an open question. The part I can't answer yet: does this transition stay additive, or does someone eventually force a hard cutover that strands older clients? That's the compatibility question worth watching, and I don't think it resolves this year.
Conclusion
So OpenSSH now ships a hybrid: ML-DSA 87 bolted onto ECDSA p384, with the same kind of wiring that ML-DSA 44 + Ed25519 already had — new host key file paths, new verify functions, the usual plumbing. That's a real change, but it's incremental plumbing, not a revolution. If you're running OpenSSH in production, your question isn't whether this is "pivotal." It's whether you trust the composite signature's verification path enough to migrate host keys before your distro even ships a build that supports it.
My honest read: the composite approach is the right call — hedge against both a bad post-quantum scheme and a broken classical curve — but I wouldn't go rotating keys until there's some time-in-the-wild and a clear answer on what happens to clients that don't recognize the new type. The commit diffs tell you the code changed; they don't tell you whether anyone's tested it against a hostile network yet.
The thing I'm actually left wondering: does anyone have a concrete migration story for a fleet of hosts that spans old and new OpenSSH versions, or are we all just going to wait for our distributions and hope? If you've done it, I'd like to hear how ugly it got.