<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/openssh-switch-default-key-type-generated-to-ecdsa-nistp384--5slxlzklf" -->

---
title: OpenSSH: "switch default key type generated to ECDSA...
description: OpenSSH's portable repository has a commit that switches the default key type it generates to ECDSA NISTP384. The commit's description lists markus@ and an...
canonical: https://daily.dev/posts/openssh-switch-default-key-type-generated-to-ecdsa-nistp384--5slxlzklf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: OpenSSH: "switch default key type generated to ECDSA NISTP384" | daily.dev
og:description: OpenSSH's portable repository has a commit that switches the default key type it generates to ECDSA NISTP384. The commit's description lists markus@ and an...
og:url: https://daily.dev/posts/openssh-switch-default-key-type-generated-to-ecdsa-nistp384--5slxlzklf
og:image: https://api.daily.dev/og/posts/5SLXLZkLF.png
og:image:alt: OpenSSH: "switch default key type generated to ECDSA NISTP384"
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenSSH: "switch default key type generated to ECDSA NISTP384"

**[Hacker News](https://daily.dev/sources/hn)** · 1 min read · 1 upvotes · 0 comments

## Summary

OpenSSH's portable repository has a commit that switches the default key type it generates to ECDSA NISTP384. The commit's description lists markus@ and an OpenBSD commit ID. The page shows no further description or diff details. A single commenter calls it an 'ominous commit'.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/openssh/openssh-portable/commit/5b63da24d393ec5f08ec4371e09b692fc86587a8>

## Community take

How the wider developer community reacted, aggregated from 1 discussion and 89 comments across hackernews (as of 2026-12-05).

**TL;DR:** The default OpenSSH key switch to ECDSA P-384 is read as a reaction to rumored cryptographic weaknesses (possibly in 256-bit ECC/RSA), sparking technical debate over curve choices and a tangential, much larger argument about Bitcoin wallet security given similar key-exposure concerns.

**Sentiment:** 10% positive · 30% mixed · 60% skeptical

**The case for**

- Pairing ECDSA P-384 with ML-DSA (post-quantum) composite signatures is seen as a sensible hedge against both classical and quantum breaks.
- Some note the move aligns with FIPS/CNSA 1.0 compliance goals, which is a reasonable rationale for enterprises.
- SSH certificates are highlighted as a good opportunity to simplify key management instead of just swapping key types.

**The pushback**

- Many question why P-384 was chosen instead of the larger P-521 or Curve448, which some argue offers a better security margin and isn't NSA-affiliated.
- Some speculate the change is driven by vague, unconfirmed rumors of a cryptographic backdoor or break rather than solid public evidence.
- Operational concern that regenerating and distributing new keys across large fleets of servers will be a major practical burden.
- Skepticism that NIST curves are trustworthy given NSA involvement in their design.

**By community**

- hackernews (mixed): Technical discussion mixes practical concerns about key rotation and curve choice with skepticism about the real reason for the switch, while a large side-thread veers into unrelated Bitcoin cryptography/crime debates.

**Hottest debate:** Whether the switch is a legitimate response to a disclosed/suspected cryptographic weakness in smaller ECC curves (or even RSA) versus just precautionary FUD, and whether P-384 was even the right choice over P-521 or Curve448.

**Open questions**

- Is there an actual confirmed break in 256-bit ECDSA/EC curves, or just speculation following Anthropic's reported discovery?
- Why was P-384 chosen over P-521 or Curve448 given the latter's larger security margin?
- How will GPG and other tools adapt their default key recommendations in response to the same underlying concerns?
- What happens to old Bitcoin wallets with exposed public keys if the underlying curve is indeed weaker than assumed?

**Highlights**

> 384-bit ECDSA, not 256-bit ECDSA. Not sure why they aren't going all the way to 521-bit out of extreme caution, though. (Oddly, the ECDSA sizes are 256, 384, and 521 -- the big one is 521 not 512).
> — [Polizeiposaune on hackernews · 3 comments](https://news.ycombinator.com/item?id=50774400)

> I wonder why people aren't switching to Curve448, it has the same benefits of Curve25519 (nothing up my sleeve parameters, implementations are less likely to be buggy, unaffiliated with the NSA). It even has a larger security margin than P-384 (224 bits vs. 192 bits) so even if you assume the undisclosed issue is a classic attack on all elliptic curves it's a better choice. Sadly it's not widely supported (a lot of internet standards forget to include it) but if you're implementing cryptosystems it's pretty easy to get your hands on and it's even FIPS approved. OpenSSL supports it but based on some very minimal testing it seems browsers won't negotiate it for TLSv1.3.
> — [cyphar on hackernews · 1 comments](https://news.ycombinator.com/item?id=50774877)

> They're using FUD to push everyone away from RSA and towards a new, backdoored curve because the current backdoored curve has been exposed.
> — [bflesch on hackernews · 3 comments](https://news.ycombinator.com/item?id=50774115)

> Before compiling this manually or updating your OpenSSH client, back up your existing keys and test manually to all of your oldest servers of each distribution flavor.  One should have protected snapshots of all their keys regardless.  Append the new key to authorized keys and avoid removing the old entry until it is verified that all systems accept the new key. In an ideal world the trusts of public keys would be managed by a configuration management system that knows who really owns which public keys and fires alerts when unknown keys are added or added to the wrong account.  Mapping should be by the public key itself and not the comment.  Or configure PAM to query the SSH public keys from LDAP and cache them securely.
> — [Bender on hackernews · 2 comments](https://news.ycombinator.com/item?id=50774033)

> The very next commit is "Add support for composite ML-DSA 87 / ECDSA p384": * https://github.com/openssh/openssh-portable/commit/fc6f26530... * https://github.com/openssh/openssh-portable/commits/master/s... * https://cvsweb.openbsd.org/log/src/usr.bin/ssh/ssh-keygen.c (1.514) It is per: * https://datatracker.ietf.org/doc/draft-ietf-sshm-composite-s...
> — [throw0101d on hackernews · 4 comments](https://news.ycombinator.com/item?id=50773938)

**Source threads**

- [hackernews](https://news.ycombinator.com/item?id=50772977) · 163 points · 89 comments

## Similar posts on daily.dev

- [Post-Quantum GitHub SSH](https://daily.dev/posts/post-quantum-github-ssh-oouctnlrq) · Lobsters · 1 upvotes · 0 comments
- [Your Mac's SSH skips post-quantum key exchange: the one-line fix](https://daily.dev/posts/your-mac-s-ssh-skips-post-quantum-key-exchange-the-one-line-fix-kmwbvjcth) · Flavio Copes · 1 upvotes · 0 comments
- [OpenSSH Post-Quantum Cryptography](https://daily.dev/posts/openssh-post-quantum-cryptography-c8aodv2qw) · Hacker News · 2 upvotes · 0 comments
- [How to find and upgrade SSH and PGP keys using P‑256, ED25519, and Curve25519](https://daily.dev/posts/how-to-find-and-upgrade-ssh-and-pgp-keys-using-p-256-ed25519-and-curve25519-yjwc2u1rs) · Planet Python · 0 upvotes · 0 comments
- [OpenSSH 10.4 released](https://daily.dev/posts/openssh-10-4-released-hvdxib33z) · LWN.net · 0 upvotes · 0 comments

---

Tags: [#cryptography](https://daily.dev/tags/cryptography), [#ssh](https://daily.dev/tags/ssh), [#openbsd](https://daily.dev/tags/openbsd)

[View this post on daily.dev](https://daily.dev/posts/openssh-switch-default-key-type-generated-to-ecdsa-nistp384--5slxlzklf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"OpenSSH: \"switch default key type generated to ECDSA NISTP384\"","url":"https://daily.dev/posts/openssh-switch-default-key-type-generated-to-ecdsa-nistp384--5slxlzklf","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/openssh-switch-default-key-type-generated-to-ecdsa-nistp384--5slxlzklf"},"datePublished":"2026-12-05T15:04:47.817Z","dateModified":"2026-12-05T16:35:45.632Z","description":"OpenSSH's portable repository has a commit that switches the default key type it generates to ECDSA NISTP384. The commit's description lists markus@ and an...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/878866678fc4d499be79fe87123eddd0?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/878866678fc4d499be79fe87123eddd0?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/openssh-switch-default-key-type-generated-to-ecdsa-nistp384--5slxlzklf","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"cryptography,ssh,openbsd","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"OpenSSH: \"switch default key type generated to ECDSA NISTP384\""}]}
```

