22 comments

  • throw0101d 3 hours ago
    • adrian_b 1 hour ago
      The reason why the default key type was switched to ECDSA P-384 and not to one of the quantum-resistant types supported by the current or by the next OpenSSH version, is that the latter are not supported by old servers and clients, so choosing one of them as default would prevent connections.

      ECDSA P-384 is supported even by at least 9-year old OpenSSH versions (I have such a device), perhaps even by much older versions.

      So setting it as default achieves the goal of better security than with 256-bit elliptic curves, while maintaining compatibility with ancient clients and servers.

      When you know that both computers that communicate have up-to-date OpenSSH versions, you can choose to generate quantum-resistant host and client keys.

      • throw0101d 38 minutes ago
        > When you know that both computers that communicate have up-to-date OpenSSH versions, you can choose to generate quantum-resistant host and client keys.

        Reminder that you can generate PQC keys right now (where available), and they will be offered right now, but you can still have fall back options.

      • atmosx 50 minutes ago
        Kudos for choosing sensible defaults.
    • traceroute66 3 hours ago
      > "Add support for composite ML-DSA 87 / ECDSA p384"

      Looks like that's do do with using FIPS-approved algos.

      https://marc.info/?l=openssh-bugs&m=179641802244257&w=2

    • thefilmore 3 hours ago
      • cvhc 1 hour ago
        If I'm correct, Ed448 is not approved in CNSA. mldsa44-ed25519 gives the shortest key (though still longer than even RSA8192) and probably fastest among hybrid options, while mldsa87-p384 is the strongest + NSA approved.
        • adrian_b 1 hour ago
          While the latest OpenSSH version supports quantum-resistant algorithms, they are not strong enough to be approved by NSA.

          The next version of OpenSSH is likely to include the algorithms made mandatory by CNSA 2.0 for all systems that are classified as "National Security Systems", and which are also recommended by NSA elsewhere.

          These algorithms are "mlkem1024nistp384-sha384" (RFC 10042) for key exchange and "ssh-mldsa87-p384" for host keys and client keys (draft RFC).

          While Ed448 is not among the recommendations of NSA, there is no doubt that it is more secure than P-384, and also faster, so the hybrid algorithms with ML-KEM-1024 and ML-DSA-87 where the curve NIST P-384 is replaced by Ed448 are certainly preferable.

          Such combinations are defined and they might become available in some TLS 1.3 and IPsec implementations, but it is unlikely that OpenSSH will include them, because it has never included support for Ed448.

        • athrowaway3z 1 hour ago
          The NSA refusing to approve it is a damn good endorsement.
          • brookst 1 hour ago
            Or a signal of a problem. You can read that one either way.
            • adrian_b 48 minutes ago
              In their recommendations for the "Commercial National Security Algorithm (CNSA) Suite 2.0", NSA says about many algorithms that there are no plans to approve their usage.

              Nonetheless, there is an obvious difference in tone when mentioning algorithms that must be avoided, i.e. any elliptic curves with sizes below 384 bits or RSA with sizes below 3072 bits, and algorithms in which NSA appears to be not interested, at least for now, without providing any opinion about whether they are good or bad. A big enough elliptic curve like Ed448 belongs to the latter class.

              Another poster has made a comment that I believe to be correct, i.e. that NSA has attempted to minimize the number of algorithms that are included in CNSA 2.0 to the minimum possible, because they are interested to have all of them implemented in some custom hardware, where, unlike in software, every additional option increases significantly the cost.

            • athrowaway3z 50 minutes ago
              This cuts both ways.

              The actions of the NSA sit in a super position of good-faith and bad-faith interpretations.

              Therefor we must also interpret its silence and apathy towards Ed448 somewhere between unremarkable and the strongest possible endorsement.

          • baq 0 minutes ago
            NSA-approved is what US government must use. Make of that what you will.
      • kbolino 2 hours ago
        OpenSSH doesn't support Ed448.
      • computerfriend 3 hours ago
        I'm also hoping for this one.
    • rc_kas 2 hours ago
      it will be 7 years before ubuntu puts this version on my servers.
      • 1over137 1 hour ago
        I think Ubuntu of late has proven itself unfit for servers. ;(
        • bonki 31 minutes ago
          I have never understood why anybody would ever put Ubuntu on a server. Genuine question, why do people do this?
          • nextaccountic 14 minutes ago
            It's because 10 years ago Canonical positioned themselves as a server distro

            And this was possible because 20 years ago they first introduced Linux to thousands of kids that grew to be sysadmins, and those kids-turned-sysadmins knew and trusted Ubuntu

            I know because around 2006 I distributed Ubuntu live CDs I received for free (I think it was Ubuntu Dapper)

          • nightfly 18 minutes ago
            Newer software versions than stable Debian releases and more frequent/predictable LTS releases. And in the past they responded pretty quickly to security issues.
      • Tepix 1 hour ago
        But Debian 13 added 10.6p2 to stable-backports on Dec 3rd.
      • manbash 1 hour ago
        Yeah on 24.04 is still v9.6. Security-related rollouts are really lacking.
      • Palomides 1 hour ago
        you can generate and use the same keys with whatever version of ssh you already have, who cares
    • literalAardvark 3 hours ago
      So ECDSA isn't the broken one. Good to know I guess. Time to change all the damn keys.
      • Polizeiposaune 2 hours ago
        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).

        • adrian_b 2 hours ago
          The big one is 521 because 2^521 - 1 is a prime number (a Mersenne prime), which accelerates the computation of the remainder operation in comparison with computing a remainder modulo some random prime.
        • adgjlsfhk1 1 hour ago
          There is 511 which has about as much/little use as 521
        • formerly_proven 2 hours ago
          Or Curve448
        • leafingensemble 1 hour ago
          p-384 has 128 bit security in the n^(1/3) regime.
        • nmadden 2 hours ago
          P-521 is slooooow
          • maximilianburke 1 hour ago
            Yeah but it’s only used for key exchange, right?
            • adrian_b 1 hour ago
              I have switched from ED25519 to P-521, both for host and client keys and for the key exchange algorithm, on some ancient devices where updating OpenSSH would be difficult.

              There is no noticeable slow-down, I still connect instantaneously, but that is because I am the only one who connects through SSH to those devices. If there would be thousands of SSH connection establishments per second, I suppose that there might be a measurable difference in CPU load between using ED25519, P-384 and P-521. For a Github server or for a Huggingface server, the size of the curve should matter, because those have a great number of clients connecting through SSH, but not for a server with a single administrator, who uses SSH.

      • loeg 2 hours ago
        The suspicions I've heard floated are with elliptic curves generally and 256-bit key sizes specifically. ECDSA P-384 is an available EC algorithm with a larger key size.
      • knorker 2 hours ago
        The announcements seem to say that 256bit and shorter is broken.

        And what was added here was ML-DSA (PQ) dual signed with ECDSA 384. So in addition to being PQ, if whatever secret attack against 256bit ECDSA is improved to get te 384, then the ML-DSA is intended to still protect the key.

        • havnagiggle 2 hours ago
          What announcement says anything of the sort?
          • adrian_b 1 hour ago
            The rumors, because the official announcements do not say anything concrete, except that the transition away from elliptic curves with small parameters must be accelerated, preferably towards quantum-resistant algorithms.
          • sigmar 1 hour ago
            NSA said it when they repeatedly yammered on about removing ECC <384bit. https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA...
            • havnagiggle 25 minutes ago
              If by yammering, you mean quoting NIST's policies published 10 years ago. The statement just says be diligent and agile. Literally nothing different for anyone in the field. I guess yes, they have made hand-wavy statement to move faster.
            • Tanjreeve 52 minutes ago
              There isn't a mention of anything being broken in this link outside of recommendations keeping with the same recommendations that have been made since 2015 or so. Did someone tell you that's what this document is saying or something or can you quote the exact thing you think says this?
      • guffins 3 hours ago
        [dead]
  • pippy360 2 hours ago
    There's something interesting about to happen to bitcoin. It seems that, because old wallets with huge amounts of bitcoin have known known public keys, bitcoin will have to fork and lock out any wallets that don't transfer their bitcoin to the new fork. An alternative is to do nothing and hope any attacks are just too expensive/infeasible in the next 40+ years.

    I'd love to have a conversation about it and hear people's opinions. I tired the bitcoin reddit but it's a difficult place to do that because so many people are heavily invested in it.

    • aenvoker 2 hours ago
      Anyone can fork Bitcoin. It’s been done thousands of times. There are probably 10 forks made yesterday in response to the news. The hard part is getting everyone else to switch over to using your new fork.

      The fork everyone has in mind would be one announced by the bitcoin core team. If that happened, it would go the same as it did when core Ethereum forked. There would be a worldwide argument over the legitimacy of the fork vs the unmodified client. Both chain would continue to run in parallel. And, everyone holding Bitcoin today would be holding both Bitcoin (new fork) and an equal amount of “Bitcoin Classic” (old fork). And, we’d all sit and watch how the prices of the two go from there.

      A big difference would be there wouldn’t be much of an argument for sticking with a vulnerable fork. Even hardcore originalists would agree the fork was recommended by Satoshi himself if this happened.

      The awkward part is that there would be a de facto pause on the network. At some point there would be an announcement “OK. We’re officially going to fork off of block N. We can’t stop you from continuing to transact on the current chain. But, your transactions after block N won’t be carried over to the forked chain.” The time between block N and the launch of the new fork will be painful.

      And, I’m interested to see how secure migration of the 6 million bitcoins in vulnerable old wallets will work given that it would need to support a long time window. Preferably forever. But, I don’t know enough to say how to make that work.

      The bright side is that Bitcoin might finally be able to drop the specter of Satoshi’s 1.1 million bitcoins. They are stored in vulnerable wallets and are not expected to migrate. So, the Bitcoin max supply would drop from a de facto 20 mil to an actual 20 mil (less lost, forgotten, burned and abandoned coins).

      • garaetjjte 2 hours ago
        There is no need for any pause, you just push new client version that will start to accept new address format from some future block N, and stop accepting old addresses from future block M (presumably you wouldn't want to leave insecure coins for taking). I'm not even sure if this requires hard fork, as SegWit was deployed with some trickery as soft fork. (even if not, Ethereum hard forked multiple times for protocol changes without too much trouble)
      • thehamkercat 1 hour ago
        > Bitcoin might finally be able to drop the specter of Satoshi’s 1.1 million bitcoins.

        Completely opposite of what Satoshi wanted, government/people/a group being able to freeze your money,

        or at least this will set up a precedent for that

        • aenvoker 1 hour ago
          The fork wouldn’t freeze Satoshi’s coins. If he wants to migrate them, nothing would stop him.
          • mminer237 58 minutes ago
            Yes, it would. It would have to give a deadline to migrate them. Otherwise it doesn't give any security.
            • aenvoker 6 minutes ago
              There’s a long distance between “a central authority froze your assets today” and “a majority, but not all, of the worldwide community has decided that they’ll collectively lose interest in funds that fail to migrate before some future deadline”.
      • jMyles 2 hours ago
        Your comment insinuates that hard forks, and community consensus to adopt new forks, is uncommon, but this is the ordinary course of business for ethereum upgrades, and is a well-established practice and tradition.

        Also, GP is specifically asking about _wallets whose address reveals the pubkey_. Thus, if SECP256K1 is pwned, their private key can be gleaned.

        There is going to have to be some serious deliberation about what to do about these. It may be that the only viable option is to require attestation from the original BIP-32 derivation material in order for these addresses to be considered valid for migration.

        • gwillen 1 hour ago
          There are a number of possible schemes, and deliberation has been ongoing for some time.

          Attestation from BIP-32 derivation material is obviously not possible for very old wallets, most notably the "Satoshi coins"*, which are P2PK addresses and predate the existence of BIP-32.

          A possible alternative involves allowing holders of such coins to bury a blinded commitment to a secret in the blockchain _now_, or soon, before "q-day" when all quantum-vulnerable spend paths get shut off. Then they could reveal the blinded commitment at any time in the future to make a quantum-resistant spend of the old coins. This preserves the status quo: holders of old coins can still retain access to them, without having to break their privacy by revealing anything, not even whether the coins do still have an owner.

          *Technically nobody has any idea whose coins they are, or if they even belong to a single individual; only that they were mined by one or more very early miners, and never moved. Many people suspect that they were intentionally destroyed, since in the very early days of the network they were worthless, and reliable mining was a public service rather than a profit-making enterprise. And Satoshi (if it was Satoshi) may have realized that it wouldn't be good for the economics of the new currency if the creator owned the supermajority of all the coins.

        • foota 1 hour ago
          I guess the alternative, and what GP is talking about, is to assume that no break exists today. Then, everyone needs to ASAP move to a more secure method somehow on the blockchain to be able to continue using their account, because as soon as there's a public break, they would have to shut off the ability for people to prove their ownership using the legacy blockchain.

          I'm not an expert on bitcoin, but again if we assume things are safe today, people could submit some "I am switching this account over SECP_SUPER_SECURE with address FOOBAR" message on the blockchain, but this method can only work until SECP256K1 is broken, since afterwards you wouldn't be able to trust those conversion messages since they would be spoofable.

          • indigo945 22 minutes ago
            This is equivalent to just sending the money to a new address.
    • gwillen 1 hour ago
      My impression, reading the tea leaves, is that P-256 is _not_ currently breakable by a realistic adversary; there was just some discovery that means it no longer has anywhere near the security level that the NSA is comfortable with.

      This means Bitcoin is on a much-accelerated timeline to get onto post-quantum cryptography, for which plans were already in motion, but it does NOT mean that Bitcoin wallets are breakable tomorrow or necessarily even next year.

      For the NSA and the USG, it means they need to worry _now_ about attackers who can store huge volumes of encrypted communications today, and break them in a few years, when they might still be relevant from an intelligence perspective. Bitcoin doesn't need to worry about such attacks; once coins are moved, the old keys are worthless. So a break that brings timelines down from 30 years to 15, or from 10 years to 5, is critical to the USG/NSA but not to Bitcoin yet.

      • selectodude 55 minutes ago
        I’ve read the opposite - single keys are now within reach but every key requires a new search. So your old communications are safe-ish but bitcoin is uniquely vulnerable.
    • naveen99 2 hours ago
      You can just think of cracking the satoshi exposed pay to public key coins as new type of bonus mining rewards. Pay to hash is still secure… unless they can crack a public key in less than 10 minutes.
    • swinglock 2 hours ago
      https://delvingbitcoin.org/ would be a better forum than Reddit for such topics that aren't memes.
    • post-it 2 hours ago
      I don't really see the issue. If the wallets are in use, the owners will update. If they're not, it doesn't matter if someone cracks them.
      • stnikolauswagne 2 hours ago
        For starters one of the long dormant wallets is satoshis thats like give or take 5% of bitcoins entire supply.
        • mattashii 2 hours ago
          So the price of the BTC might go down due to an increase in supply. That doesn't sound so bad to me.
          • pippy360 2 hours ago
            one worry is that there's a split between people who want to see old wallets locked to protect the price of bitcoin and people who believe it's wrong and the coins should be left vulnerable. A big enough split could be a whole new problem on top of the existing one.
          • buddhistdude 2 hours ago
            It's really only bad for people who were looking to get rich of it, not for the supposed goals of the technology
        • int32_64 1 hour ago
          Satoshi's wallets are 22000 addresses with 50btc each.

          Nobody is going to spend billions to crack individual addresses and then dox their cryptographic capabilities sending them to an exchange to sell.

        • nmadden 1 hour ago
          Is the public key known for those wallet(s)? (IIRC Bitcoin wallets are identified by a hash of the PK, not the PK itself. So only keys that have ever been used are exposed).
          • _heimdall 5 minutes ago
            I could be wrong, but I thought early wallets used the public key and hashes came later.
        • armchairhacker 2 hours ago
          If his wallet drained it would definitely hurt Bitcoin, why would cutting it be bad? Unless he’s still alive and wants the reserves, but that seems unlikely, and unless he’s willing to die or experience more loss without withdrawing, means Bitcoin is a ticking time bomb anyways.
    • PretzelPirate 1 hour ago
      If coins are vulnerable, either the owner will lose them to an attacker or will lose them to being locked.

      In either case, the owner loses them. When the miners decide that unsafe coins are abandoned and it's better to lock them than to allow them to be stolen by a nation state.

      This all assumes that bitcoin adds support for a new signature scheme and gives time for wallets to be migrated.

    • ForHackernews 2 hours ago
      Personally, I think bitcoin is doomed either way:

      - If they do nothing, eventually those old wallets are hacked and stolen, new supply + loss of confidence crashes the price.

      - If they fork it and lock those old (abandoned -- but maybe not!) wallets, then they have undermined the only value proposition BTC has ever had - it's not an infallible "trustless" currency, some cabal of devs/miners can take away your coins. Obviously that's always been true, but they are vividly demonstrating it.

      It's lose-lose, because both narratives are catastrophic for BTC.

      • satvikpendem 2 hours ago
        The second scenario already happened with Bitcoin Cash, perhaps many are too young to remember that now.
      • swinglock 1 hour ago
      • pippy360 2 hours ago
        yeah this is why I think the situation is so interesting. It really does seem like there's no way out. It actually looks inevitable.
      • armchairhacker 2 hours ago
        > it's not an infallible "trustless" currency, some cabal of devs can take away your coins (obviously that's always been true, but they are demonstrating it)

        Maybe people are too stupid. But the point has always been that the “cabal” must be a vast majority of crypto users, who would never persecute you (or your demographic) specifically, unless you’re doing something extremely wrong (even petty or local crime won’t cause a hard fork).

        • jimmydorry 1 hour ago
          The "cabal" has almost never been a "vast majority" of crypto users. It's always been the combination of enough miners to make up 51% (or there abouts) of hashing... which large periods of Bitcoin's life has been two or three pool operators (sometimes just one!); and the Bitcoin Core developers which are a just a handful of people with ownership of the repo and website who are often in conflicts of interest with what is best for their companies / self and what is best for the ecosystem.

          There have been numerous times where there has been contention about what to do about specific problems, and every time the combination of above has put their foot down and those that disagreed, left or were pushed out of the project.

      • jMyles 2 hours ago
        Am I missing something? What about the third option:

        * Require attestation from the original HMAC derivation material in order to migrate the wallet.

      • chancer131 2 hours ago
        [dead]
    • jwpapi 2 hours ago
      Maybe bitcoin IRC?
    • yieldcrv 1 hour ago
      the network doesn’t have to do anything

      if satoshi’s coins were signed and transferred but nobody else’s can be accessed, whats the issue here? that bitcoin’s price goes down for the accurate reason of there being more supply on the market?

      okay? so what? people will purchase it, that volume of bitcoin has been bought and sold in periods of high volatility before as well as OTC and bitcoin’s liquidity is near its highest its ever been.

      the commodities market is always based on supply and demand, not a permanently bullish “it must go up” treatment that equities investors have.

      this is more akin to a huge known gold deposit thats been under a glacier for a long time and the glacier just melted

      its not a free for all where everyone steals from each other indefinitely rendering the network unusable

      but the price is accurate as is so the network should do nothing and promote movement of balances to proper addresses

    • knorker 2 hours ago
      I for one think the best outcome is to see this crime coin just die. With enough speculators walking away it'll be 100% crime, and the criminals won't be able to hide amongst the speculators.

      I'd comment on the third kind of bitcoin holders, but there isn't a third kind.

      One day the speculators should come to terms with how they profited by hiding organized crime. But I'm not holding my breath.

      • pippy360 2 hours ago
        calling it a "crime coin" just poisons the conversation. I came to hacker news instead of reddit to avoid this. You can make your point without inflammatory stuff like that.
      • TedDoesntTalk 2 hours ago
        There is a contingent of people who use it for “stored value” like gold. I don’t know how many people do that; I don’t anyone really knows. But I agree; the crime factor is huge and I wish it would die.
        • cromka 2 hours ago
          The only person I knew they had gold, they stole it.
      • forgotoldaccoun 2 hours ago
        its definitely not the majority of people who own crypto but it has come in handy paying for some very legal things too that payment processors don't wanna touch or where i don't wanna put my credit card in. also you want some crime to happen. a lot of things are only legal now because a bunch of people commited the crime of doing it and there was enough demand to get those things legalized/decriminalized.
      • dontlaugh 2 hours ago
        The third kind is sanctions evaders, which depending on your perspective may not be a crime. But losing bitcoin for the purpose wouldn’t be fatal to the practice.
      • wry_xy 2 hours ago
        Funny enough, it was speculators who killed Bitcoin's utility. Back when it was used almost entirely by criminals, it was actually used as a currency. Too expensive and volatile for that now. Criminals have mostly moved on.
      • shaky-carrousel 2 hours ago
        Same could be said about the US dollar.
      • mtlmtlmtlmtl 2 hours ago
        Don't criminals mainly use monero now?
      • survirtual 2 hours ago
        Organized crime primarily uses USD and other government-sponsored currencies. They control the monetary supply with impunity, socializing losses while privatizing gains. They commit genocide on a scale never before seen in humanity, deport natives and citizens to unfathomable inhumane prisons, and commit unspeakable sexual crimes against children.

        What crimes has bitcoin been used for? Making an honest monetary system that allows teenagers to buy some drugs for personal use?

        I think you may want to reflect on what happened during 2008 that triggered the creation of bitcoin. Because you are on the wrong side of history. Modern robber barons stole from the world at an unprecedented scale and suffered ZERO consequences. Bitcoin was the first real salvo against that modern tyranny. But instead of people coming together and stopping them, that same tyranny has hoarded resources and gobbled up the world’s compute and they finally have a real response (allegedly) against this thorn in their strange-hold on humanity.

        If I had to guess, this is just the beginning. Don't be a bootlicker contributing to the continuation of the suffering of our species.

        We are all about to go through a gauntlet. They want us to own nothing and be grateful for it. They want us to trust them as they lie, feast, and steal from us. They want to drain our creativity and exhaust our will. Even this supposed crypto cracking situation is an example; there are easy ways to provide evidence of their attack but instead they weave a web of lies and rumors against their enemy: all of us. The sew confusion, fear, loss, hopelessness. I am talking right now about a very old and ancient pattern that we all know very well.

        I wonder what we're all going to do about it? It isn't looking good if people think their enemy is literally math.

        • solyin 1 hour ago
          Let's not ignore that extortionists, some in in North Korea, Russia, USA, have been named as the people behind ransomware attacks which have taken down hospitals, schools, and casinos. These attacks aren't petty crimes that can be shrugged off as maladjusted teenagers hanging out behind the 7-11. Whatever you want to believe about power, control, and fiat money, Bitcoin is a bit bigger than a couple of drug addicts on the dark web. It's not even very good for that.
        • chancer131 2 hours ago
          [dead]
        • tosapple 1 hour ago
          [dead]
        • sirmike_ 1 hour ago
          Uh-huh. Sure buddy. Stop the hyperventilating and DMT suppositories.
      • btccrash2026 1 hour ago
        [dead]
  • Bender 3 hours ago
    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.

    • traceroute66 3 hours ago
      > Append the new key to authorized keys and avoid removing the old entry until it is verified that all systems accept the new key.

      Also a good time to consider migrating to using SSH certificates so you never have to play the authorized keys dance ever again. :)

      Its not that difficult.

      • jeroenhd 3 hours ago
        But then you need to update your SSH certificates, because I'd your key was signed by a broken algorithm, your certificate probably was as well.

        Which reminds me to check my certificates, actually.

      • Bender 3 hours ago
        There are a number of pros and cons to each method that each person or organization will have to decide for themselves. If I list the pros and cons of each it will appear biased so I would encourage everyone to do their own extensive research on this topic before making such a change.
        • traceroute66 3 hours ago
          Messing around with authorized keys files is inherently risk-laden. Stuff doesn't get put in. Stuff doesn't get taken out. Bad stuff gets put in by people accidentally or on-purpose.

          Sure there are managed ways to do it, like `AuthorizedKeysCommand` or Ansible etc.

          But for most people, especially those people allowing manual management of keys files, there are more cons than benefits of authorized keys.

          • Bender 3 hours ago
            It is a lot more involved and nuanced. Trigger warning: I would encourage people to use their favorite LLM flavor of the day to get a more detailed answer about all the pros and cons of using traditional SSH public keys vs. SSH CA certificates.
      • rustyhancock 3 hours ago
        I can't believe I hadn't heard of SSH certificates. It does seem a nice simplification I'll look into this weekend.

        I assume and hope it's as simple as setting up one key and then automatically being able to log in with any subsequently signed key.

        • traceroute66 2 hours ago
          > I assume and hope it's as simple as setting up one key and then automatically being able to log in with any subsequently signed key.

          Yes, in the most basic implementation that's it.

          Obviously RTFM, but the gist is that the CA SSH Key gets defined on the server (sshd_config) side, e.g :

              TrustedUserCAKeys /etc/ssh/user_ca.pub
              AuthorizedPrincipalsFile /etc/ssh/principals
              # AuthorizedKeysFile none  # only once you're happy everything works ;)
          
          And then yes, you can automagically log in with whatever is signed with the key(s) in `TrustedUserCAKeys` (as long as the principal defined in the signature matches one listed in `AuthorizedPrincipalsFile` – although IIRC you can wildcard `AuthorizedPrincipalsFile` so you might not even need to worry about that if you want a super-simple setup).

          Then once you're happy with the basic principles and tested it out, you can do more fancy stuff like using Yubikeys as a poor-man's HSM (hardware CA) and eventually all sorts of server-side (man sshd_config) magic.

          Its great ! Welcome to the dark side. ;)

      • champtar 3 hours ago
        You do need to move your CA to bigger sizes or different type, so this time you still need to do some changes on all your systems.
      • ycombinatrix 2 hours ago
        Adding a remote dependency & new point of failure to my SSH servers? No thanks.
        • doubled112 16 minutes ago
          You can be your own certificate authority. SSH will trust whatever CA you give it the certificate for.

          The CA could be on a remote server. It could also be a folder of certs and keys on your laptop, and you manage it with the openssl CLI.

    • ijustlovemath 3 hours ago
      Which configuration management system do you use?
      • Bender 3 hours ago
        I used to use Ansible but now being retired I just have a handful of hobby nodes and that is trivial to manage with a shell script compared to the 50k+ physical servers and ungodly number of VM's most of which used LDAP for ssh keys.
  • cyphar 2 hours ago
    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.

    • verandaguy 2 hours ago
      "Unaffiliated with the NSA" is a selling point to some, but not to others. Many enterprise customers and compliance frameworks go with NIST-recommended algos, which are almost universally NSA-recommended.
      • cyphar 1 hour ago
        They are finally FIPS-approved so there shouldn't really be any impediment even if you are selling to government.

        NIST SP 800-56Ar3 does not explicitly approve X{25519,448} but Appendix D references NIST SP 800-186 which does allow them, and NIST has announced they plan to update it to include them. (Everyone switching to X25519MLKEM768 is already on the same boat in terms of compliance.)

        And Ed{25519,448} signatures are explicitly approved in FIPS 186-5.

    • throw0101d 30 minutes ago
      > I wonder why people aren't switching to Curve448 […]

      How many configurations have it as an option as compared to the various NIST 'P-series' options? If you, and also the folks you have to interop with, do not have Curve448, what's the point of implementing it now? Further, if you do government work and have to use Official Workflows™, then it may not be an option (FIPS 186-5 notwithstanding).

      If you're going to spend effort to implement something now, you might as well put effort in (hybrid and/or pure) PQC options.

  • opk 2 hours ago
    Would this change also be applicable to GPG. I have a need to create a fresh GPG key anyway (for signing release tarballs) and I see it defaults to Curve 25519. Should I go for NIST P-521 instead? It doesn't seem to support anything equivalent to the mldsa44-ed25519 that openssh 10.6 has, just some "Brainpool" thing with the same bit sizes as NIST.
    • treeblah 2 hours ago
      I believe gpg's answer is kyber1024_cv448, which is a hybrid key supporting ML-KEM (one of the recommendations per https://words.filippo.io/nsa-advisory/)
      • treeblah 1 hour ago
        Although I just noticed you mentioned signing, which gnupg doesn't support with PQC yet. The kyber stuff is encryption only. Sequioa PGP supports PQC signing: https://sequoia-pgp.org/blog/2025/11/15/202511-post-quantum-.... Annoyingly the standards differ between the two tools.
      • blackcatsec 1 hour ago
        Not sure why one would stick with a purported vulnerable secondary cipher on the hybrid approach. If we take the worst case scenario, it's effectively useless right now.

        Unfortunately I've found on most of the internet the hybrid support is largely x25519/mlkem768. But if you don't have an explicit need to be TLS compatible, I'd move further.

        • treeblah 1 hour ago
          Fair point, that leaves kyber1024_cv448 for gpg
    • throw0101d 1 hour ago
      [dead]
  • alpn 1 hour ago
    currently being hugged to death. archive: https://web.archive.org/web/20261205154533/https://www.undea...

    gist is:

      - ssh-keygen(1) now defaults to ECDSA NISTP384.
      - default first-preference signature algorithm has been changed to ML-DSA 44/ed25519 hybrid.
      - initial support for composite ML-DSA 87 / ECDSA P384 signatures has been added.
  • throw0101d 5 hours ago
    The link is pointing to the Github mirror, which can probably take a lot of traffic better than the canonical repo:

    * https://cvsweb.openbsd.org/log/src/usr.bin/ssh/ssh-keygen.c

    (See 1.512 on Thu, 03 Dec 2026 08:40:32 UTC.)

  • johnea 7 minutes ago
    According the DJ Bernstein, NIST P-384 fails his SafeCurves criteria:

    http://safecurves.cr.yp.to/

    I'm not an expert, that's why I'd use a Bernstein recommended algorithm.

  • seethishat 3 hours ago
    Curious why not RSA 4096 instead? RSA is the oldest and maybe the safest, most well studied option IMO.
    • noinsight 3 hours ago
      Its performance is terrible. That’s the reason for the shift to ECC in the first place (partly).
      • upofadown 1 hour ago
        If you think that RSA is OK then RSA2048 is good enough. It is significantly more performant then RSA4096. It is probably faster than typical curve based stuff for encryption and signature verification.
      • rrr_oh_man 3 hours ago
        What does terrible mean, practically?
        • bob1029 3 hours ago
          Large RSA keys are only impacting at the negotiation phase. This mostly matters for hyperscalars and anyone else doing high volumes of crypto operations at scale.
          • otabdeveloper4 56 minutes ago
            Anybody doing more than double digit https connections per second is affected.

            And by "affected" I mean your CPU will die when you switch from 2048 bits to 4096.

        • noinsight 1 hour ago
          RSA doesn't scale past 2048 bit keys. Performance drops by 85% for a 112->140 increase in bits of security with 4096 bit keys (3072 is 128).

          Of course the security bits of e.g. ED25519 are up in the air now, but it (used to) offers 128 bits of security at vastly better performance.

          See for yourself on your own hardware:

          $ openssl speed rsa2048 rsa4096 ed25519

          • rrr_oh_man 1 hour ago
            What does that mean in practical terms, though? For a standard website, web app?
          • dist-epoch 1 hour ago
            Computers got vastly better in the last 15 years. Does this still matter?
          • otabdeveloper4 54 minutes ago
            > are up in the air now

            No they aren't.

            You're literally doing a Chicken Little dance based on literal Twitter rumors.

            Get a grip on yourselves.

        • 13415 3 hours ago
          I'm using RSA 8192 and have no performance problems in practice. I suppose it depends on what you're doing, though, I'm only connecting to remote servers manually and with simple deployment scripts.
  • jwpapi 2 hours ago
    https://btcpuzzle.info/puzzles

    They didn’t yet crack 2^71 jfi

  • ls65536 1 hour ago
    Are updates to host key algorithms covered by this as well?
  • nocturn9x 3 hours ago
    so 256 bit ECC is well and truly dead huh. 1 minute of silence for my favorite curve, you'll always be in my heart Ed25519
    • xaduha 2 hours ago
      Hardware keys ed25519-sk and ecdsa-sk are 256 bit. Most passkeys are a P-256 key pair and an ECDSA signature as well, that's not going anywhere. I don't see people mention passkeys in these conversations at all.
  • lewdwig 3 hours ago
    Every “which is the best SSH key type?” blog post is now wrong in two directions
  • JanisErdmanis 28 minutes ago
    I guess it won't take long until Github will invalidate all my P256 keys ;/
  • seanieb 1 hour ago
    I don’t love using curves created using mystery numbers from the NSA, thank you.
  • denverllc 2 hours ago
    Does anyone know if Curve25519 (Montgomery) is also generally affected? I believe that’s what WireGuard uses
    • adrian_b 2 hours ago
      With the exception of a few privileged, nobody knows for sure whether there exists a faster attack against all elliptic curves with small parameters, or only against a restricted class.

      Nonetheless, the safer choice is to assume the worst case, which is that Curve25519 is also vulnerable. With this assumption, in all places where elliptic curves smaller than 384 bits are used, they must be replaced, which corresponds to the recommendations of NSA.

  • chasil 3 hours ago
    Would the 521 curve not be more prudent?
    • traceroute66 3 hours ago
      > Would the 521 curve not be more prudent?

      Probably because their goal was notional compliance with CNSA 1.0.[1]

      [1]https://marc.info/?l=openssh-bugs&m=179646617823608&w=2

    • noinsight 3 hours ago
      No, that curve is dead. Browsers removed support for it.
      • chasil 1 hour ago
        You might also remember that PuTTY made a basic error in with their P-521 implementation, and it was corrected, not removed.

        Th P-521 seems the best option for ECDSA at the current time.

        http://blog.cr.yp.to/20140323-ecdsa.html

        "To be fair I should mention that there's one standard NIST curve using a nice prime, namely 2^521 – 1; but the sheer size of this prime makes it much slower than NIST P-256."

    • bflesch 3 hours ago
      They're using FUD to push everyone away from RSA and towards a new, backdoored curve because the current backdoored curve has been exposed.
      • kortex 2 hours ago
        Tech companies are recommending hybrid x25519+MLKEM, or P-384 where hybrid isnt available, and RSA-4096 as a last-ditch interim. What exactly is this "new backdoored curve"?
        • bflesch 41 minutes ago
          Zero trust principle includes not trusting PR campaigns and "very urgent" recommendations from foreign governments. Let them beta test the new crypto while I stay with what is proven.

          This kind of fake urgency is normally used in social engineering.

      • SoftTalker 3 hours ago
        Is that what Anthropic discovered? An intentional backdoor and not an algorithmic weakness?
        • airspresso 2 hours ago
          More like an algorithmic weakness only some knew about and could abuse to their benefit. Until it gets independently discovered by others, like Anthropic did here most likely.
        • jMyles 3 hours ago
          Nobody knows, but that theory has certainly been the subject of growing wild speculation over the past 72 hours.
        • bflesch 48 minutes ago
          I don't know. But I also don't know if these "quantum computers" are anything more than a scam to get government handouts.

          And my personal assessment of those "quantum" companies is that they are more focused on media campaigns, interviews and public funding than on building a product.

          I have zero trust that those connected types cashing out the government funding will actually deliver anything except FUD and PR campaigns.

          So any time those airheads are used to justify an urgent security-related configuration change my bullshit detector goes off.

      • mschuster91 3 hours ago
        RSA is similarly broken. 1024 bit keys can be cracked by a sufficiently well equipped adversary (I think I came around a figure of 120 million dollars in compute cost, but that was before the AI craze), and 2048/4096 are going to fall as soon as someone manages to create a working quantum computer.
        • bflesch 54 minutes ago
          I fully agree with you.

          "Quantum computers" is the same kind of scam as "hydrogen fuel", easy government money.

          I'm not well connected but I haven't met a single trustworthy company in the "quantum" space. Until one of these things is standing right here on my desk you can pry the RSA keys out of my cold dead hands.

          They use media campaigns so you move away from RSA because they can't decrypt it.

  • JoyfulPanda 1 hour ago
    didn't we choose ed25519 over ecdsa because we didn't trust how nist came up with their curve or so?
  • nodesocket 1 hour ago
    This is gonna be a nightmare re-generating all ssh keys and revoking old keys from authorized_keys once support for mldsa44-ed25519 authentication drops. I only have a handful of homelab servers and a few AWS EC2 instances and this is gonna royally be a pain in the ass. Imagine large companies who have thousands of servers with thousands of ssh keys.
  • ze707ro 1 hour ago
    [dead]
  • meindnoch 3 hours ago
    [dead]
  • tae_yang 3 hours ago
    wait so read-only just means you can't write files into the mount? tools/ is full of executable bash scripts and running one calls the server for real. readme literally says only use it with MCP servers you trust https://github.com/openai/mcpfs#readme