<- Back
Comments (119)
- adrian_b> 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.
- leishmanIt'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...
- ramblurrBut 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 keysTLS -> 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 hybridSeems 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?
- quaz4rMy 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
- BoppreHIsn't the list of algorithms just a reiteration of their recommendations since 2016 [1]? The allowance for hybrid is new, but they've been consistent in recommending RSA-3k and avoiding 256-bit curves for a decade now.It's a clever reading, but there doesn't seem to be any new lines to read between.[1] "CNSSP 15" from https://www.cnss.gov/CNSS/issuances/Policies.cfm
- chinathrowWasnt 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?
- ok_dadWhat’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.
- int0x29Just tried to set up ssh-mldsa44-ed25519 and found that neither github nor forgejo supports it.
- galadranThe 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.
- bongoman42This is like the rumblings being heard in November/December before full blown COVID got underway. I suspect RSA is done.
- urba_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)
- keitoOn 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
- wk_endSo, 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?
- treetalker> 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
- segmondyNothing, 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.
- o_nate> Again, this is a "get off 256-bit elliptic curve" advisory.Isn't that what bitcoin uses to sign all transactions?
- djha-skinDavid 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.
- maratcIt 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: *".
- rustyhancockDoes this suggest secp256k1 is at risk?Or do we just wait to see if the Satoshi wallets vanish into NSA coffers?
- m000<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>
- ComputerGuruHave 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.
- karel-3dWill 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?
- jdthedisciple> 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.
- blaindSo... 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].keysthe potential adversary would have RW-access to very many repos?
- dgellowThanks Filippo, and all the best to anyone dealing with this situation. Doesn’t sound fun
- anonundefined
- baggy_troughWonderful, now we're supposed to move to algorithms that release Debian doesn't have.
- bluegattytake it at face value
- jmclnx>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.
- anonundefined
- nullcReasoning 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 partiesHow'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.
- mikeceThis 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?
- mangod12[dead]
- 2883[dead]
- clownworld1984slop content. just yapping. no substance