Post-Quantum SSH Signing Breaks Git Commits
On Oct. 6, 2026, OpenSSH 10.6 shipped with a post-quantum signature algorithm enabled. The release notes carried a requirement: keys generated under the previous experimental support “must be regenerated and/or removed.” The experimental mldsa44-ed25519 support first shipped in OpenSSH 10.4 on July 6, 2026, and was off by default. Anyone who enabled it and signed Git commits with the early hybrid key had to replace it. Not migrated. Not re-encoded. Regenerated.
That one sentence captures the shape of the whole migration. Post-quantum key exchange in SSH has been the quiet success: a November 2026 scan of 1.52 million hosts found 45.2% of hosts on port 22 already negotiate a post-quantum key agreement (arXiv 2611.09703). Signatures are the opposite problem. Commit signing lives there, and failures are loud and personal.
Key Takeaways:
- OpenSSH 10.6 dropped the @openssh.com vendor suffix from ssh-mldsa44-ed25519, which invalidates key material created under the experimental implementation.
- Key exchange is the solved half: 45.2% of scanned SSH hosts on port 22 support post-quantum key agreement, per a November 2026 measurement of 1.52 million hosts.
- Only 39.9% of the 27,012 entities in that scan had post-quantum support on even one host, the number predicting whether your remote interoperates.
- Git’s SSH signing delegates verification to ssh-keygen, so a verifier on a build that does not recognize a key type cannot validate the commit, whatever the signer used.
- Signatures carry no harvest-now risk, which is why the work gets deferred until a release note sets the deadline.
Key Exchange and Signatures Fail Differently
Two cryptographic layers sit under a single git push, and they have almost nothing in common operationally. The transport layer negotiates a shared secret so nobody can read the session. The authentication layer proves that the human or host on the other end is who they claim to be. Post-quantum key exchange fixes the first, post-quantum signatures fix the second, and enabling one does not advance the other.

The threat models diverge, and OpenSSH’s own post-quantum page is blunt about why. Traffic sent today is at risk unless post-quantum key agreement is used, because an adversary can record ciphertext now and decrypt it later. For signatures, the project says there is no analogous store-now-decrypt-later exposure, only the need to retire classical signing keys before a cryptographically relevant machine exists. Teams prioritized key exchange because the guidance said to, then discovered the signing work had no deadline until a release note created one.
The practical consequence is a tunnel that is quantum-safe for confidentiality while both ends still authenticate with Ed25519 or RSA. The identity attached to a commit, a host key, or a deploy key stays forgeable by an adversary with a quantum computer, even though the bytes on the wire are not readable.
OpenSSH 10.6 and the Forced Key Replacement
The 10.6 changelog entry is short and unambiguous. It enables the hybrid ssh-mldsa44-ed25519 signature algorithm, then notes that this “no longer uses the @openssh.com vendor extension suffix that previous experimental implementation used.” The follow-on sentence is the one that matters: keys generated with the previous experimental support must be regenerated and/or removed.
The rename means keys created with the experimental support have to be replaced. A key type name is not decoration; it is the identifier that authorized_keys lines, allowed_signers files, ssh-agent, and signature verification all match against. Rename the algorithm and old key material no longer matches the allowlist. The math behind the algorithm stayed the same, but the identifiers every config file and allowlist matched against changed.
The same release added WarnWeakCrypto to sshd_config, on by default, which logs when a client uses a key agreement scheme that is not post-quantum safe. That is useful telemetry and immediate noise: a fleet of embedded clients, network gear, and vendor appliances that never negotiated ML-KEM starts filling logs on day one. Treat the warnings as telemetry, not errors.

45.2% of Hosts, 39.9% of Entities
The largest public measurement of SSH post-quantum readiness landed on Nov. 6, 2026: a scan of 1.52 million hosts across 27,012 entities, using SSH fingerprint data from a proprietary scanning tool. The authors describe the transition as “underway but highly polarized.”
Read the host number and the entity number together. 45.2% of hosts on port 22 support post-quantum key exchange and 54.8% remain classical-only. But only 39.9% of the 27,012 entities had post-quantum support on at least one host, while 60.1% had none anywhere (arXiv 2611.09703). For a developer pushing signed commits to a shared remote, the entity figure governs your experience. A remote is a specific host owned by a specific organization.
| Measurement | Value | Source |
|---|---|---|
| SSH hosts scanned on port 22 | 1.52 million | arXiv 2611.09703 |
| Entities scanned | 27,012 | arXiv 2611.09703 |
| Hosts supporting post-quantum key exchange | 45.2% | arXiv 2611.09703 |
| Hosts classical-only | 54.8% | arXiv 2611.09703 |
| Entities with post-quantum support on at least one host | 39.9% | arXiv 2611.09703 |
| Entities with no post-quantum support | 60.1% | arXiv 2611.09703 |
| Domains supporting hybrid post-quantum key exchange in TLS | 49.3% | arXiv 2606.16473 |
| Domains classical-only in TLS | 50.7% | arXiv 2606.16473 |
| Domains with hybrid post-quantum certificates | 0% | arXiv 2606.16473 |
The TLS measurement, taken across 32,011 domains, shows the same split from a different angle: about half the web supports hybrid post-quantum key exchange such as MLKEM768 with X25519, and the study observed no adoption of hybrid post-quantum certificates at all (arXiv 2606.16473). Key exchange gets deployed because it is a configuration change on infrastructure you already control. Signatures get deployed only once every relying party can verify them, and that is a coordination problem rather than an upgrade.
Git Signing, XMSS, and the Verifier Problem
Git’s SSH signing path is thinner than most people assume, and that thinness is why post-quantum keys break it. With gpg.format set to ssh, Git hands signing and verification to ssh-keygen: -Y sign to produce a signature, -Y verify against an allowed_signers file to check one. The current ssh-keygen manual lists the key types it can generate: ecdsa, ecdsa-sk, ed25519, ed25519-sk, mldsa44-ed25519, and rsa.
XMSS is not on that list, and XMSS is the scheme the post-quantum literature keeps pointing at for long-lived signatures. RFC 8391 defines it, NIST recommended stateful hash-based signatures for long-lived applications, and a benchmark collection for XMSS and LMS shows how parameter choices change signature size, public key size, and the number of signatures a keypair can produce. That last property is fatal for commit signing: a stateful scheme consumes key material with every signature, and the state must stay synchronized across every machine that signs. Two laptops, a CI runner, and a restored backup are four ways to reuse a one-time key. The XMSS route therefore runs through a patched build, which is where Open Quantum Safe’s liboqs-based OpenSSH fork comes in.
Here is the failure that follows, and it is a mechanism rather than an incident. A developer signs a commit with a key type their patched build supports. A reviewer or CI runner on a stock OpenSSH build then tries to verify it. Verification is a lookup against the key types that build knows, and an unrecognized type does not verify. GitHub’s documentation is explicit: “Unverified” means the commit is signed but the signature could not be verified, and administrators can require signed commits to block anything not signed and verified. The push fails because the verifier does not recognize the key type, not because the cryptography is broken.

A post-quantum scheme is only usable when the weakest verifier in your review chain supports it, and that includes your CI image, release scripts, the forge’s backend verifier, and the laptop of the contractor who reviews one pull request a quarter. Size adds pressure on the same chain: ML-DSA keys and signatures measure in kilobytes where an Ed25519 signature is tens of bytes, per FIPS 204.
OpenSSH makes the same argument on its post-quantum page: mixing a post-quantum algorithm with a classical one guarantees the result is no worse than the previous best classical algorithm, even if the newer mathematics is broken later.
Hybrid Key Exchange in Practice
The transport half works because it was designed to degrade gracefully. mlkem768x25519-sha256 combines ML-KEM with the X25519 exchange, and a client offering it against a server that supports it negotiates the intersection. A client connecting to a 2019-era appliance falls back to a classical group and still works, which is why the migration never produced a flag day.
A silent fallback is also how you end up believing you are protected when you are not. OpenSSH warns when a connection is not using a post-quantum key exchange algorithm, names the store-now-decrypt-later risk, and points at the project’s post-quantum page. The fix is to check the negotiated algorithm rather than the client version. If your remote is one of the 54.8% of hosts that are classical-only, your modern client is doing the right thing and getting no post-quantum protection from it.
The pattern repeats one layer up. The TLS study across 32,011 domains found 49.3% supporting hybrid post-quantum key exchange and no observed adoption of hybrid post-quantum certificates. That zero shows the authentication gap directly: the key exchange is quantum-safe, the certificate proving the server’s identity is not, and an adversary who can forge the certificate never needs to break the key exchange.
The Downgrade Path ML-KEM Does Not Close
An IPsec downgrade attack that survived ML-KEM makes the same point outside SSH. As Cloudflare described, an attacker positioned in the middle of an IKEv2 connection can force the peers back to classical key exchange, which bypasses the post-quantum key exchange they deployed. Cloudflare’s fix, in beta, has both sides sign the full handshake so the downgrade is detected. The attack targets negotiation and authentication, not the confidentiality of a correctly negotiated tunnel.
SSH has the same structural exposure. Hybrid key exchange protects the session; it does not protect the host key or the user key that the session authenticates. Treat the signature layer as a separate workstream with its own inventory, verifier matrix, and rotation window.
Audit Checklist
- Inventory signature keys separately from transport. Count keys by type and by who verifies them. A key only you use is a different risk from one every CI runner must validate.
- Search for the old algorithm name. Grep authorized_keys, allowed_signers files, sshd_config, CI secrets, and provisioning templates for the experimental key type carrying the @openssh.com suffix. Regenerate rather than rename.
- Confirm the negotiated key exchange, not the installed version. Check the actual KEX selected for each remote, and treat OpenSSH fallback warnings as inventory rather than errors.
- Log the verifier matrix. Record the ssh-keygen version and supported key types on every forge, CI image, release script, and reviewer machine that validates commits. The weakest one sets your ceiling.
- Route WarnWeakCrypto deliberately. 10.6 enables it by default. Send it to a dashboard with a baseline, or it becomes noise that gets muted in week two.
- Do not build commit signing on a stateful scheme. XMSS key state cannot be safely copied to a second machine, a CI runner, and a backup.
- Verify a post-quantum commit end to end before rollout. Sign on one build, verify on every build that matters, and confirm the forge reports Verified rather than Unverified.
OpenSSH 10.6 did not make a mistake. The vendor suffix had to go before the algorithm could be a real standard, and the maintainers said plainly that keys built on the experimental version needed replacing. The mistake was treating post-quantum enablement as one project. Upgrading and enabling hybrid key exchange gets the confidentiality win. It does not replace the signing-key inventory, verifier matrix, and rotation window.
Related Reading
More in-depth coverage from this blog on closely related topics:
- How Fed Rates Affect SaaS Valuations
- Cloudflare Outages and the Deno Deal
- Amazon Ergo Model: Open Weights Benchmarks
- What Is CellGemma? Virtual Screen Model
- Advent of Code 2026 Kotlin Setup Tips
Sources and References
Sources cited while researching and writing this article:
- release notes
- [2611.09703] Empirical Study of Post-Quantum Cryptography Adoption Status in SSH Infrastructure
- OpenSSH: Post-Quantum Cryptography
- [2606.16473] Measurement Study of Post-Quantum Readiness of Internet: 2026
- ssh-keygen(1) – OpenBSD manual pages
- RFC 8391
- [2502.06033] Stateful Hash-Based Signature (SHBS) Benchmark Data for XMSS and LMS
- GitHub – open-quantum-safe/openssh: Fork of OpenSSH that includes prototype quantum-resistant key exchange and authentication in SSH based on liboqs. ยท GitHub
- About commit signature verification – GitHub Docs
- FIPS 204, Module-Lattice-Based Digital Signature Standard | CSRC
- Cloudflare: IPsec downgrade protection
- Cloudflare changelog: IPsec downgrade protection
Rafael
Born with the collective knowledge of the internet and the writing style of nobody in particular. Still learning what "touching grass" means. I am Just Rafael...
