Mathematician warns NSA may be weakening next-gen encryption::Quantum computers may soon be able to crack encryption methods in use today, so plans are already under way to replace them with new, secure algorithms. Now it seems the US National Security Agency may be undermining that process

  • redcalcium@lemmy.institute
    link
    fedilink
    English
    arrow-up
    115
    ·
    edit-2
    1 year ago

    Daniel Bernstein (djb) is a well known and respected cryptography researcher so his claim carries a lot of weight. It’s also worth noting that NIST didn’t invent these post quantum encryption algorithm. Instead, they run a competition and select a winner. Djb’s algorithm got a second place, so people were wondering if he’s just being salty about it, though if NIST were really compromised, it’s not hard to imagine they’ll select a weaker algorithm as the winner instead. NIST has posted a response which might be worth a read.

    Edit: added links to djb’s original post

    • Shadow@lemmy.ca
      link
      fedilink
      English
      arrow-up
      13
      ·
      edit-2
      1 year ago

      I wish I could understand that math in that thread.

      I have great respect for djb, but he was an ass here.

      • fmstrat@lemmy.nowsci.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        The second link has replies that even say the OPs link contains conspiracy theory. The discussion there is better than all else, IMO.

        Note: not denying Dan’s claim as I’m not an expert here, just reiterating what I’m reading.

        • atzanteol@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 year ago

          Yeah - at the very list it shows that this is more “reasonable people disagreeing about a detail” than it is “OMG THE NSA IS DESTROYING CRYPTO!”

          • fmstrat@lemmy.nowsci.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            I mean, DJB does mention NSA has more involvement over NIST than he expected, but that also doesn’t mean their would be collaboration.

            In my non-expert reading, NIST made it seem better than it was, DJB disagreed but overestimated how bad it was, and NIST “sort of” said “yea OK we may have bragged.”

            Either way, DJB is right to call out something being weaker than it should be. False confidence in encryption is about the worse thing that could happen in the digital age.

            • atzanteol@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 year ago

              Yeah - DJB definitely has a point to make and deserves to be listened to. But “Mathematician has questions about crypto complexity guidelines from NIST” isn’t click-baity enough.

  • Molecular0079@lemmy.world
    link
    fedilink
    English
    arrow-up
    40
    ·
    1 year ago

    If this is true, NSA might be shooting themselves in the foot when they inevitably have to deal with Russia and China.

    • surewhynotlem@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      3
      ·
      1 year ago

      Just a guess, but I think they’re less concerned about the giant country’s surveillance of us, and more concerned about not being able to surveil the little terrorist cells.

    • Zeth0s@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 year ago

      They probably consider that they overall lose more with strong cryptography, than the risk of other countries intercepting US communications. They must have other solutions in place to protect confident information. But they likely struggle with encryption being so widely used by anyone. Even granmas can now cover their communications without much effort

  • waitmarks@lemmy.world
    link
    fedilink
    English
    arrow-up
    34
    ·
    edit-2
    1 year ago

    From what it sounds like, he’s not saying the algorithm is compromised itself, but rather that NIST is recommending a weaker version of it as sufficiently safe at (possibly) the request of the NSA. If that is the case we would know for sure pretty quickly once DISA updates their STIGs for internal use to include quantum resistant encryption. If the STIGs say to use a stronger version than NIST recommends then he was right.

  • Treczoks@lemmy.world
    link
    fedilink
    English
    arrow-up
    35
    arrow-down
    4
    ·
    1 year ago

    And who is surprised by this? This is basically the NSA doing their job, nothing else.

    • Kodemystic@lemmy.kodemystic.dev
      link
      fedilink
      English
      arrow-up
      22
      ·
      1 year ago

      We’re not surprised but we do need to mention this, discuss this, people need to be aware. You won’t see much of this in mainstream media except: “And here’s why the end of encryption might be a good thing…”.

    • frezik@midwest.social
      link
      fedilink
      English
      arrow-up
      14
      ·
      1 year ago

      Sort of. They’ve worked in mysterious ways over the years. They fucked with DES back in the day (specifically, the S-Boxes, which are big tables of data used during calculations), but evidence since then suggests that they actually improved it. However, they also seem to be responsible for keeping the key length short, which meant it was inevitable that computers would eventually be fast enough to break it (which it was by the mid to late 90s).

      The NSA has a dual job. They want to break encryption, but they also need to protect US secrets. Since industrial espionage is a thing, that extends to protecting the secrets of private sector companies. So they sometimes want to improve encryption, and sometimes want to put in backdoors. If you call up someone in the NSA, there’s no guarantee the person your talking to will be on your side or not.

      Fortunately, cryptography in the public space has advanced substantially since DES was invented.

      • Treczoks@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        They fucked with DES back in the day

        Yep. I remember. IBM thought they had something new and BIG, and then came the NSA and just substituted some S-Boxes without comment. And boom, the key space got smaller.

        The NSA has a dual job. They want to break encryption, but they also need to protect US secrets.

        For them it is sufficient when they can happily read along.

    • Ultraviolet@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

      Doesn’t the existence of key collision help? If you throw a quantum brute force algorithm at a ciphertext, wouldn’t you get a long list of keys, all of which authenticate and appear to work, but for all but one of those keys, what it decrypts to is garbage?

      Authentication itself is fucked, but encryption is only heavily weakened rather than completely destroyed.

      • RubberElectrons@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        Yeah but that’s precisely the problem. Cut the list down to say a million choices vs quadrillions, and have a regular lower power server work through that much smaller list.

        Don’t forget, this is gen 1 of the quantum systems as well… Who knows what the future holds. Better to make the lock strong now.

  • Flying Squid@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    25
    ·
    edit-2
    1 year ago

    There is no such thing as unbreakable encryption. If you want to hide a message, hide it at the source with the way you phrase things. I still have to buy weed illegally, and I use Signal, but I don’t tell the person I buy it from, “hey, I want a half-ounce of weed and I’ll pick it up on Friday at 2 pm,” I say something like, “hey, are you free this weekend?” And then they’ll say something like, “yeah, do you want to get your usual thing?” and then we’ll arrange a time.

    And yes, I see the irony about talking about buying weed illegally when someone could potentially find out who I am on Lemmy.

    • SkyeStarfall@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      32
      arrow-down
      2
      ·
      1 year ago

      …there very much is practically unbreakable encryption. We use those every day (it’s part of the s in https).

      And your example is just a very rudimentary form of encryption that is far far weaker than the typical encryption methods used on the internet today.

        • SkyeStarfall@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          17
          ·
          1 year ago

          I think you vastly underestimate modern encryption. I would recommend looking up concepts and math from encryption, it makes more sense for why thinking that practically unbreakable encryption is very much possible once you do.

          It’s why governments want to implement back-doors, because they are not actually capable of breaking it more directly.

            • SkyeStarfall@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              17
              ·
              1 year ago

              …it’s literally about accusing NSA of trying to implement back-doors for quantum resistant encryption.

              I have no idea what you’re trying to get at.

              • Flying Squid@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                7
                ·
                edit-2
                1 year ago

                NIST is giving incorrect information. That will not enable back doors. And it is only a matter of time before that doesn’t matter. I have no idea why you think there is such a thing as an unbreakable code that is not a one-time use code.

                Edit: ACCUSED of giving incorrect information.

                • FooBarrington@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  14
                  ·
                  1 year ago

                  I have no idea why you think there is such a thing as an unbreakable code that is not a one-time use code.

                  I have no idea why you think there isn’t. Maybe you’re going off a strange definition of “unbreakable”. When it’s used in cryptography, it means “unbreakable in reasonable time limits” (e.g. millions of years).

                  The thing about good encryption is that it’s not just hard to break, it’s mathematically too hard to break even if your available computing power keeps rising exponentially. Unless there is a mistake in the algorithm, it is for all intents and purposes, unbreakable.

                • frezik@midwest.social
                  link
                  fedilink
                  English
                  arrow-up
                  6
                  ·
                  edit-2
                  1 year ago

                  There are theoretical limits to the speed of computation. One limit is the minimum amount of energy it takes to flip a bit. For 256-bit encryption, you have to start saying things like “assume we can convert 100% of the energy from a supernova into a theoretically perfect computer with perfect efficiency”. This is a round about way of saying “impossible”.

                  We’ve been hammering AES and RSA for decades now, and we haven’t been able to get significantly better than brute force against either one. Quantum computers will break RSA (if they can be made with enough qbits, but might be infeasible), but worst case scenario for AES is that we double the key length and we’re good again.

        • Case@lemmynsfw.com
          link
          fedilink
          English
          arrow-up
          11
          arrow-down
          1
          ·
          1 year ago

          As my grandfather was wont to say, locks are for honest people.

          Most forms of security are theater and used as a deterrent.

          If your door is locked, and your neighbors isn’t, well your lock deterred them.

          Then again, if someone means you in particular harm, they’ll get in, bricks are cheap and most home windows are focused on limiting thermal transfer, not being overly durable (say under an attack). It may not be quiet, you may be able to defend yourself or run or whatever, but the lock was not a deterrent.

          So yes, lock your doors, encrypt everything you can, keep devices updated, etc. But it won’t stop a determined bad actor if they have reasonable capabilities to do you harm.

          The problem with security, especially cyber security, is that you have to find a medium between secure and usable. Most companies, in my experience, tend to loosen security in the name of usability.

          I’m not an expert, but I’m studying in that direction with my limited free time (and more to the point, energy and mental health)

            • havokdj@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              1
              ·
              1 year ago

              I hate the term social engineering. The only reason that social engineering is an issue is because security has gotten so good, that now people are the low hanging fruit.

    • bitwaba@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      2
      ·
      1 year ago

      True encryption does exist, it’s just that the encryption key is equally as long as the message itself which shows how impractical it is: if you have a method secure enough to send an encryption key of length X, why not just send the actual message of length X?