• 5HO1T3_HUCK3R@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    6 hours ago

    Bruce Schneier says the post quantum encryption methods are new and mostly untested. Is this all a huge mistake?

    • b3nsn0w@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      4 hours ago

      not really, because post-quantum crypto is never deployed by itself, it’s always combined with a strong classical primitive like x25519 (which is a 256-bit elliptic curve with no random constants because no one trusts those post-snowden). for an attacker to succeed, they’d have to break both the post-quantum part, and the classical part, which is only possible if the post-quantum part is flawed in a way we don’t know yet, and the classical part is vulnerable to a quantum attack.

      i’d take the nsa’s warning as a signal for the expected progress in quantum computing, not as an ai thing. i know ai gets all the headlines, but it is extremely unlikely that it can just blanket break any classical crypto. on the other hand, the nsa might know some things about classified quantum computing developments, especially by non-us actors, and wish to harden its interest group against that.

      imo the right way to play this would be:

      • get off rsa and other prime number algos. you should have done this a decade ago, tbh, rsa had already been significantly weakened, but it’s especially risky in the post-riemann world where our understanding of prime numbers is once again increasing significantly.
      • when adopting ecc, watch who you get your algo from, the nsa has already demonstrated they can include algorithmic backdoors with dual_ec_drbg. x25519/ed25519 are safe bets because there’s proof of zero knowledge to that, the constants are easily derived mathematically so we know they do not correspond to a hidden master key, and the particular choice of constants even speeds up the algorithms.
      • add a post-quantum algorithm on top of the classical one, to guard against quantum computers. mlkem seems to be the winner so far, to my knowledge it’s been around the longest without being broken. that matters, because sometimes what we thought was safe turns out not to actually be safe. for example, supersingular isogenies looked like a surefire bet a while ago, but they’ve been broken since.

      x25519mlkem768 is already out there, it’s the perfect combination of a trustworthy ecc scheme with a post-quantum algorithm on top. for some reason mozilla is insisting on p-384 instead for the classical part, which is a larger curve that will need a larger quantum computer to break, but it’s a nist curve, so if you don’t trust the nsa maybe find a different one.