OpenSSH Adds ssh-mldsa87-p384 to Its Development Branch for Post-Quantum Authentication
The article's text, from Joho no Todai's page.
On December 5, 2026, support for a digital signature algorithm combining ML-DSA-87 and ECDSA P-384 landed in the OpenSSH Portable development repository. The commit records the upstream OpenBSD change at 00:42:45 UTC and the import into Portable at 09:43:34 UTC.
The new key type is ssh-mldsa87-p384, with a corresponding SSH certificate type, ssh-mldsa87-p384-cert. The change touches the key generator ssh-keygen, the authentication key utility ssh-add, and related client and server code.
OpenSSH 10.4, released in July 2026, experimentally introduced a composite signature combining ML-DSA-44 with Ed25519. The new change adds another way to pair a post-quantum signature with a conventional one.
The implementation follows a draft specification from the Internet Engineering Task Force (IETF). Its November 2026 revision, draft-ietf-sshm-composite-sigs-01, defines both the ML-DSA-44 and Ed25519 combination and the ML-DSA-87 and ECDSA P-384 combination.
The December 5 commit says the new algorithm is disabled by default. The specification is still a draft, and OpenSSH Portable requires a build with OpenSSL to use the new signature algorithm.
The changes imported into Portable on December 5 also switch the default key type generated by ssh-keygen from Ed25519 to ECDSA P-384. A separate change reorders host key algorithm preferences. Among the default non-certificate choices, the earlier ML-DSA-44 and Ed25519 composite ranks ahead of ECDSA P-384.
The default key type for generating a key and the preferred host key algorithm for a connection are governed by separate settings.
Why require two signatures?
ML-DSA is a lattice-based digital signature scheme that the U.S. National Institute of Standards and Technology (NIST) standardized as FIPS 204 in August 2024. It is designed to resist attacks from large-scale quantum computers. ECDSA P-384 uses conventional elliptic-curve cryptography to create digital signatures.
One reason the IETF draft uses a composite signature is to guard against weaknesses that may be found in a newer post-quantum algorithm or its implementation.
Signing uses an independently generated key for each algorithm. The SHA-512 hash of the message is combined with information identifying the scheme and other context, then signed with ML-DSA-87 and ECDSA P-384. The two resulting signatures form one composite signature.
The verifier reconstructs the same input from the signed data and checks the ML-DSA-87 and ECDSA P-384 signatures separately. It accepts the composite signature only if both checks succeed.
When verification follows the specification, the conventional signature can still protect the connection if a weakness is found in the post-quantum scheme, provided the conventional scheme and its key remain secure. If quantum computers eventually undermine elliptic-curve signatures, the ML-DSA component becomes important.
The composite allows users to adopt a new scheme while keeping the protection of one they already trust. It lets the migration proceed while making room for problems researchers have yet to discover.
How much data the new signature needs
NIST standardized three ML-DSA parameter sets with different security levels. ML-DSA-44 targets security category 2, and ML-DSA-87 targets category 5, the highest of the three.
A composite signature scheme needs data from both algorithms in its public key and its signature.
In the November 2026 draft, the earlier ML-DSA-44 and Ed25519 combination has a 1,344-byte public key: 1,312 bytes for ML-DSA-44 and 32 bytes for Ed25519. Its 2,484-byte signature consists of 2,420 bytes for ML-DSA-44 and 64 bytes for Ed25519.
In the new scheme, the ML-DSA-87 component alone has a 2,592-byte public key and a 4,627-byte signature. The ECDSA P-384 public key and signature add to those sizes. Each ML-DSA-87 component alone exceeds the size of its entire counterpart in the earlier composite. These figures exclude SSH wire-format and key-file overhead.
On December 6, OpenSSH Portable's development branch fixed imports of large keys in RFC 4716 format, a file format for transferring public keys between SSH implementations. The old fixed-size buffer was too small. Its replacement grows as needed.
The choice of algorithm changes how much authentication data SSH exchanges and how large the stored public keys are. Environments managing keys for many servers or users should check whether their existing management systems can handle the new formats and lengths alongside evaluating cryptographic strength.
Encrypting traffic and authenticating peers
SSH is a protocol for connecting securely to remote computers. OpenSSH began its transition to post-quantum cryptography with key exchange, making a post-quantum key exchange algorithm the default in OpenSSH 9.0, released in April 2022.
OpenSSH 10.0, released in April 2025, gave preference to mlkem768x25519-sha256, a hybrid key exchange method that combines ML-KEM-768 and X25519. Version 10.1, released in October 2025, introduced a warning when a connection does not negotiate a post-quantum key exchange.
Key exchange establishes a shared key for encrypting traffic. When it relies on an algorithm vulnerable to a quantum computer, someone can record encrypted traffic and try to decrypt it later. Once another party has recorded the traffic, it cannot be reencrypted. That makes deploying post-quantum key exchange worthwhile before a quantum computer can break the cryptography in use today.
Digital signatures help confirm the server's identity and authenticate users connecting with public keys. If a signature scheme loses its security in the future, the trustworthiness of authentication from that point onward could be undermined.
SSH cryptography supports both the privacy of the traffic and trust in the peer's identity. These distinct roles are why signatures still need to change after key exchange becomes post-quantum.
Who changes the keys?
OpenSSH runs on systems including OpenBSD, Linux, and macOS. Microsoft also offers it on Windows 10 version 1809 and Windows Server 2019 or later, and it is available on Windows 11.
Using the new scheme on any OS requires a compatible implementation. Even with support on both the client and server, using post-quantum signatures requires preparing authentication keys.
The IETF draft prohibits reusing component key material between traditional standalone keys and composite keys, or between different composite keys. Moving to a composite key requires key material independent of the existing standalone keys.
Clients store the public portion of the host keys they use to identify servers in places such as known_hosts. Servers record the public keys of users who authenticate with them in places such as authorized_keys. In deployments that use SSH certificates, the transition also affects how keys and certificates, including trusted certificate authorities, are managed.
The move requires generating new keys and updating who trusts which credentials. For servers managed from several devices and environments that use SSH for automation, deciding when connections using old keys can be retired is also part of the migration plan.
Composite signatures give administrators another way to try post-quantum authentication while retaining the protections of conventional algorithms. A transition meant to keep future connections secure also needs to preserve access that people rely on today.
