cd /news/ai-safety/openssh-adds-support-for-composite-m… · home › topics › ai-safety › article
[ARTICLE · art-182727] src=github.com ↗ pub= topic=ai-safety verified=true sentiment=· neutral

OpenSSH adds support for composite ML-DSA 87 / ECDSA p384

OpenSSH added support for a composite ML-DSA 87 / ECDSA P-384 key type, committed to ssh-keygen.c by developer djm on December 5, 2026. The patch introduces the KEY_MLDSA87_P384 and KEY_MLDSA87_P384_CERT key types, adds an mldsa87-p384 host key to the default host-key generation list under WITH_OPENSSL, and updates the ssh-keygen usage text to list mldsa87-p384 as a -t option. The change gives OpenSSH users a post-quantum-plus-classical signature option alongside the existing mldsa44-ed25519 composite type.

key takeaway

OpenSSH's ssh-keygen now accepts -t mldsa87-p384 to generate composite ML-DSA 87 / ECDSA P-384 keys, and host-key generation includes mldsa87-p384 when built with OpenSSL.

read2 min views1 publishedDec 6, 2026
OpenSSH adds support for composite ML-DSA 87 / ECDSA p384
Image: Michielbdejong (auto-discovered)

| | | 1 | | -/* $OpenBSD: ssh-keygen.c,v 1.513 2026/12/03 08:40:32 djm Exp $ / | | | 1 | +/ $OpenBSD: ssh-keygen.c,v 1.514 2026/12/05 00:42:45 djm Exp $ / | | 2 | 2 | / | | 3 | 3 | * Author: Tatu Ylonen ylo@cs.hut.fi | | 4 | 4 | * Copyright (c) 1994 Tatu Ylonen ylo@cs.hut.fi, Espoo, Finland | | @@ -273,6 +273,10 @@ ask_filename(struct passwd *pw, const char *prompt) | | 273 | 273 | case KEY_MLDSA44_ED25519_CERT: | | 274 | 274 | name = _PATH_SSH_CLIENT_ID_MLDSA44_ED25519; | | 275 | 275 | break; | | | 276 | + case KEY_MLDSA87_P384: | | | 277 | + case KEY_MLDSA87_P384_CERT: | | | 278 | + name = _PATH_SSH_CLIENT_ID_MLDSA87_P384; | | | 279 | + break; | | 276 | 280 | default: | | 277 | 281 | fatal("bad key type"); | | 278 | 282 | } | | @@ -1051,6 +1055,10 @@ do_gen_all_hostkeys(struct passwd pw) | | 1051 | 1055 | #ifdef USE_MLDSA | | 1052 | 1056 | { "mldsa44-ed25519", "MLDSA44-ED25519", | | 1053 | 1057 | _PATH_HOST_MLDSA44_ED25519_KEY_FILE }, | | | 1058 | +# ifdef WITH_OPENSSL | | | 1059 | + { "mldsa87-p384", "MLDSA87-P384", | | | 1060 | + _PATH_HOST_MLDSA87_P384_KEY_FILE }, | | | 1061 | +# endif / WITH_OPENSSL */ | | 1054 | 1062 | #endif | | 1055 | 1063 | { NULL, NULL, NULL } |

| `1056` | `1064` | 	}; | 
| @@ -3444,8 +3452,8 @@ usage(void) | 

| 3444 | 3452 | fprintf(stderr, |

| `3445` | `3453` |  "usage: ssh-keygen [-q] [-a rounds] [-b bits] [-C comment] [-f output_keyfile]\n" | 
| `3446` | `3454` |  "                  [-m format] [-N new_passphrase] [-O option]\n" | 
| `3447` |  | `-` "                  [-t ecdsa\|ecdsa-sk\|ed25519\|ed25519-sk\|mldsa44-ed25519\|rsa]\n" | 
| `3448` |  | `-` "                  [-w provider] [-Z cipher]\n" | 

| | 3455 | + " [-t ecdsa|ecdsa-sk|ed25519|ed25519-sk|mldsa44-ed25519|\n" |

|  | `3456` | `+` "                      mldsa87-p384\|rsa] [-w provider] [-Z cipher]\n" | 
| `3449` | `3457` |  "       ssh-keygen -p [-a rounds] [-f keyfile] [-m format] [-N new_passphrase]\n" | 
| `3450` | `3458` |  "                   [-P old_passphrase] [-Z cipher]\n" | 

| 3451 | 3459 | #ifdef WITH_OPENSSL | | |

── more in #ai-safety 4 stories · sorted by recency
── more on @openssh 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/openssh-adds-support…] indexed:0 read:2min 2026-12-06 · —