What to Make of the NSA Advisory

(words.filippo.io)

107 points | by jvdheyden 1 hour ago

10 comments

  • leishman 5 minutes ago
    It's worth noting that the NSA has been recommending 384 bits as the baseline for Elliptic curves since 2015 https://en.wikipedia.org/wiki/Commercial_National_Security_A...
  • quaz4r 7 minutes ago
    My baseless guess, as someone in quantum computing and has worked in quantum cryptography, is that there were additional results not publicly disclosed which point to a reduction of resources required for quantum attacks of ecc or discrete log (which is not unprecedented over the past few years even without AI), and thus more pressure to migrate PQC
  • int0x29 34 minutes ago
    Just tried to set up ssh-mldsa44-ed25519 and found that neither github nor forgejo supports it.
    • QuantumNomad_ 5 minutes ago
      Forgejo defaults to relying on the host ssh server. I.e. OpenSSH sshd or Dropbear sshd or what-have-you.

      There’s also a built in ssh server in Forgejo but it has to be explicitly enabled.

      If you have START_SSH_SERVER set to true in the [server] section of the Forgejo config, you are running the built-in ssh server of Forgejo itself. Otherwise it will be whatever ssh server your host OS is running.

  • ok_dad 27 minutes ago
    What’s the new ssh key crypto I should use now? I’ve been using 25519 based keys everywhere. That’s the thing I need to know. Damn.
  • galadran 45 minutes ago
    The best part of this advice is that it is exactly what everyone should have been doing already.

    Moving to MLKEM768-X25519 hybrids for key exchange as soon as possible and building in agility for authorisation.

    • busterarm 26 minutes ago
      it's not without cost. the size is much bigger and you're adding 2-4KB to all of your request headers, which at scale is a meaningful problem to deal with.

      There are a lot of high-volume environments where people weren't doing any key exchange whatsoever and had to be dragged kicking and screaming into doing so with x25519 only recently. They are going to be slow to adopt this.

      Ask me how I know.

      • g-b-r 7 minutes ago
        At what scale, and in what environments, is it a meaningful problem?

        Not doing any key exchange means? Hopefully static, rarely changed symmetric keys?

      • dgellow 9 minutes ago
        Is the switch to MLKEM768-X25519 complicated? Genuine question
  • rustyhancock 12 minutes ago
    Does this suggest secp256k1 is at risk?

    Or do we just wait to see if the Satoshi wallets vanish into NSA coffers?

  • wk_end 26 minutes ago
    So, for us laypeople unfamiliar with the theory of ECC, what's the upshot of P-256 being broken but P-384 continuing to be safe? What did (likely) Claude discover/do?
    • SSLy 5 minutes ago
      Perhaps it's something like reduction of security, that is P-256 becomes 64b or smaller, while P-384 is an okay 128b?
  • dgellow 7 minutes ago
    Thanks Filippo, and all the best to anyone dealing with this situation. Doesn’t sound fun
  • jmclnx 43 minutes ago
    >They are explicitly calling out the P-256 elliptic curve (by exclusion), and Ed25519 (which is the only EdDSA in the NIST specifications)

    Interesting, OpenBSD standardized OpenSSH on Ed25519. But I think I saw they added a new encryption.

    Me, I take this as an advisory for people to do over the following year or maybe 2.

    • jstanley 13 minutes ago
      Apparently P-256 has already been deprecated for US national security use since 2016 and P-384 is recommended by "CNSA 1.0", so I'm not sure this implies anything (new) at all about P-256.

      > Elliptic Curve Diffie-Hellman (ECDH) and Elliptic Curve DSA (ECDSA) must use the NIST P-384 parameters

      From https://media.defense.gov/2021/Aug/04/2002821837/-1/-1/1/Qua...

    • marcosdumay 3 minutes ago
      I do really dislike the author turning into "calling it out" the fact that NSA didn't mention 25519 in a document.

      The same NSA that has been fighting against 25519 for ages, and refusing to acknowledge it on every situation where it's possible.

    • cwillu 21 minutes ago
      They say explicit, but “calling something out” by its absence is practically the definition of implicit. I don't think it changes much, but it's annoying that a word with a perfectly good definition is being misused.
  • mikece 54 minutes ago
    This infers a classical break of 256-bit ECC purely from what the NSA left off its inventory list. What's the strongest alternative reading of that list, and is there any independent evidence (a paper, a disclosure, a vendor statement) for a practical attack on P-256 or Curve25519?
    • aphysically 28 minutes ago
      Is there any prior art for recommending above 256 bit ECC explicitly? It did seem odd. I think their better argument for a dog whistled alternative reading was that they changed their recommendation on hybrid key exchange.
      • bri3d 7 minutes ago
        Yes, P-256 was effectively removed from the allowed US national security cryptography list in 2015-2016 when they migrated from Suite B to CNSA.
    • free_bip 32 minutes ago
      There is no real evidence, it's the exact same flavor of fearmongering that preceded the physically impossible quantum attacks on lattice encryption.
      • rustyhancock 7 minutes ago
        Telling people to do what everyone has been recommending for a long time doesn't seem like fear mongering.

        And the pace of AI work is such that's it's prudent to say get a move on doing what you should have done a decade ago.

        In my tinfoil hat moments I do wonder if we're being herded subtly onto backdoored security but nothing in this has that kind of smell to me (a lay person).