What to Make of the NSA Advisory

(words.filippo.io)

1040 points | by jvdheyden 19 hours ago

71 comments

  • adrian_b 17 hours ago
    > They are not calling out RSA.

    This is not true. RSA is still allowed temporarily, but only with a size of at least 3072-bit.

    Moreover, "starting in 2027, no new product for NSS should have a burned-in root of trust relying on a non-quantum-resistant primitive".

    Also: "by the end of 2030, all available devices should fully support quantum-resistant algorithms".

    Therefore, after the New Year new products should not use RSA in root certificates, and by the end of 2030 the use of RSA and elliptic curves in non-hybrid algorithms should be discontinued.

    Among the non-public-key algorithms, only 3 are permitted: AES-256, SHA-384 and SHA-512. Older or weaker algorithms are deprecated.

    There is an exception for the digital signatures specified in NIST SP 800-208, inside which SHA-256 and SHA-192 are allowed, but these smaller hashes are not permitted for general usage.

    It is notable that SHA3 is not among the algorithms permitted by the "Commercial National Security Algorithm Suite 2" promoted by NSA, despite being significantly stronger than SHA-512 and SHA-384.

    Unlike with many other algorithms that are mentioned and about which it is said that there are no plans to include them among the algorithms that are allowed for owners and operators of "National Security Systems", for SHA3 it is said that even if NSA currently has no plans to allow the use of SHA3, "it would be prudent from a cryptographic agility perspective for NSS customers to have larger versions of SHA-3/SHAKE available in FIPS 140 validated products", which appears to imply that they might reconsider this decision in the future.

    • layer8 16 hours ago
      > > They are not calling out RSA.

      > This is not true. RSA is still allowed temporarily, but only with a size of at least 3072-bit.

      They are applying the CNSS Policy 15 here, which required that since 2016.

      And NIST SP 800-131A Rev. 3 limited the use of RSA below 3K to 2030 already two years ago.

      There is no clear indication that there are any concrete new threats to RSA.

      • repeekad 1 hour ago
        But it sure made a great scapegoat for the bitcoin crash..
      • AdamConwayIE 16 hours ago
        They allow for RSA-2048 where legacy support requires it, as per a footnote, though. No such allowance is made for P-256. In other words, they tolerate a weaker key for 2048-bit RSA but not for 256-bit curves.
        • adgjlsfhk1 17 hours ago
          The fact that SHAKE and cha-cha aren't more standardized/govt recomended to me is crazy. It seems really obvious that we want a large number of really high quality schemes.
          • kzrdude 8 hours ago
            Yes, strange that we are not thinking "ecosystem" here. We need some diversity so that, for example, not every bank in the world relies on SHA-512, but multiple good schemes coexist.
          • breakwaterlabs 12 hours ago
            2048 has been on the chopping block for a long time because its lenstra strength is only 112. Its matching symmetric crypto would be 3DES.

            If youre using SHA256 and AES128 you should absolutely be using something stronger.

            And RSA as a whole has been a known problem for a while with a ton of footguns, which is why its use has been increasingly discouraged.

            As for SHA3, I have always understood it to be merely a different construction (sponge?), not inherently stronger than SHA2 and not positioned as a successor.

            • GTP 6 hours ago
              In theory SHA2 would be subject to length extension attacks, even though they're not practical at the moment. SHA3's construction should prevent them.
              • less_less 6 hours ago
                Length extension attacks on SHA2 are practical, not just theoretical. It's just that they can only happen in certain constructions, and carefully-built protocols and higher-level primitives can avoid them. E.g. by using HMAC instead of raw SHA2. But SHA3 doesn't have that footgun.

                There are also theoretical attacks where SHA2 nominally provides 256-bit preimage resistance, but because of multicollisions etc you get much less than 256-bit security (but usually more than 128-bit).

                • GTP 2 hours ago
                  Thanks for your clarification about length extension, I should look more int it. But regading the rest, you can't get more than half an hash function's length in terms of security due to the birthday attack. So with SHA-256 you get at most 128 bits of security (and the security claim is of 128 bit).
            • tux3 17 hours ago
              There's SHAKE in ML-KEM and ML-DSA, so one way or another FIPS/CNSA compliant systems will be relying on it. There's no concern about either SHA-2 or SHA-3 at the moment, SHA-2 is a good default.
              • ComputerGuru 17 hours ago
                They actually implicitly temporarily OK RSA-2048 in a footnote for legacy compatibility.
                • nextaccountic 15 hours ago
                  sha256?? what's the problem with it?
                  • Retr0id 11 hours ago
                    imo nothing, but the reason for its deprecation in this context is presumably that it only has 128 bits of collision resistance.
                    • GTP 6 hours ago
                      128 bits of security is what most people need. The actual problem could he that it would be subject to length extension attacks, even though they aren't practical at the moment.
                  • jazzyjackson 14 hours ago
                    Thanks for the breakdown
                    • jeremyjh 14 hours ago
                      > Moreover, "starting in 2027, no new product for NSS should have a burned-in root of trust relying on a non-quantum-resistant primitive".

                      This has been the standing guidance since December, 2024.

                      • bigfatkitten 8 hours ago
                        I wish them the very best of luck considering the the state of PQC in the TPM ecosystem.
                    • leishman 18 hours 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...
                      • ramblurr 18 hours ago
                        But for normal ops engineers there's little we can do right now. We touch crypto every day in two places:

                        1. TLS 2. Hardware ssh keys

                        TLS -> we can configure X25519MLKEM768 for key exchange, but Let's Encrypt doesn't offer PQ auth yet. Should we switch to RSA 4096?

                        SSH -> there aren't any commercially available hardware keys that support ML-DSA or a hybrid

                        Seems kind of like shouting fire in a crowded room with no fire escapes, fire alarm pulls, or sprinklers. We just have to wait for the firefighters to come?

                        • cayleyh 18 hours ago
                          This type of announcement is a way to kick off the process so these types of things will start to get supported & filter down to everyone. It's meant for people like Filippo who maintain crypto libraries, are major issuers, operating systems & browsers vendors, etc. to tell them "hey it's actually really important now, not that 5-10 year timeline you thought you had"
                          • swyx 10 hours ago
                            saying "immediate" does not give much confidence that this is "a way to kick off the process" in any orderly fashion
                          • bwindels 17 hours ago
                            > Let's Encrypt doesn't offer PQ auth yet.

                            Last month they got funding for exactly this it seems: https://letsencrypt.org/2026/11/05/sta-pq-funding

                          • cipehr 17 hours ago
                            If you're on apple/mac devices, the Secure Enclave does in fact support ML DSA keys... https://developer.apple.com/documentation/cryptokit/secureen...

                            You can use them with apps like Secretive https://secretive.dev

                            • bonyt 17 hours ago
                              Yes, but the current Secretive doesn't support any of the formats that upstream OpenSSH supports. It supports mldsa-65 and mldsa-87, but OpenSSH only has mldsa44-ed25519 (hybrid) at the moment I think, and may stick to hybrids.

                              The secure enclave only supports ML-DSA-65 and 87 as far as I know, so it seems unlikely that Secretive will ever support mldsa44-ed25519, but maybe they will eventually agree on a hybrid.

                          • xoa 13 hours ago
                            >SSH -> there aren't any commercially available hardware keys that support ML-DSA or a hybrid

                            FWIW if you missed the announcement, Yubico launched the PQC Yubikey beta program about a month ago [0]. Nitrokey at least seems to have it on their radar in various issues ala [1, 2] though without any clear timelines or same sense of urgency I can find. Still, hopefully that means we'll have at least one or two hardware keys/HSMs sooner vs later, and it does help light a fire well before (hopefully) zero day which of course is supposed to be the point.

                            >Seems kind of like shouting fire in a crowded room with no fire escapes, fire alarm pulls, or sprinklers. We just have to wait for the firefighters to come?

                            No, this is shouting that there is a very dangerous storm that could produce life threatening flooding in the next 72 hours and everyone in the crowd should start getting together their go-bags, or shoring up their properties and moving stuff to upper floors or whatever. It's not a fire YET right? We haven't literally seen someone drop on the HN front page how to quickly crack a 256-bit elliptic key on your home computer, or post how their hot new key-crack-as-a-service YC backed startup is hiring. It's a warning they think something may be coming.

                            ----

                            0: https://www.yubico.com/pqc-beta-program/

                            1: https://github.com/Nitrokey/opcard-rs/issues/239

                            2: https://github.com/Nitrokey/nethsm/issues/12

                            • mrinf1nity 12 hours ago
                              I never supported paying those thieves of SSL cert providers $60+ for a cert and sure as hell won't be rush buying an expensive pq hardware key because 'they think something is coming' either. I'm no encryption expert or anything but once things do start getting cracked the world has bigger problems to offer.
                              • 0xDEAFBEAD 9 hours ago
                                "I don't want my tax dollars to go towards no levee. Once the city floods we'll have bigger problems than a levee."
                            • r_lee 6 hours ago
                              I don't think there's a problem with the auth part, just the encryption

                              the hardware key / HSM thing is a real big problem though

                              • ComputerGuru 17 hours ago
                                Does Google's Let's Encrypt alternative PKI via Google Trust Services support PQ certs? Google.com itself uses X25519MLKEM768 iirc, and it's issued by Google Trust Services.
                                • johncolanduoni 17 hours ago
                                  That’s the key exchange algorithm for the connection, not the PKI signature algorithm.
                              • paulddraper 16 hours ago
                                > Seems kind of like shouting fire in a crowded room

                                The notice was for National Security Systems. Exactly ZERO of them of them run Let's Encrypt.

                                (Not only do they not use Let's Encrypt, they don't use public CAs at all. They use NSS PKI and DoD PKI.)

                                It's like shouting fire in a room you weren't invited to.

                                I'm not saying to ignore it, but you weren't the target audience.

                                > Hardware SSH

                                FYI YubiKey released their beta ML-DSA+ML-KEM beta on Nov 3. [1]

                                [1] https://www.yubico.com/pqc-beta-program/

                              • ojhhhh 11 hours ago
                                [dead]
                                • dist-epoch 17 hours ago
                                  This sounds like the perfect moment to put pressure on Let's Encrypt, YubiKey, ...
                                • adverbly 17 hours ago
                                  Claude build a commercially available hardware key that supports ML-DSA. Make no mistakes.
                                • quaz4r 18 hours 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
                                  • dzdt 12 hours ago
                                    My baseless guess is the quantum paper release was just a cover. The rumors about an important advance in non-quantum crpyto breakage were true. The goal is to get everyone off of the vulnerable algorithm(s) as soon as possible. It happens that the vulnerable alogithm(s) are not in the post-quantum approved set, so asking people to move NOW to post-quantum crypto is a way to invoke existing plans that will remove the vulnerability without revealing the details of the vulnerability. But whatever Anthropic can do now there are others who can do mext week or next month, so the window before exploits arrive is small.
                                    • cowlevel 5 hours ago
                                      If the goal was to get everyone off ASAP they'd publish proof of breakage. Right now it looks like they want to get people on to a subtly broken system so they can snoop.
                                      • d1sxeyes 3 hours ago
                                        Most people will move to hybrid, which, even if the system is subtly broken, is strictly additive in security terms. If the value of ML-KEM turns out to be zero, you're no worse off than not implementing it (apart from bigger keys).
                                        • Urahandystar 4 hours ago
                                          Love the cynicism but you have faith that they would be able successfully plan nd manage that after everything you seen recently?
                                        • dzdt 12 hours ago
                                          Specifically if I speculate farther I would guess the vulnerability includes at least a non-quantum attack on RSA which renders key size 2048 bits or less vulnerable to current hyperscale lab compute resources.
                                          • indigo945 5 hours ago
                                            The blog post we are discussing gives quite compelling evidence that the vulnerability is not in RSA, but in 256-bit elliptic curves.
                                          • sandworm101 2 hours ago
                                            My baseline assumption remains that there is not some grand conspiracy to hide an elite team with a magic quantum computer buried under area 51. My baseline is that the agency tasked with staying ahead of the curve has issued a warning statement based on a possible future situation. This is the experts saying" "hey people, we can see a potential issue on the horizon and think everyone should up their game now rather than later." Offering expert advice and standards is the baseline NSA function.
                                          • KMag 17 hours ago
                                            Are you using discrete log as shorthand for both discrete log and the RSA problem over Z_p, or do you have reason to suspect that discrete log over Z_p is likely more vulnerable than RSA?

                                            25-ish years ago, I was in 6.857, Ron Rivest's security class (mostly crypto, but much less math-intensive than Silvio Micali's crypto class). I asked him about the utility of either using 1024-bit El Gamal wrapped in 2048-bit RSA or 2048-bit RSA wrapped in 2048-bit El Gamal. (These size relationships avoid waisted bits in the wrapping.) His response was that it was very unlikely to have a significant breakthrough against one without having a breakthrough against the other.

                                          • dhx 15 hours ago
                                            I like this theory as it's supported by recent papers [1] and [2] which have in 2026 introduced remarkably more optimised _theoretical_ quantum computers for breaking RSA and ECDLP. See for example page 7 of [1] for a figure showing progress on reducing the number of physical qubits a theoretical quantum computer for breaking RSA-2048 may require--10^7 in 2019 per Craig Gidney[3] and Martin Ekerå versus 10^4 in 2026 per [1]. MLKEM despite recent advances still has a lot more headroom against quantum computers--10^6 for physical qubits according to [4].

                                            What I haven't been able to find an answer to is whether _practical_ quantum computers for breaking RSA and ECDLP are now anticipated to exist earlier than they might have in 2025 or earlier years. The paper at [5] presents the challenges that are expected to be faced when building different sized quantum computers and notes these challenges remain significant.

                                            [1] Shor's algorithm compiled on cat qubits: 22 593 qubits for RSA-2048 in 3.14 days, https://arxiv.org/abs/2610.37839

                                            [2] Computing 256-bit elliptic curve discrete logarithms in 26 days on a fault-tolerant trapped-ion quantum computer with 20,000 qubits, https://arxiv.org/abs/2609.05625

                                            [3] https://news.ycombinator.com/user?id=Strilanc

                                            [4] Module Lattice Security (Part IV): Probabilistic Polynomial Quantum Attack on Module-LWE over 2-Power Cyclotomics, https://arxiv.org/abs/2605.17412

                                            [5] How to Build a Quantum Supercomputer: Scaling from Hundreds to Millions of Qubits, https://arxiv.org/abs/2411.10406

                                            • quaz4r 14 hours ago
                                              I think this paper was the most concerning one this year.

                                              https://arxiv.org/abs/2603.28846

                                              Re QCs, they are on track to have hundreds to low thousands of logical qubits within 2 years, depending on code choices and architectures. It is not completely infeasible to imagine having a QC that can approach a calculation of this sort (maybe for a smaller key size), especially if AI improves code choice and design, layout, compilation, routing, calibration, in addition to algorithms themselves

                                              • dhx 11 hours ago
                                                Thank you for the additional paper.

                                                For practical quantum computing, are there any particularly significant breakthroughs this year that have made cryptographers freak out, where they may not have previously been worried in 2025? For example, does something like Jiuzhang 4.0 move timelines forward significantly?[1][2] There are however all sorts of consequential sounding improvements coming out in rapid fire such as faster quantum operations/faster qubit resets, so perhaps it's more of a feeling of current pace of improvements rather than any single experimental quantum computer that has been built?

                                                [1] https://english.cas.cn/newsroom/headlines/202605/t20260514_1...

                                                [2] Liu, HL., Su, H., Deng, YH. et al. Gaussian boson sampling with 1,024 squeezed states in 8,176 modes. Nature 653, 687–692 (2026). https://doi.org/10.1038/s41586-026-10523-6

                                            • djha-skin 17 hours ago
                                              He addresses this in the article, opining that it's actually a "normal" computer attack:

                                              > This, to me, says this is a classical attack, because no quantum algorithm would “present a significant threat to cryptographic systems” without also a big progress in CRQC development, which is not mentioned anywhere.

                                              • quaz4r 17 hours ago
                                                Yeah, I don't agree with that line of reasoning. If ECC quantum algorithm requirements were reduced, say another 10x by AI, these would be vulnerable to attack within a few years just looking at public QC timelines.
                                                • civet_java 14 hours ago
                                                  And isn't that sort of cataclysm exactly in line with what the NSA is suggesting, "Migrate ASAP"?
                                                  • postexitus 5 hours ago
                                                    What public QC timelines?
                                                • dist-epoch 17 hours ago
                                                  Aren't quantum computers far away from anything larger than the toy-iest of problems?

                                                  These advisories seem very urgent, could it be they found a classical attack?

                                                  • CoolestBeans 15 hours ago
                                                    Look, I don't know nothing but this is me trying to read between the lines. They haven't changed any of their recommendations other than to move the timeline of shifting from classical to post-quantum up. Furthermore, they posted this advisory which is a signal itself. If there was an active break or one imminent, there would probably be more movement behind closed doors first. Posting an advisory like this is a signal to adversaries as much as it is to defenders to where the cracks might be. And they know that.

                                                    I think the correct reading given public information is that the capability to find flaws in these algorithms is progressing rapidly and if there are flaws in classical crypto, they will be found. The reason post-quantum algorithms are what they are is because we think they lack a structure that can be exploited like RSA and ECC were. That hopefully will benefit PQC even if classical algorithms are exploited. Obviously the paper about lattices puts a bit of a wrench in that but broadly its a good assumption to go off of.

                                                    • BobbyTables2 11 hours ago
                                                      Agree, but a darkly humorous possibility is they discovered vulnerabilities in PQC algorithms and are trying to get everyone to migrate to them sooner. The combination of quantum computing and AI is a unique impetus compared to “switch because it’s ‘better’”
                                                      • cowlevel 5 hours ago
                                                        Not "darkly humorous" but quite possible going by history. Even today most operating systems have "FIPS mode" which cripples cryptography for compliance reasons and is enabled at most government contractors
                                                    • nl 4 hours ago
                                                      > Aren't quantum computers far away from anything larger than the toy-iest of problems?

                                                      This was true until April this year when announcements from Google and Caltech moved things forward.

                                                      > Neither of these results change the basic principles of QC that we’ve known for decades, but they do change the numbers.

                                                      > When you put both of them together, Bitcoin signatures for example certainly look vulnerable to quantum attack earlier than was previously known! In particular, the Caltech group estimates that a mere 25,000 physical qubits might suffice for this, where a year ago the best estimates were in the millions. How much time will this save — maybe a year?

                                                      https://scottaaronson.blog/?p=9665

                                                      > some of the most reputable people in quantum hardware and quantum error-correction—people whose judgment I trust more than my own on those topics—are now telling me that a fault-tolerant quantum computer able to break deployed cryptosystems ought to be possible by around 2029. .. ..

                                                      > so, here it is: if quantum computers start breaking cryptography a few years from now, don’t you dare come to this blog and tell me that I failed to warn you. This post is your warning. Please start switching to quantum-resistant encryption, and urge your company or organization or blockchain or standards body to do the same.

                                                      https://scottaaronson.blog/?p=9718

                                                      • AlexCoventry 10 hours ago
                                                        AI has accelerated progress in math research by orders of magnitude. It won't be long before it accelerates other research endeavors too.

                                                        I personally doubt that quantum computation is going to be relevant for breaking the DLP, but my timelines for when we'd know that for sure have moved up a lot.

                                                      • oofbey 17 hours ago
                                                        Everything about this advisory would seem perfectly normal without AI. QC is getting real at an increasing rate. If you care about today’s communications staying secret for years to come, you need to be using PQC.
                                                        • 3949499559 18 hours ago
                                                          [dead]
                                                          • w4der 5 hours ago
                                                            My baseless, tinfoil hat theory is that some lab found a way to break post-quantum encryption with a regular computer and now the NSA wants everyone to move to post-quantum so they can snoop in. It's the perfect pretext and scare environment to do so.
                                                          • BoppreH 16 hours ago
                                                            Isn't the list of classical algorithms the same since 2016 [1]? They've been consistent in recommending RSA-3k and avoiding 256-bit curves for a decade now.

                                                            If there was a 384-bit version of Curve25519 that was excluded, or if RSA-2048 was back on the menu I would agree that there's something to worry about, but this analysis might have been too clever for its own good.

                                                            [1] "CNSSP 15" from https://www.cnss.gov/CNSS/issuances/Policies.cfm

                                                            • mayhemducks 46 minutes ago
                                                              • OneManHorde 13 hours ago
                                                                GitHub doesn't support the ssh-mldsa44-ed25519 key type yet.

                                                                If you'd like to see that, you might want to upvote this issue: https://github.com/orgs/community/discussions/214623

                                                                To generate such a key, assuming you have a new enough OpenSSH, the type string is:

                                                                  ssh-keygen -t mldsa44-ed25519
                                                                • ok_dad 18 hours 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.
                                                                  • elbrownos 18 hours ago
                                                                    Just use the number 4
                                                                  • adastra22 18 hours ago
                                                                    mlkem1024nistp384-sha384 would be my recommendation and most in line with the NSA's advisory here, but there's also an argument for sntrup761x25519-sha512.

                                                                    25519 alone is probably not a good idea anymore.

                                                                    • adrian_b 16 hours ago
                                                                      There are 2 separate algorithms, the key encapsulation mechanism, which transfers secret keys between parties when a connection is established, and which is important against adversaries who would record now the communications, for decrypting them later, and the digital signature algorithm, which is important against adversaries who would try to impersonate you in the future, if they break it.

                                                                      Your recommendations, like RFC 9941 sntrup761x25519-sha512 and those based on ML-KEM are for the key encapsulation mechanism.

                                                                      I am among those who believe that the arguments that ML-KEM is significantly weaker than NTRU Prime are correct, and that the recent attack by Anthropic has confirmed the predictions made about ML-KEM long ago, even if for now the attack is completely impractical (but it might be improved in the future).

                                                                      The only reason why NIST has preferred ML-KEM is that when implemented in dedicated hardware, not in software, the cost of ML-KEM can be lower than for NTRU Prime. The reason is exactly the same for which the weaker polynomial hash of GCM has been preferred by NIST instead of the stronger Poly1305. Both ML-KEM and the GCM hash can be cheaper than NTRU Prime and Poly1305 in dedicated hardware, because they can replace some integer multipliers with other simpler circuits (due to making computations in powers-of-two fields instead of prime fields).

                                                                      So I recommend to use in SSH sntrup761x25519-sha512.

                                                                      The algorithm mentioned by you, RFC 10042 mlkem1024nistp384-sha384, is designed for a higher security level than the algorithms currently available in TLS 1.3 and in SSH. I believe that it will be available only in a future version of OpenSSH.

                                                                      The current version has only mlkem768x25519-sha256, which is equivalent with what TLS 1.3 has.

                                                                      For digital signatures, OpenSSH for now offers ssh-mldsa44-ed25519, which should be chosen when generating host keys.

                                                                      So one needs to both generate new host keys with ssh-mldsa44-ed25519, and edit the client and server configuration files, to prefer sntrup761x25519-sha512 and mlkem768x25519-sha256, in what order you like.

                                                                      • adastra22 15 hours ago
                                                                        I had reasons for making the recommendation I did. It comes down to how much you trust existing constructs and which you find likely to fall apart under AI scrutiny. I trust p384 far more than I trust x25519. (This is surprising even to me! I would not have said this even one year ago.) I don't trust any lattice-based cryptography system at all.

                                                                        You no doubt disagree. The thing is, neither of us have any way of knowing and it is all guesswork. There isn't an objective call to make here. You have your opinion, I have mine.

                                                                        But if it matters, the TL;DR is that I do not expect all crypto primitives to fall to AI analysis, but those that do will have structure that is exploited. The NIST p-curves have very little structure, as far as we know, whereas x25519 has lots of structure. Indeed, the structure is the point: it is what makes it fast. That mattered a few years ago. Right now, we want conservative, not fast.

                                                                        Lattice crypto I'm treating as assumed-broken, even under classical assumptions, until we have a definitive minimum bound proof.

                                                                        • za_creature 14 hours ago
                                                                          If you don't trust lattices, lamport / winternitz + merkle + blake is probably your non-nist-approved pq go-to for the sshd use case where signature size is not that important.

                                                                          Sadly, we'll have to wait until it gets added.

                                                                          • adastra22 13 hours ago
                                                                            Yes, but there are very few combinations of key systems that are widely supported. The ones I listed should work on any modern and maintained Linux system or cloud service.

                                                                            And I think the incentives have changed such that it no longer makes sense to be scared of NIST curves. The NSA no longer has an edge.

                                                                            • za_creature 13 hours ago
                                                                              Sure, the P curves have been mostly proven to be safe by now (well, not entirely, the NSA has a history of abusing random number generators)

                                                                              The question is what to do when they are supposedly scared of their own curves?

                                                                              • adastra22 12 hours ago
                                                                                Someone needs to put together a bunker-mode key exchange algorithm that chains together the highest security, most conservative variants of every hard problem class, classical and quantum. It’s fine if it take 300ms to perform a key exchange or signature validation. You just use it to setup a symmetric session key.
                                                                                • adrian_b 7 hours ago
                                                                                  Between computers that are both controlled by you, nothing is more secure than a key-exchange protocol based on pre-shared secret keys, assuming that the protocol is well designed and the key distribution and storage is done correctly.

                                                                                  It is possible to replace fixed pre-shared keys with generators of secret keys used only one time, for the encapsulation of the session keys during a single connection establishment, and it is possible to design this to ensure similar secrecy properties with Diffie-Hellman, against an adversary who controls only the network, not the communicating computers.

                                                                                  • za_creature 12 hours ago
                                                                                    As mentioned, that's probably winternitz / merkle since most signature schemes sign a hash and would be compromised if the hash function is.

                                                                                    https://en.wikipedia.org/wiki/Hash-based_cryptography

                                                                                    • adastra22 11 hours ago
                                                                                      And we have stronger reasons to believe hash functions are generally safe. But those are one-time signature schemes, so not a drop-in replacement.
                                                                                      • za_creature 10 hours ago
                                                                                        You can turn them into arbitrary 2^n signatures with a merkle tree.

                                                                                        They don't guarantee confidentiality of course, but your terminal traffic being intercepted by eavesdroppers is a much smaller issue than sshd accepting arbitrary commands from anyone on the internet.

                                                                            • adgjlsfhk1 11 hours ago
                                                                              I really wish we could get a bigger good PQC curve standardized/pseudo-standardized. E-521, M-511 seem like the best, but IIUC basically no one actually have them implemented.
                                                                              • tesnorindian 3 hours ago
                                                                                Why not FrodoKem?
                                                                              • tptacek 9 hours ago
                                                                                Could you please go into some detail about why the announcement indicated to you that MLKEM "is significantly weaker than NTRU Prime", and what you mean by "significantly"?
                                                                                • adastra22 5 hours ago
                                                                                  ML-KEM is now known to not be exponential. The algorithm that proves this is still incomputable in any reasonable amount of time, but it is asymptotically sub-exponential. This is the very normal first stage progression of cryptographic attacks: show via a galactic algorithm that some property doesn't hold, then progressively find better and better refinements until you eventually arrive at a total break.

                                                                                  NTRU Prime is still believed to be exponential.

                                                                                  • adrian_b 7 hours ago
                                                                                    I have not said that the announcement indicated anything to me.

                                                                                    I said that the Anthropic announcement has confirmed the predictions that this kind of attacks against ML-KEM is possible, predictions that have been done long ago, during the NIST competition.

                                                                                    Comparisons between the mathematical properties of ML-KEM and NTRU Prime can be found in the documents of the NIST competition.

                                                                                    I have read them and I consider that the arguments about ML-KEM being much riskier than NTRU Prime are correct.

                                                                                    I do not believe that there is any non-negligible risk that ML-KEM could be broken in the near future, but I do not see why should I choose consciously an algorithm with worse mathematical properties, when better alternatives exist.

                                                                                    The only argument that is in favor of ML-KEM is that when it is implemented in dedicated hardware, some integer multipliers can be substituted by circuits implementing number-theoretic transforms, which results in a cost reduction.

                                                                                    This will already happen in some future Intel CPUs, probably in the 2028 generation, where a special instruction for number-theoretic transform will be introduced.

                                                                                    That is likely to boost the speed of ML-KEM.

                                                                                    For a server with a very high rate of Internet HTTPS connections and having hardware support for ML-KEM, it may be a reasonable choice to minimize the time and energy spent on connection establishment, so choosing a key encapsulation mechanism based on ML-KEM is appropriate.

                                                                                    On the other hand, when managing my own computers, the overhead of connection establishment is negligible, so I do not care about the most efficient minimum security solution, but I prefer the most secure solution that still has an acceptable cost, which for now is NTRU Prime.

                                                                                    • tptacek 6 minutes ago
                                                                                      You haven't really answered my question so much as restated your original thing in more words. Can you say what aspect of MLKEM you now believe to be inferior to other structured lattices? When you say this, you're making a claim that the CIRG people didn't, so presumably you have something interesting to say here. You're talking about a paper that lays out an attack that is far worse than brute force, and can be launched only with a number of Dyson Spheres requiring more material than exists in the galaxy. You've drawn from that a strong conclusion. I'm wondering how you connect the dots.

                                                                                      I'm looking for something that engages with the paper. Thanks!

                                                                                • mort96 17 hours ago
                                                                                  mlkem1024nistp384-sha384? sntrup761x25519-sha512? These cryptographers aren't great at branding are they
                                                                                  • some_furry 15 hours ago
                                                                                    X25519MLKEM768 was also known as "X-Wing" when it was first specified, but governments, standards bodies, and lawyers are allergic to fun.
                                                                                • throawayonthe 18 hours ago
                                                                                  ssh-mldsa44-ed25519
                                                                                  • mort96 17 hours ago
                                                                                    Why did someone else say mlkem1024nistp384-sha384?

                                                                                    Actually, how can ML-DSA and ML-KEM both be answers to the same question? One is a signature algorithm, one is a key exchange algorithm!

                                                                                    • adrian_b 16 hours ago
                                                                                      See my other comment above.

                                                                                      They are not answers to the same question.

                                                                                      In order to use quantum-resistant algorithms in OpenSSH, you need to choose 2 separate algorithms.

                                                                                      You must generate new host keys appropriate for the only algorithm based on ML-DSA that is currently offered by OpenSSH: ssh-mldsa44-ed25519.

                                                                                      In the client and server configuration files, you should specify the 2 quantum-resistant key-exchange algorithms currently available in OpenSSH, one based on NTRU Prime and one based on ML-KEM, in what order of preference you believe is right.

                                                                                      • mort96 16 hours ago
                                                                                        Well that's a bit concerning. There's a lot of guidance going out there telling people to change one option to select one algorithm.
                                                                                        • adrian_b 6 hours ago
                                                                                          What is strictly necessary is to generate new host keys, for ML-DSA.

                                                                                          If you use the default OpenSSH configuration files, I assume that both quantum-resistant key exchange algorithms are enabled, in some default order of preference, and they may be selected when the client and the server negotiate.

                                                                                          The recommendation to edit the configuration files is for those who do not use the default configurations. I am among those, I never use the default configuration files and I disable the majority of the cryptographic algorithms, which I consider deprecated, especially in the server configuration, where I typically enable only a single combination of algorithms, so that any client that does not use it is rejected.

                                                                                • int0x29 18 hours ago
                                                                                  Just tried to set up ssh-mldsa44-ed25519 and found that neither github nor forgejo supports it.
                                                                                  • QuantumNomad_ 18 hours 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.

                                                                                    • int0x29 17 hours ago
                                                                                      Well my host has it but the docker container its running in probably doesn't. I'll need to look
                                                                                    • kccqzy 11 hours ago
                                                                                      You can still use RSA. I believe I still have a decade-old RSA key that’s 4096 bits. It’s widely supported. In fact TFA says “go to ML-DSA, but if that’s not an option, go to RSA 3072.” It’s a fine stopgap until 2030.
                                                                                      • dearing 16 hours ago
                                                                                        My quick read up on it is that lib x/crypto supports what is needed but not the downstream x/crypto/ssh yet. This is used by forgejo to parse the pub for assignment.

                                                                                        open issue - https://codeberg.org/forgejo/forgejo/issues/14049 with linage inside.

                                                                                        • tosser811 13 hours ago
                                                                                          Azure DevOps only supports RSA. At this rate it'll be 100 years before they support anything post-quantum.

                                                                                          https://developercommunity.visualstudio.com/t/support-non-rs...

                                                                                          • jayar95 13 hours ago
                                                                                            Wow I somehow managed to forget azure devops existed until reading this. Thanks, I hate you. Also sending prayers
                                                                                        • juped 14 hours ago
                                                                                          I'm working on this at Merge Base (to contribute upstream to OTP ssh), Forgejo would probably accept it if someone contributes it to them (I would hope), Github is probably going to be really slow.
                                                                                        • galadran 18 hours 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.

                                                                                          • djha-skin 17 hours ago
                                                                                            Who is "everyone"? GitHub and Forgejo don't even support moving to hybrids, if the comments are to be believed. Same for Yubikey. We have lauded Bernstein's[1] work for years. During the Snowden days everyone said "yeah, ED25519, that's the stuff. Don't trust evil NSA and their P-384 nonsense." My general feeling has been "yeah, 384 is better, I guess, but everyone else seems to be fine with ed25519, so maybe I'm overreacting." Now we're being told that's the one thing that's broken. This truly is an apocalyptic revelation for many folks.

                                                                                            1: https://en.wikipedia.org/wiki/Daniel_J._Bernstein

                                                                                            • mort96 16 hours ago
                                                                                              I wish I knew this area better. But what I've seen people discuss is: the NSA has never recommended or really talked about ed25519, it's not uncommon that it's absent from NSA's guidance. So Filippo might be reading too much into the fact that it's absent from this advisory.

                                                                                              I wish I knew whether this is correct or not.

                                                                                              • bawolff 13 hours ago
                                                                                                >Who is "everyone"? GitHub and Forgejo don't even support moving to hybrids, if the comments are to be believed. Same for Yubikey

                                                                                                The people you mentioned are the "everyone"

                                                                                                • jonathanstrange 16 hours ago
                                                                                                  It sucks because there is essentially no secure alternative supported on Github.
                                                                                                • insanitybit 17 hours ago
                                                                                                  You should be moving to ML-KEM. The hybrid option is only an option if you find it easier.
                                                                                                  • tgsovlerkhgsel 17 hours ago
                                                                                                    That's what the NSA says. Some people might consider that a reason to do it, others might consider it a reason to absolutely not do it (and use hybrid instead).
                                                                                                    • tptacek 9 hours ago
                                                                                                      There's no "hybrid instead". Even NSA says use hybrids if that's what's going to get you onto PQC at this point. This hybrid thing is an entirely fake controversy. All mainstream PQC deployments are already hybrids.
                                                                                                      • cowlevel 5 hours ago
                                                                                                        It's not entirely fake, the NSA even sabotaged the TLS 1.3 standard to get a non-hybrid mode added.
                                                                                                        • tptacek 3 minutes ago
                                                                                                          That's not sabotage. The USG uses non-hybrid MLKEM internally. You don't.
                                                                                                      • insanitybit 17 hours ago
                                                                                                        I mean, it's also what cryptographers writ large say.
                                                                                                    • busterarm 18 hours 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.

                                                                                                      • dgellow 18 hours ago
                                                                                                        Is the switch to MLKEM768-X25519 complicated? Genuine question
                                                                                                        • mort96 17 hours ago
                                                                                                          Depends on context.

                                                                                                          In OpenSSH, if all your machines are up to date? It's a config change. Not difficult.

                                                                                                          In OpenSSH, if you have machines with older OpenSSH versions? Well how difficult is it to update OpenSSH on those machines?

                                                                                                          In TLS? Well, I use Let's Encrypt, and they don't support any post-quantum algorithms, hybrid or not. In any case, it seems like the path they're going towards is Merkle Tree Certificates according to https://letsencrypt.org/2026/06/03/pq-certs, which means they might not ever support MLKEM768-X25519, but that might not matter. In any case, it means that moving to any post-quantum cryptography on my HTTPS sites would mean finding another TLS cert provider...

                                                                                                          • kbolino 12 hours ago
                                                                                                            MLKEM768-X25519 is a key exchange algorithm. If you have TLS 1.3 enabled, and both server and client support it, then it can be used, regardless of the certificate.
                                                                                                          • d1sxeyes 16 hours ago
                                                                                                            From what?
                                                                                                          • g-b-r 18 hours 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?

                                                                                                            • mort96 17 hours ago
                                                                                                              Adding 2-4k of inbound traffic to every HTTPS handshake sounds potentially significant
                                                                                                              • shimman 11 hours ago
                                                                                                                With the amount of malware/adware that goes over HTTPS, sounds like a them problem.
                                                                                                              • SV_BubbleTime 18 hours ago
                                                                                                                Where is 2-4KB a big deal? BLE, Lora, serial interfaces to HSMs…
                                                                                                                • busterarm 18 hours ago
                                                                                                                  and SIP. Specifically STIR/SHAKEN. Imagine the volume spike in robocalls :D

                                                                                                                  Plus the packet fragmentation issues.

                                                                                                                  • breakwaterlabs 11 hours ago
                                                                                                                    I'm not sure it actually matters there.

                                                                                                                    Are we concerned that phone spammers are going to use quantum compute to crack private keys, so that they can spam call you some more?

                                                                                                                • busterarm 18 hours ago
                                                                                                                  There's lots of places where load balancer timeouts are extremely aggressive and you can't rely on long-lived connection pools. Start there and add thousands of microservices all talking to each other through the loadbalancers and you're gonna have a fun time.
                                                                                                          • djha-skin 17 hours ago
                                                                                                            David Hilbert thought the Riemann Hypothesis would fall before Fermat's Last Theorem and the Transcendence problem might never fall, thus getting the order of when they were solved backwards.

                                                                                                            I wonder if we'll find ourselves in a world where every algorithm has fallen except RSA. We really don't know which one will fall first or which ones will never fall.

                                                                                                            • zeroonetwothree 8 hours ago
                                                                                                              The only source I could find for this doesn’t say he predicted an order, just that he thought all three were exceptionally challenging
                                                                                                              • masfuerte 17 hours ago
                                                                                                                The Riemann Hypothesis did fall after Fermat's Last Theorem, didn't it?
                                                                                                                • djha-skin 17 hours ago
                                                                                                                  Yes, sorry, I meant to write "before", fixed.
                                                                                                              • Merrill 1 hour ago
                                                                                                                What algorithms are being recommended by other nation's Security Agencies and by non-state organizations, especially ones adversarial to the United States?
                                                                                                                • xphos 16 hours ago
                                                                                                                  Yeah I don't like the reasoning given here. Being PQC doesn't mean these are inherently more secure classically. We just know elliptical curves have a quantum weakness. But we do not know for certain if PQC or classical algorithms cannot be broken with some classical algorithm. AI existing doesn't change that fact unless it breaks those algorithms
                                                                                                                  • keito 17 hours ago
                                                                                                                    On macOS, even though the OpenSSH version is recent, the key exchange algorithm selection is overridden in an Apple-installed /etc/ssh/crypto.conf to favor ecdh-sha2-nistp256 over mlkem768x25519-sha256, which is the upstream OpenSSH default. (I believe the override also suppresses the non-post quantum warning described here: https://www.openssh.org/pq.html).

                                                                                                                    You can override it back in your ~/.ssh/config with

                                                                                                                      Host *
                                                                                                                        KexAlgorithms ^mlkem768x25519-sha256
                                                                                                                    • Dagonfly 16 hours ago
                                                                                                                      Are you sure? MacOS 27 shows for me:

                                                                                                                         > ssh -V
                                                                                                                         OpenSSH_10.3p1, LibreSSL 3.3.6
                                                                                                                      
                                                                                                                         > ssh -v git@github.com 2>&1 | grep -i "kex: algorithm"
                                                                                                                         debug1: kex: algorithm: mlkem768x25519-sha256
                                                                                                                      • zamadatix 15 hours ago
                                                                                                                        macoS 27.2.1 for me showed ecdh-sha2-nistp256 when connecting to my server without GP's line in the config and mlkem768x25519-sha256 after adding the config.

                                                                                                                        OpenSSH_10.5p1

                                                                                                                    • segmondy 17 hours ago
                                                                                                                      Nothing, it's expected. Imagine that current encryption will fall in 5 years due to AI. I would consider that immediate threat. Why? How would you feel if some decrypted all your data from 3 years ago going back? You don't want to wait until it's proven to start upgrading. Govt keeps secrets for a long time. Collected encrypted data that can't be decrypted today will become valuable intel in a few years. For the government this is urgent, but it is for individuals too.
                                                                                                                      • urba_ 16 hours ago
                                                                                                                        My biggest tell would be when people start draining Satoshi-era Bitcoins (seems to be around 1.7M BTC that shared their secp256k1 public key) and reused wallets (they also emit the public key)
                                                                                                                        • le-mark 11 hours ago
                                                                                                                          > My biggest tell would be when people start draining Satoshi-era Bitcoins

                                                                                                                          People always say this but it’s exactly the wrong strategy to maximize profit from the exploit. It would crash the price immediately. If you had this ability you’d likely be able to preimage the pow hash. You’d want to register a new pool and mine blocks infrequently to keep the hash rate stable. This could be going on now and no one would know.

                                                                                                                          • Y_Y 58 minutes ago
                                                                                                                            What if you just shorted Bitcoin first? Even if you had this advantage you couldn't assume it would last very long.
                                                                                                                          • jpdus 5 hours ago
                                                                                                                            not yet drained, but some Satoshi-era BTC is moving already:

                                                                                                                            https://x.com/Geiger_Capital/status/2128374878151770601?a=jj...

                                                                                                                            • Scottn1 16 hours ago
                                                                                                                              If that happens civilization is in big trouble. Apocalyptic trouble. Not just BTC but most of crypto would collapse as they suddenly become useless. World stock markets as well because at that point no encryption, thus your money, would be safe. Any server or any thing stored in the cloud could be owned. Previously secured messages decrypted.

                                                                                                                              Highly unlikely BTC crypto gets cracked even with quantum computing, but It’s a mess I don’t even want to think about.

                                                                                                                              • cesarb 15 hours ago
                                                                                                                                > World stock markets as well because at that point no encryption, thus your money, would be safe.

                                                                                                                                Why would money stored in banks be unsafe in that scenario? Unlike BTC or other cryptocurrencies, money in banks is just an entry in their centralized database; there's no magic signing key which would give full access to your account.

                                                                                                                                • za_creature 13 hours ago
                                                                                                                                  With banks transitioning to phone based apps, anyone on the same wifi will be able to grab your bank token and use it to send money to their accounts.

                                                                                                                                  Which will also be hacked by someone else and sent elsewhere until nobody even knows who owns what anymore.

                                                                                                                                  Sure you can revert but goods will have been delivered based on electronic payments before the news spreads.

                                                                                                                                  • Klonoar 27 minutes ago
                                                                                                                                    You write this as if the only thing a bank cares about is whether you supply a token.

                                                                                                                                    I hold decent money in several and getting any of them to move it is a pain in the ass. Banks are very careful about this stuff for a reason.

                                                                                                                                    • jcranmer 13 hours ago
                                                                                                                                      Cracking a bitcoin wallet or similar with $100 million sitting in it is something worth spending $100k or so to achieve, you've got a large potential payout. Cracking someone's bank account probably won't even net you the cost you spent cracking it, because people don't keep that much cash in their accounts.
                                                                                                                                      • za_creature 13 hours ago
                                                                                                                                        Cracking the bank's certificate allows you to mitm any bank client in close proximity.

                                                                                                                                        Pay the supposed 100k once, then shop around for the richest people you can be in a room with.

                                                                                                                                        • cowlevel 5 hours ago
                                                                                                                                          You still have to send their PIN number to the server which will lock you out after 3 attempts and make you call customer support
                                                                                                                                          • 0c3ca83 9 hours ago
                                                                                                                                            We already support PQ crypto in TLS. The bank's keys aren't static, and the tokens can be expired. Fraudulent transactions can be reversed.

                                                                                                                                            The impact is that people will need to log in to their bank again, maybe using a password or otp instead of a passkey.

                                                                                                                                            With blockchains, the whole chain needs to be rewritten, or bootstrapped off the data in the old chain, with new identitie iss bound to the old, broken identities somehow.

                                                                                                                                            For blockchain, this is catastrophic. For traditional banking, it's a rough month or two.

                                                                                                                                            • philipwhiuk 10 hours ago
                                                                                                                                              Sure and then they provide good evidence they didn’t do it, they look where the money went and you go to jail.

                                                                                                                                              Banks are ultimately protected by the law and walls, not crypto

                                                                                                                                              • TedDoesntTalk 9 hours ago
                                                                                                                                                Lookup ACATS theft. Applies to brokerages, though, not banks.
                                                                                                                                          • 0c3ca83 12 hours ago
                                                                                                                                            The tokens can be expired, and you get a new one over PQC TLS.
                                                                                                                                            • za_creature 12 hours ago
                                                                                                                                              Well of course, if you fix it then it's fixed. More news at 11.
                                                                                                                                              • 0c3ca83 11 hours ago
                                                                                                                                                It's a low impact fix: users see a log out/log in. You swap a token. Time sensitive, but not apocalyptic. And fraudulent transfers in that window can be reversed.

                                                                                                                                                Fixing blockchains means rewriting the whole thing. There's no practical option to do it.

                                                                                                                                                • za_creature 10 hours ago
                                                                                                                                                  We are entertaining a hypothetical where ECC is broken. This doesn't just mean that the ECDH exchange is insecure, it also means that the bank's TLS certificate can be impersonated. Hell, the root CAs can be impersonated as well. Fixing that is not as easy as swapping a token, you'd need to revoke a considerable chunk of previously valid trust anchors, presumably through client updates since... who exactly is signing off on the revocation of a root key?

                                                                                                                                                  In this scenario there's also no reason to believe that ECC is broken but other cryptography is safe. Most PQC has been rushed into service, it's not impossible that there are other landmines hidden in there.

                                                                                                                                                  • 0c3ca83 9 hours ago
                                                                                                                                                    We already have PQ certs. Rotate them. People on old devices will need to upgrade.
                                                                                                                                                    • za_creature 6 hours ago
                                                                                                                                                      You clearly made up your mind on this, there's little point in talking about it.

                                                                                                                                                      There is nothing stopping a blockchain from issuing new PQ wallets. People on old devices will need to update by transferring their wallets onto the new format. All funds not transferred before block number X are considered inaccessible.

                                                                                                                                                      As I said, if you fix it then it's fixed. If you don't it's a bad fucking day.

                                                                                                                                                      • 0c3ca83 1 hour ago
                                                                                                                                                        Make sure to tell satoshi.

                                                                                                                                                        And that's the difference.

                                                                                                                                            • pcthrowaway 13 hours ago
                                                                                                                                              > With banks transitioning to phone based apps, anyone on the same wifi will be able to grab your bank token and use it to send money to their account

                                                                                                                                              Maybe don't share a wifi network with someone operating (or who might have access to) a multi-million-dollar quantum computer and you're probably fine?

                                                                                                                                              I guess airports are still places of concern, but even then, the attacks have to be targeted (your session cookies are encrypted on each request with a TLS session's keys unique to your TLS session), and there is probably someone with more net worth at the airport than you.

                                                                                                                                              And if your bank is tying the session cookies to a fingerprint, they'd have to spoof your device characteristics as well (another science in and of itself)

                                                                                                                                              Probably any attempt to exfiltrate someone's banking session cookies would take longer than the session time to live

                                                                                                                                              I guess the concern is that if symmetric key encryption has also fallen, someone could decrypt your private communications and then determine your 2fa key? Again, seems like it would need to be a very expensive exploit that would need to be targeted for unique circumstances.

                                                                                                                                              • za_creature 13 hours ago
                                                                                                                                                I replied in a sibling comment:

                                                                                                                                                https://news.ycombinator.com/item?id=50739600

                                                                                                                                                • pcthrowaway 12 hours ago
                                                                                                                                                  I imagine the banks will be onto PQC before such an exploit is feasible. I do think blockchains are going to be the focus of very well-resourced attackers here, as updating them will be slow.

                                                                                                                                                  Come to think of it, the simplest way to MITM someone using their bank is probably still to mitm users on the same network with that leaked root cert

                                                                                                                                          • amluto 14 hours ago
                                                                                                                                            I think civilization would survive a complete failure of cryptocurrency.

                                                                                                                                            I think banks could cut off all non-post-quantum TLS, and everyone could invalidate all non-post-quantum passkeys, and banks could cut off password recovery via email providers who do not force non-broken authentication, and the finance world would survive, albeit with some hiccups.

                                                                                                                                          • int0x29 16 hours ago
                                                                                                                                            No one with the ability to break ECC intially will want to do anything that leaves an obvious trail (Especially because groups with the kind of power needed to do this typically have enough cash already and aren't intrested in upsetting the financial system). By the time those move things will already be pretty bad. (Though I suspect traditional banking based more on human trust than cryptography will probably fare better)
                                                                                                                                          • wk_end 18 hours 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?
                                                                                                                                            • adgjlsfhk1 17 hours ago
                                                                                                                                              Eliptic curves have had absolutely no algorithmic progress since introduction, but the likely answer is something like what happened with factoring. Current SOTA is 2^(n/2) security, but if a 2^(2n/log(n)) attack were found, then 256 bit would have ~90 bits of security while 384 would have 129.
                                                                                                                                              • nullc 17 hours ago
                                                                                                                                                > Eliptic curves have had absolutely no algorithmic progress since introduction

                                                                                                                                                More precisely curves over fields of small characteristic and over extension fields have been weakened to the point of insecurity. But so far curves over prime fields have had a quite stable security story.

                                                                                                                                                • benmmurphy 13 hours ago
                                                                                                                                                  and curves over fields where the size of the curve is the same as the size of the underlying field.
                                                                                                                                              • SSLy 18 hours ago
                                                                                                                                                Perhaps it's something like reduction of security, that is P-256 becomes 64b or smaller, while P-384 is an okay 128b?
                                                                                                                                              • nickysielicki 13 hours ago
                                                                                                                                                The best advice is just monitor what Anthropic and OpenAI are deploying publicly.

                                                                                                                                                What are they doing?

                                                                                                                                                • _kb 12 hours ago
                                                                                                                                                  Based on the recent model escapes from training environments, I’m not entirely certain looking to them for security guidance is sound.
                                                                                                                                                • chinathrow 16 hours ago
                                                                                                                                                  Wasnt there some suspicion that some EC curves were hand picked by the NSA and this is simply the outcome that their backdoor has been broken?
                                                                                                                                                  • mike_hearn 16 hours ago
                                                                                                                                                    Yes, there was, but that was resolved recently, ironically by AI. The concern was originally that nobody knew how the constants in the SECP256R1 standard and related standards had been generated. They were simply presented without any explanation in the original documents, and the constants were generated by the NSA. Now, there was no known theoretical weakness that could have caused problems. In theory, you can choose pretty much any number, but of course, the unexplained source did make some people uncomfortable, especially as the NSA is one of the top employers of mathematicians.

                                                                                                                                                    However, recently somebody used a frontier model to work out the source of the constants, which turned out to be an ordinary Unix random function seeded with a timestamp from around the time the constant was generated. So this is basically innocent, and the reason it was never explained is certainly that the guy who generated it, I believe his name was Jerry Salinas, would have just forgotten how he did it.

                                                                                                                                                    • vessenes 10 hours ago
                                                                                                                                                      Innocent, or mined for useful features. Lest you think I'm wearing a tinfoil hat, DES' S-boxes were optimized against differential cryptanalysis almost 20 years before differential analysis became widely known.
                                                                                                                                                    • gpm 16 hours ago
                                                                                                                                                      There was, but as it turns out Anthropic managed to reverse engineer how they were actually picked and it doesn't appear very suspicious: https://words.filippo.io/seeds-solved/
                                                                                                                                                    • xinayder 2 hours ago
                                                                                                                                                      Can someone explain to me how RSA-2048 or higher or even P-384 is safer than ECC?

                                                                                                                                                      I honestly don't get it, aren't those deprecated algos that are weaker since it's possible to factorize the prime factors p and q?

                                                                                                                                                      • hn_submit 1 hour ago
                                                                                                                                                        It's possible, just not within any reasonable time span. That's the whole point of cryptography...which you somehow missed.
                                                                                                                                                        • xinayder 1 hour ago
                                                                                                                                                          It's not that. We've had advisories and recommendations to move to ECDSA because they are harder to break than RSA, and now some people are saying we should move back to RSA because apparently the strongest EC algo we used, Ed25519/X25519 are not as stronger as the weak RSA algos?
                                                                                                                                                    • kriro 4 hours ago
                                                                                                                                                      This will be an interesting use-case and dataset regarding "market panics" looking at the crypto market and comparing it with how the news spreads and is picked up by mainstream media etc.
                                                                                                                                                      • aamargulies 15 hours ago
                                                                                                                                                        I'm fixing key exchange first. It is important to stop using P-256.

                                                                                                                                                        My macbook is running OpenSSH 10.5 which already supports hybrid mlkem268x25519-sha256 BUT Apple's stock /etc/ssh/crypto.conf puts ecdh-sha2-nistp256 ahead of it(!)

                                                                                                                                                        Putting the following stanze at the top of your ~/.ssh/config fixes this issue:

                                                                                                                                                        Host *

                                                                                                                                                            KexAlgorithms ^mlkem768x25519-sha256
                                                                                                                                                        
                                                                                                                                                            Ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr
                                                                                                                                                        • BretonForearm 3 hours ago
                                                                                                                                                          Is there an even more down to earth explanation for mortals? Like, do/don't buy this hardware token device for logging into your bank account.
                                                                                                                                                          • hn_submit 8 hours ago
                                                                                                                                                            To be honest I've never trusted elliptic curves much and this advisory has strengthened my belief that they're brittle.

                                                                                                                                                            I've always preferred to stay with RSA since it's based on the age-old problem of prime number factorization. Yes, methods to find them have improved, but not to the extent that the scheme has become vulnerable providing you use sufficiently long keys.

                                                                                                                                                            • xpct 4 hours ago
                                                                                                                                                              Why were you distrustful? Going on a hunch, or were you in the weeds of cryptography?
                                                                                                                                                            • NoPicklez 9 hours ago
                                                                                                                                                              I have been working with a number of large organisations around post quantum cryptography risk. This was already an area of risk being actively required to be managed here in Australia. Our NSA equivalent the ASD had already advised Government to transition away from traditional asymmetric cryptography to post-quantum cryptography by 2030.

                                                                                                                                                              What the NSA advisory helps is large vendors changing their cryptographic standards.

                                                                                                                                                              • o_nate 17 hours ago
                                                                                                                                                                > Again, this is a "get off 256-bit elliptic curve" advisory.

                                                                                                                                                                Isn't that what bitcoin uses to sign all transactions?

                                                                                                                                                                • oynqr 16 hours ago
                                                                                                                                                                  Time to buy the dip!
                                                                                                                                                                  • mike_hearn 16 hours ago
                                                                                                                                                                    It is, and their bizarre totalitarian ideology is now coming back to bite them. Because they refuse to increase the block size cap for what are basically non-technical reasons, they don't have a great way to deal with this problem.
                                                                                                                                                                    • lesspassiveobse 15 hours ago
                                                                                                                                                                      The block size is the least of the problems. The EC key is the ONLY thing that ties bitcoins to their owners. EVERYONE would have to send their bitcoin to a new-algo-address, before the weakness was published. Otherwise they could be stolen. And a large part of all bitcoins (most of them?) are stuck in addresses that people don't have keys to (satoshi, broken hard drives, burn addresses, etc.), so they WOULD get stolen and likely impact the price when being sold unless they enforced some deadline after which EC keys got rejected. (And that would leave people scrambling to get into the blockchain, making fees crazy)
                                                                                                                                                                      • nemo1618 13 hours ago
                                                                                                                                                                        Not exactly. It depends on how viable it is to break a key in practice.

                                                                                                                                                                        Bitcoin addresses are hashes; the actual public key is not published until the coins are sent in a transaction. When you broadcast a transaction, there is a window of time between "miners see your transaction" and "the transaction is included in a block". Most of the time, that window is about 10 minutes. So an attacker has 10 minutes to crack your private key, use it to sign a different transaction, and get that transaction to take priority over yours.

                                                                                                                                                                        This is why many people discourage reusing addresses. It's certainly more convenient, but it means you go from a 10 minute window to an arbitrarily-long window. Even a major attack on ECC might not weaken it enough for keys to be crackable in 10 minutes.

                                                                                                                                                                        (FWIW, I agree that this would be catastrophic regardless)

                                                                                                                                                                        • petcat 14 hours ago
                                                                                                                                                                          > so they WOULD get stolen and likely impact the price

                                                                                                                                                                          None of this matters because any part of BTC crypto that gets broken and allows coins to be "stolen" will immediately cause the whole thing to be worthless.

                                                                                                                                                                          There is no "likely impact the price" scenario: the price goes to 0 instantly and forever.

                                                                                                                                                                          • mike_hearn 6 hours ago
                                                                                                                                                                            The problem is that because they won't increase the block size the weight of people moving to and using post-quantum algorithms would push up fees and create so much congestion, that it would create an inevitable group of losers (assuming ECC actually does meaningfully weaken). Even people protecting their keys would need to rotate them, but it'd create an endless bidding war that some people must lose.

                                                                                                                                                                            All this is deeply unnecessary. The insistence on never raising the block size is entirely psychological, it's how Blockstream and their "allies" were able to hijack the Bitcoin community and destroy it, so they will never let it go even though it makes zero sense from an engineering perspective. It would be fitting if the transition to PQ cryptograhy ends up wrecking what very little is left of the system's usage.

                                                                                                                                                                      • blaind 18 hours ago
                                                                                                                                                                        So... if:

                                                                                                                                                                        - ed25519 signatures could be practically forged from public keys;

                                                                                                                                                                        - most modern Linux distros default to it when generating keys;

                                                                                                                                                                        - GitHub publishes all user keys in https://github.com/[username].keys

                                                                                                                                                                        the potential adversary would have RW-access to very many repos?

                                                                                                                                                                        • cowlevel 5 hours ago
                                                                                                                                                                          worse, people often just have one key and access the project server with the same key that accesses github
                                                                                                                                                                          • asveikau 9 hours ago
                                                                                                                                                                            Your last bullet point makes me think:

                                                                                                                                                                            Give github an SSH key that isn't used in any other service.

                                                                                                                                                                            • kzrdude 7 hours ago
                                                                                                                                                                              That just means, be ready for a day when github suddenly invalidates all configured ssh keys.
                                                                                                                                                                            • jdthedisciple 17 hours ago
                                                                                                                                                                              > 256-bit elliptic curves (P-256 and Curve25519/X25519/Ed25519) are likely broken or significantly weaker than we thought;

                                                                                                                                                                              Can we stop with this false rumor spreading? The NSA did NOT say any of the above.

                                                                                                                                                                              Edit: I can see somewhat how the OP (an expert) infers this, but this kind of statement is reminiscient of another author's recent "labs may be sitting on factoring in P"-claim which spread like wildfire and is nothing but pure rumor.

                                                                                                                                                                              • natebc 17 hours ago
                                                                                                                                                                                > They are explicitly calling out the P-256 elliptic curve (by exclusion), and Ed25519 (which is the only EdDSA in the NIST specifications). This implicates X25519/Curve25519/Ed25519 along with P-256.

                                                                                                                                                                                > They are not calling out RSA.

                                                                                                                                                                                it's qualified like that further down, even in bold. They don't ever claim that the NSA did say that. It's an analysis by a subject matter expert and frankly one that I trust to make a few inferences from the NSA posting.

                                                                                                                                                                                • baq 17 hours ago
                                                                                                                                                                                  He does say to read between the lines. Canary for those is dead.
                                                                                                                                                                                  • snowwrestler 15 hours ago
                                                                                                                                                                                    To treat it as a canary you need to compare to the last time it was seen alive. When did NSA last recommend those 256-bit curves? If it was last week, yeah that’s a big signal. If it was 10 years ago… hard to say the canary got killed today.

                                                                                                                                                                                    Important caveat is that Filippo might have eyes on canaries that most of us can’t see.

                                                                                                                                                                                    • markhahn 16 hours ago
                                                                                                                                                                                      why?

                                                                                                                                                                                      the NSA thing doesn't go there at all: not even in the pre-existing recommendations.

                                                                                                                                                                                      someone needs to connect why the edwards curve is at threat here. is the claim that all elliptic methods are broken? why not just say that?

                                                                                                                                                                                      • bigfatkitten 13 hours ago
                                                                                                                                                                                        Because the memo is specifically about National Security Systems (ie systems that handle classified US Government information).

                                                                                                                                                                                        Curve25519 and friends have never been approved for use on those systems in the first place, but they often end up enabled by default.

                                                                                                                                                                                  • contubernio 8 hours ago
                                                                                                                                                                                    Can someone knowledgeable answer: what are the implications for personal digital certificates emitted by EU governments for citizen use? Please suppose a realistic model of institutional competence.
                                                                                                                                                                                    • meindnoch 4 hours ago
                                                                                                                                                                                      Retroactively voided in most jurisdictions.
                                                                                                                                                                                    • raxxorraxor 5 hours ago
                                                                                                                                                                                      Goodbye my cute and short ssh keys :(

                                                                                                                                                                                      So RSA4096 is now the recommendations?

                                                                                                                                                                                      • meindnoch 4 hours ago
                                                                                                                                                                                        RSA16384 if you want to be future-proof.
                                                                                                                                                                                      • maratc 17 hours ago
                                                                                                                                                                                        It would be great if someone who understands this stuff could translate the news into clear instructions on what I should have in my .ssh/config for "Host: *".
                                                                                                                                                                                        • SSLy 17 hours ago

                                                                                                                                                                                              PubkeyAcceptedAlgorithms ^ssh-mldsa44-ed25519
                                                                                                                                                                                              HostKeyAlgorithms ^ssh-mldsa44-ed25519
                                                                                                                                                                                              KexAlgorithms ^mlkem768x25519-sha256 
                                                                                                                                                                                              #^sntrup761x25519-sha512 is probably ok too
                                                                                                                                                                                          
                                                                                                                                                                                          and be on 10.6+
                                                                                                                                                                                          • maratc 16 hours ago
                                                                                                                                                                                            Yeah, 8.7 is what I have on servers and 9.9 as a client.
                                                                                                                                                                                            • SSLy 16 hours ago
                                                                                                                                                                                              then ask your distro for backports, or have a clanker whip up one. I will.
                                                                                                                                                                                              • maratc 6 hours ago
                                                                                                                                                                                                Is there a practical combination for the meantime that would not be as bad as the default one (even if not as good as the desired one)?
                                                                                                                                                                                                • SSLy 5 hours ago
                                                                                                                                                                                                  If I'm reading the announcement correctly, it's to use RSA-4096 and SHA-512/256 where feasible.
                                                                                                                                                                                        • diamondDrill 4 hours ago
                                                                                                                                                                                          Extraordinary claims require extraordinary evidence.
                                                                                                                                                                                          • Overpower0416 8 hours ago
                                                                                                                                                                                            It might be related to the recent hacks on federal systems, including the NSA. They could have stolen backdoors to NIST elliptic curves. This is just my pure speculation based on the timing of things
                                                                                                                                                                                            • globular-toast 6 hours ago
                                                                                                                                                                                              It's funny if RSA-4096 is still ok for now. I remember generating my first ever RSA keypair over 20 years ago and opted for 4096 because it was "most secure". I observed that my pubkey was huge compared to most people and eventually used shorter ones (default settings usually) and then moved to ed25519 which I thought had amazingly short keys. Funny how things turn out sometimes.
                                                                                                                                                                                              • dgellow 18 hours ago
                                                                                                                                                                                                Thanks Filippo, and all the best to anyone dealing with this situation. Doesn’t sound fun
                                                                                                                                                                                                • rao-v 14 hours ago
                                                                                                                                                                                                  So this is a bit odd to me (outsider, no expert). NIST accepted ed25519 in 2022, NSA has never considered it for it’s shortlist (some wierd internal consistency with their past preferences thing, unlikely to be secret info).

                                                                                                                                                                                                  Their focus on don’t use ed25519 seems mostly about “hey we never approved it as our standard” not some new signal that it’s newly vulnerable (the risk appears to be unchanged, a full Shor capable QC).

                                                                                                                                                                                                  Can someone clarify this for me? What am I missing? Where is the info signal that ed25519 is more vulnerable now than ~one month ago?

                                                                                                                                                                                                  It’s also kind of comical that we do not actually have a “safe” (ie both resistant to Anthropic’s new attack and quantum resistant) authentication protocol (ie way to make SSH keys) that is actually implemented in mainline OpenSSH.

                                                                                                                                                                                                  • computerfriend 4 hours ago
                                                                                                                                                                                                    Ed25519 has a security level of 128 bits. The advisory suggests that NSA now considers this too low.
                                                                                                                                                                                                  • voidUpdate 3 hours ago
                                                                                                                                                                                                    Isn't one of the NSAs jobs to read encrypted transmissions? Doesn't it make their job harder if we all use better encryption?
                                                                                                                                                                                                    • polytely 1 hour ago
                                                                                                                                                                                                      Yeah I think we should listen to their warnings but not follow their advice for how to solve it.
                                                                                                                                                                                                    • rustyhancock 18 hours ago
                                                                                                                                                                                                      Does this suggest secp256k1 is at risk?

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

                                                                                                                                                                                                    • m000 16 hours ago
                                                                                                                                                                                                      <tinfoil_hat>

                                                                                                                                                                                                      Genuine question: Is NSA immune to influence from the current administration? Because every other 3-letter agency appears to be bending to the administration's will, one way or another.

                                                                                                                                                                                                      NSA surely has more street cred than any other agency with the open source tools they have released, but still...

                                                                                                                                                                                                      </tinfoil_hat>

                                                                                                                                                                                                      • DebtDeflation 13 hours ago
                                                                                                                                                                                                        My first thought on seeing the announcement was that Trump and his cronies loaded up on QC and AI stocks immediately before ordering the NSA to make the announcement.
                                                                                                                                                                                                        • kps 15 hours ago
                                                                                                                                                                                                          > Is NSA immune to influence from the current administration?

                                                                                                                                                                                                          They're the NSA. They've got the dirt on everyone.

                                                                                                                                                                                                          • BLKNSLVR 16 hours ago
                                                                                                                                                                                                            They used the acronym SI, therefore they have bent the knee.
                                                                                                                                                                                                            • bigstrat2003 8 hours ago
                                                                                                                                                                                                              There's no "bending the knee" involved in doing the thing your boss has directed that you must do. He's your boss; unless you're being directed to do something unethical or illegal it's completely reasonable to comply.
                                                                                                                                                                                                              • cowlevel 5 hours ago
                                                                                                                                                                                                                You are describing bending the knee.
                                                                                                                                                                                                              • mort96 16 hours ago
                                                                                                                                                                                                                Yes, although that's uninteresting. You'd expect them to comply with executive orders which dictate which words should be used in official communication. In the best case, this advisory and press release from the NSA is from people whose mission is to ensure that communication is secure while not caring about what irrelevant political hoops they have to jump through to get there.

                                                                                                                                                                                                                The interesting question is whether the job of this press release is to pump Anthropic's stock.

                                                                                                                                                                                                            • ComputerGuru 17 hours ago
                                                                                                                                                                                                              Have I been vindicated for never joining the “burn your RSA keys and switch to ed25519” brigade?

                                                                                                                                                                                                              The problem is that my rationale for sticking with RSA (it’s a simple math equation we understand very well) doesn’t extend to any of the PQ alternatives. Funny NSA seems to (maybe) similarly feel about RSA as I do.

                                                                                                                                                                                                              • dwaite 5 hours ago
                                                                                                                                                                                                                Basically RSA is PQ-unsafe, but the key size can be increased to pace above where the size of the post quantum computer is practical.

                                                                                                                                                                                                                ECC size increases require migrating to a new curve aka new software/hardware. Rather than do that, the push is to move to a post quantum algorithm.

                                                                                                                                                                                                                • insanitybit 11 hours ago
                                                                                                                                                                                                                  RSA migration is still heavily encouraged, with 2048 being deprecated in 2031.
                                                                                                                                                                                                                • commandersaki 14 hours ago
                                                                                                                                                                                                                  I don't think NSA has any original view here, probably just regurgitating the concerns that Google said earlier in the year of getting off QC by 2030.

                                                                                                                                                                                                                  I am completely unconvinced that by 2030 we'll have anything near a CRQC.

                                                                                                                                                                                                                  • lousken 4 hours ago
                                                                                                                                                                                                                    Hey Azure, can you wake up? NSA is calling
                                                                                                                                                                                                                    • neuroelectron 3 hours ago
                                                                                                                                                                                                                      You know that encryption we backdoored? AI probably figured our backdoor out by now.
                                                                                                                                                                                                                      • apaprocki 15 hours ago
                                                                                                                                                                                                                        Their unusually urgent wording suggests they're spooked about RSA and/or ECC plausibly falling sooner than expected and simultaneously requiring ... let's just say, non-galactic resources.

                                                                                                                                                                                                                        If the method to crack key exchange appears in 2030, but it takes 6 months of contemporaneous compute to crack, they have to decide whether they get more bang for their buck out of cracking a single pre-PFS static RSA key and getting more, older traffic, or cracking a recent, but possibly important ephemeral exchange for a single flow.

                                                                                                                                                                                                                        Then, imagine the same scenario except it takes seconds to recover keys and decrypt. Everything pre-PQC is now at risk. Game out whether exposure of 100% of your traffic 5 years ago, but only 1% of data 6 months ago could cause you harm. A weekly rotated secret is useless months later, but that e-mail requesting a $25 million donation to your construction project in exchange for your approval to sell product to China might come back to bite you. However, this is only limited to the recorded data if everyone manages to adopt PQC for authentication by 2030. Tick tock...

                                                                                                                                                                                                                        Now, imagine the worst-case scenario. The method appears June 1st, 2027 and it requires seconds either on existing compute farms or modest quantum hardware. "The 2025 State of Post-Quantum Cryptography (PQC) on the Web"[1] said 8.6% of the top 1M sites support PQC, and only 3% of banking sites. On December 1st, 2026, Cloudflare reported roughly 73% of human web traffic reaching them uses hybrid PQC key exchange.[2] However, PQC adoption for authentication is near zero. Authentication would collapse as adversaries forge certificates and MITM traffic. We get SETEC ASTRONOMY, except Cosmo won (and he might know what you did last summer, too).

                                                                                                                                                                                                                        So, this does not mean the NSA knows Anthropic broke RSA, or OpenAI is preparing to drain all your Bitcoin wallets, or whatever other nonsense. The NSA is literally doing their job, advising to adopt PQC now so that when nation-states or hackers attempt to wreak havoc, the blast radius is as small as possible.

                                                                                                                                                                                                                        [1]: https://www.f5.com/labs/articles/the-state-of-pqc-on-the-web

                                                                                                                                                                                                                        [2]: https://blog.cloudflare.com/pq-is-still-safe

                                                                                                                                                                                                                        • dwaite 5 hours ago
                                                                                                                                                                                                                          Yes I agree with your interpretation.

                                                                                                                                                                                                                          I didn't see anything that looks different than their current PQ guidance other than timelines. More likely they are seeing feasible higher qubit computers faster on the roadmap than previously anticipated, and optimizations of algorithms to require significantly fewer qubits.

                                                                                                                                                                                                                          Each advance moves the timeline forward, and now its been moved far enough forward that we have missed a checkpoint.

                                                                                                                                                                                                                        • karel-3d 5 hours ago
                                                                                                                                                                                                                          > update OpenSSH to 10.6 and rotate to ssh-mldsa44-ed25519 keys

                                                                                                                                                                                                                          Just note: Debian Trixie OpenSSH is based on 10.0p1 which does not seem to have support for this.

                                                                                                                                                                                                                          • upofadown 15 hours ago
                                                                                                                                                                                                                            So the NSA is throwing out broad hints with the hope that they will lead to unsubstantiated rumours? That's what is supposed to be happening here?

                                                                                                                                                                                                                            How would that help anything?

                                                                                                                                                                                                                            • autoexec 15 hours ago
                                                                                                                                                                                                                              > So the NSA is throwing out broad hints with the hope that they will lead to unsubstantiated rumours? That's what is supposed to be happening here? How would that help anything?

                                                                                                                                                                                                                              They get to reiterate the same advice they've been giving for many many years anyway, advice which many companies have been dragging their feet acting on but which would help to better secure the US population and interests against future tech advances. All while at the same time helping to stoke speculation on how powerful our AI capability is. The same AI that is carrying our entire economy right now, and which the US government is invested heavily in, and which many high level politicians and their friends have a personal stake in.

                                                                                                                                                                                                                              Promoting AI, and better security practices would seem like something they might be very happy to do.

                                                                                                                                                                                                                              I'm not even saying that's what is actually happening here, but it's crazy to think that there would be no incentives for doing it.

                                                                                                                                                                                                                            • MiroslavPokorny 12 hours ago
                                                                                                                                                                                                                              The NSA is no different from any other US government body, they understand they have their positions because Trump says so. We all know that Trump is heavily invested in AI and given the last month and AI falls, they need another hype to reverse this change. This statement is of course unsubstantiated, its simply words on a paper, trying to change perception and help Big Tech.
                                                                                                                                                                                                                              • Madmallard 6 hours ago
                                                                                                                                                                                                                                What my friend who works in security says is that he thinks quantum tech probably will just scale up in the future but they can harvest all the data now and crack it later so it's already bad.
                                                                                                                                                                                                                                • bozango 3 hours ago
                                                                                                                                                                                                                                  As a conspiracy theorist I'm calling it another move to keep the AI bubble from popping. The more we talk about it the less it is likely to happen.
                                                                                                                                                                                                                                  • jmclnx 18 hours 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 18 hours 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 18 hours 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.

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

                                                                                                                                                                                                                                          25518’s best selling point!

                                                                                                                                                                                                                                          • marcosdumay 17 hours ago
                                                                                                                                                                                                                                            It was created in response to the NSA not improving their curves so people implement them right and trying to standardize a PRNG with a backdoor.

                                                                                                                                                                                                                                            If they have an attack, they can go and say so. (Better if they prove by breaking some key, but it may not be viable yet.) But abandoning the algorithm because they ignored it on a document is too much.

                                                                                                                                                                                                                                            Anyway, it's good that everybody's response seems to be "ok... I'll use 25519 with something else then".

                                                                                                                                                                                                                                            • the_mitsuhiko 16 hours ago
                                                                                                                                                                                                                                              > It was created in response to the NSA not improving their curves so people implement them right and trying to standardize a PRNG with a backdoor.

                                                                                                                                                                                                                                              It came because they were afraid that NSA backdoored the curves. We now know that that was not the case.

                                                                                                                                                                                                                                        • cwillu 18 hours 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.
                                                                                                                                                                                                                                        • nullc 17 hours ago
                                                                                                                                                                                                                                          Reasoning out that 256-bit ECC is broken from it's omission is seems spurious to me given that P384 has been their strong non-PQ mandatate for many years now.

                                                                                                                                                                                                                                          But for discussion, lets go with it--

                                                                                                                                                                                                                                          > The NSA wants you to move to PQC in such a rush that it’s saying explicitly, against all its previous recommendations, that you can use the X25519MLKEM768 hybrid key exchange since it’s the most widely available solution. (I think this is commendable policy, it lends credence to their previous anti-hybrid position being a simplicity expedient, and should probably lead to some retrospective about a lot of FUD from certain parties

                                                                                                                                                                                                                                          How's that follow? NSA has stridently worked against hybrids ... and now that __per-the author's conclusions__ the 256 bit ECC schemes are broken, they're suddenly OKAY with it and somehow this means they weren't previously opposing hybrids in order to make systems easier to attack?

                                                                                                                                                                                                                                          Seems to me that the logic would go the other way: if they became okay with it only once it was broken it suggests that their opposition was to avoid the inclusion of a strong component.

                                                                                                                                                                                                                                          But I don't buy the premise that this communication necessarily tells us anything about the security of any cryptosystem.

                                                                                                                                                                                                                                          I think it's also a missed opportunity to advocate for diverse hybrids-- in plenty of cryptosystems there is essentially no material performance consideration. I don't care if my rekeyed-once-a-day VPN tunnel to home spends 1 second of cpu time.

                                                                                                                                                                                                                                          For that it would be just fine to use E-521 + RSA-8192-KEM + FrodoKEM-1344 + mceliece8192128 + preshared. -- the bandwidth and compute costs are irrelevant for such an application but it would be very good to not have to go rush out to upgrade things when there is some mathematical advance against a particular hard problem.

                                                                                                                                                                                                                                          • jennebde 5 hours ago
                                                                                                                                                                                                                                            Thank you for writing this Greg, I agree with your position. Omission does not confer vulnerability. Let’s be sensible in an environment where the adversary has an great incentive for you to make the wrong move.

                                                                                                                                                                                                                                            I am highly alarmed by the establishments’ disregard for hybrids.

                                                                                                                                                                                                                                          • davidw 10 hours ago
                                                                                                                                                                                                                                            Crepi il lupo!
                                                                                                                                                                                                                                            • bluegatty 18 hours ago
                                                                                                                                                                                                                                              take it at face value
                                                                                                                                                                                                                                              • karel-3d 18 hours ago
                                                                                                                                                                                                                                                Will Wireguard ever move to pq crypto?

                                                                                                                                                                                                                                                The current solution is just shrugging shoulders.

                                                                                                                                                                                                                                                I guess crypto agility was not such a bad idea after all?

                                                                                                                                                                                                                                                • forsalebypwner 16 hours ago
                                                                                                                                                                                                                                                  You're in luck, this post is actually right next to Filippo's post on the front page: https://lists.zx2c4.com/pipermail/wireguard/2026-December/00...
                                                                                                                                                                                                                                                  • karel-3d 9 hours ago
                                                                                                                                                                                                                                                    amazing! was not when I wrote it
                                                                                                                                                                                                                                                  • whatevaa 6 hours ago
                                                                                                                                                                                                                                                    There will be wireguard v2. The plan was always to have new protocol instead of negotiations. Such protocols always have the strenght of the weakest enabled protocol and adds new atack vectors.
                                                                                                                                                                                                                                                    • marisen 17 hours ago
                                                                                                                                                                                                                                                      You can add a symmetric key to wireguard configs for PQC, used in addition to ECC.
                                                                                                                                                                                                                                                      • karel-3d 6 hours ago
                                                                                                                                                                                                                                                        yeah but you need to share things out of band in an undetermined way. or run some scripts from github.

                                                                                                                                                                                                                                                        but anyway it seems they are moving into PQ now

                                                                                                                                                                                                                                                    • baggy_trough 17 hours ago
                                                                                                                                                                                                                                                      Wonderful, now we're supposed to move to algorithms that release Debian doesn't have.
                                                                                                                                                                                                                                                      • lazyweb 17 hours ago
                                                                                                                                                                                                                                                        Well openssh 10.6 is currently in testing and might make its way into stable-backports soon.
                                                                                                                                                                                                                                                    • threethirtytwo 11 hours ago
                                                                                                                                                                                                                                                      Wait what math discovery made these encryption algorithms weaker than we thought?
                                                                                                                                                                                                                                                    • yinyang1021 1 hour ago
                                                                                                                                                                                                                                                      [dead]
                                                                                                                                                                                                                                                      • mikece 19 hours 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?
                                                                                                                                                                                                                                                        • owenmarshall 18 hours ago
                                                                                                                                                                                                                                                          I doubt we'll see the evidence you are seeking for a while.

                                                                                                                                                                                                                                                          The NSA release from today said they were approached by a frontier lab for responsible disclosure - the only way to responsibly disclose something as massive as a break/fatal wounding of ECC is for everyone involved to say nothing beyond "you need to move to PQE immediately."

                                                                                                                                                                                                                                                          • aphysically 18 hours 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 18 hours 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.
                                                                                                                                                                                                                                                              • kzrdude 17 hours ago
                                                                                                                                                                                                                                                                Then the whole message is a lot less alarming, P-256 is not omitted because it was broken now, but because it already was off the recommended list.
                                                                                                                                                                                                                                                            • free_bip 18 hours 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 18 hours 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).

                                                                                                                                                                                                                                                                • perrygeo 17 hours ago
                                                                                                                                                                                                                                                                  The advisory says nothing specifically about any new threats. So technically, yeah this is just the NSA telling people to do what they've been telling them for 10 years.

                                                                                                                                                                                                                                                                  But the timing, the "Immediate" tone, and explicit omission of 256 bit ECC is a strong signal that something is up.

                                                                                                                                                                                                                                                                  Even if there were evidence, do you expect the NSA to just blurt it out? That is going to stay secret as long as possible, while their "Immediate Advisories" get more and more immediate.

                                                                                                                                                                                                                                                                  • aphysically 15 hours ago
                                                                                                                                                                                                                                                                    I think maybe the best thing to do is to watch what other people do that are likely to have received disclosures or side channel pressure to move. Do all the 256-bit ECC stakeholders suddenly make movements? That might be the more convincing signal for me.
                                                                                                                                                                                                                                                                    • bigfatkitten 12 hours ago
                                                                                                                                                                                                                                                                      They stopped recommending 256 bit ECC a decade ago.

                                                                                                                                                                                                                                                                      I read this more as a well-timed hurry-up for vendors in particular, because right now the 2035 deadline is impossible to meet even on new, greenfields systems.

                                                                                                                                                                                                                                                                • ravivarmat 8 hours ago
                                                                                                                                                                                                                                                                  [dead]
                                                                                                                                                                                                                                                                  • 2883 17 hours ago
                                                                                                                                                                                                                                                                    [dead]
                                                                                                                                                                                                                                                                    • mangod12 18 hours ago
                                                                                                                                                                                                                                                                      [dead]
                                                                                                                                                                                                                                                                      • rramadass 5 hours ago
                                                                                                                                                                                                                                                                        [dead]
                                                                                                                                                                                                                                                                        • ath3nd 16 hours ago
                                                                                                                                                                                                                                                                          [dead]
                                                                                                                                                                                                                                                                          • fbkugfkkk 10 hours ago
                                                                                                                                                                                                                                                                            The NSA's goal is to weaken the cryptosystems used by everyone else. Who is listening to their advice with nothing to back it up but fear?
                                                                                                                                                                                                                                                                            • treetalker 17 hours ago
                                                                                                                                                                                                                                                                              > The good closer of doors does so without bolt or lock, and yet the door cannot be opened; > The good tier of knots ties without rope or cord, yet his knots can't be undone.

                                                                                                                                                                                                                                                                              Tao Teh Ching ch. 27

                                                                                                                                                                                                                                                                              • bongoman42 16 hours ago
                                                                                                                                                                                                                                                                                This is like the rumblings being heard in November/December before full blown COVID got underway. I suspect RSA is done.
                                                                                                                                                                                                                                                                                • mort96 16 hours ago
                                                                                                                                                                                                                                                                                  What then would be the reason for why the NSA talks about moving to RSA in their advisory?
                                                                                                                                                                                                                                                                                  • what 15 hours ago
                                                                                                                                                                                                                                                                                    They don’t though? They say if you can’t upgrade to pqc, you can use rsa 3072 for the time being. They also say you can use p386 in such situations.
                                                                                                                                                                                                                                                                                • verysmart 18 hours ago
                                                                                                                                                                                                                                                                                  [dead]
                                                                                                                                                                                                                                                                                  • clownworld1984 17 hours ago
                                                                                                                                                                                                                                                                                    [flagged]