• merc@sh.itjust.works
    link
    fedilink
    arrow-up
    27
    arrow-down
    1
    ·
    4 hours ago

    Is this the lattice encryption one?

    The one revealed to require a quantum computer with at least 2^1000, or 10^300 gates? Keep in mind that the planet is made up of 10^50 or so atoms, and the universe is estimated to be around 10^90 atoms. So, until we discover other universes and are able to completely strip mine them for their resources, our 21st century communications are pretty safe?

    Or has there been yet another bullshit announcement since then?

    • redjard@reddthat.com
      link
      fedilink
      arrow-up
      20
      ·
      edit-2
      2 hours ago

      Whole new one.

      Edit: added tldr.
      TL;DR: NSA is now vagueposting, and all of big tech is pointing to it. Reading the tea leaves, the average outcome is probably nothing much at all, and the worst possible interpretation still wouldn’t affect most people, selfhosters, regular orgs and buisiness, … Maybe make sure you use TLS 1.3

      NSA put out a weirdly non-specific release telling agencies ro immediately migrate to the normal post quantum (hybrid) cryptography. It also specifically mentioned ed25519 and p256.

      The interpretation is probably that there is a chance of future attack on ed25519, which would also suggest that ec (ellyptic curve cryptography) has an issue.
      This would be bad because that is the current standard algorithm.

      In practice this would not be super devestating as long as your stuff runs on openssl or similar from the last year or three, since that gives it hybrid crypto with mlkem (rip).
      Funnily, if this all comes out accurate, that would mean the algo that just (kinda) lost its purpose as post quantum, would regain it as the only functional modern classic (i.e. non-quantum-resistant) asymmetric encryption in town.

      Also funnily, under that guess, rsa would also still be fine, so if you somehow slept the last 8 years or smthn all your things will be secure too.

      The main issue of ed25519 should fall would be that certificates are gonna be hit. letsencrypt etc. default to ecdsa for ages now (ecdsa is basically ed25519 just signature not asymmetric crypto), so this would be comparable to the emudhra incident just a good bit worse. Still not very dangerous overall in a practical sense, abusing certificate impersonation is very difficult.
      Also easy quick-fix: rsa is still around, just remove ecdsa so everyone has to get rsa certs again. (Don’t bother for now though, as mentioned this won’t be easily exploitable, just save the effort and wait for actual info)

      Also also: If you weren’t using post quantum hybrid by now to send your data, the expectation was already that this would be readable in the future. Only thing a discovery could ever do is shift the timeframe. So if anyone goes “oh no, we send this super sensitive personal health record data over ed25519-only, what do we do??”, know to call them on their shit.

      Also also also:
      The though of the NSA deliberately pushing people to use broken crypto came to mind. Esp since this happened like a day after mlkem was announced to be kinda-quantum-broken. So a push to “post quantum” at this moment is super sus indeed.
      But the only supported cypher currently is hybrid with ec, so making people move to it doesn’t take away the ed25519 protection, just adds mlkem786 on top. So there should not be any shenanigans they could pull here.

        • redjard@reddthat.com
          link
          fedilink
          arrow-up
          9
          arrow-down
          1
          ·
          2 hours ago

          Definitely. Very plausible some marketing people are just continuously escalating the authority of the source of the fearmongering.
          At least if this is once again a dud, we’ll learn to ignore the NSA which probably leaves noone else to vaguepost with yet more authority.

          Maybe next month they’ll get the pope and ISO to vaguepost about hardware security 🙃

          Then when the press and public have learned to ignore it, we’ll reach the happiness of not having to care.

          • fuckemiquit@lemmy.zip
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            52 minutes ago

            Dude, I am too stupid for this. out of my area of expertise by a long shot but I want to understand it.

            If you have time: What exactly are they vagueposting about - what is the endgame goal, I guess is what I’m asking?

            EDIT: Okay, I didn’t understand this literally at all - but I kind of get it now. Cryptography, quantum computing, and the risks involved without telling us what’s going on. Which is a matter of national security. I’d never looked into Cryptography before - it seems exhausting. But exciting at this point in time. Oh, and stock market manipulation which has been a staple over the past two years of this POTUS. Is this your guy’s 9/11 if this goes down? - Ed25519 version of EdDSA

            • redjard@reddthat.com
              link
              fedilink
              arrow-up
              3
              ·
              39 minutes ago

              Ed25519 version of EdDSA

              Same but Different.
              There are two difficult things in cryptography: Communicating to only a specific person (asymmetric cryptography), and getting communication from only a specific person (signatures). For HTTPS, I need to know I am talking to the other end in a way noone can listen in (asymmetric cryptography), and I need to know I am talking to the website and not someone pretending to be the website (signature/certificate).
              ed25519 should really be named EdKEM, like MLKEM, since it is asymmetric encryption. The same idea can also be used for signature and is then called EfDSA, DSA meaning signature. So if you break the math, you break both EdKEM and EdDSA.

              So yeah if ed25519 falls, then ec certs (eddsa) also fall. But certs are not really an issue so whatevers, who cares.

              (Also don’t look up why EdDSA and EdKEM are Ed and not ECDSA)
              ((It’s because the NSA backdoored nists spec which is ecdsa, so others changed the constants to be secure and called it eddsa and then that became the standard))

              • fuckemiquit@lemmy.zip
                link
                fedilink
                arrow-up
                2
                ·
                32 minutes ago

                ((It’s because the NSA backdoored nists spec which is ecdsa, so others changed the constants to be secure and called it eddsa and then that became the standard))

                Those naughty boys, naughty, naughty. I see. I understood Hash and SHA-1 - 512 somewhat so this makes sense. Thanks again. It’s a busy world, huh?

                • redjard@reddthat.com
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  10 minutes ago

                  I already knew the stuff, I imagine it’s worse if you only now wanna learn what mlkem and eddsa and sha are.

                  Btw. hashes are the goat and save us from so much worse. They make symmetric encryption very secure and unlikely to be broken, and also unify it. If your hashes are secure, then symmetric crypto can be done with hashes and is also secure.
                  Same for signatures, we got a scheme from the nist post quantum release that also brought mlkem, which uses only hashes to sign stuff. sphincs+. Very cool thing, super involved but still barely understandable method of getting from hashes to signatures. Issue here is it’s huge, but we could always go to sphincs and make signatures a non issue.

                  So by now it’s basically just hashes (no problem) and asymmetric encryption (yes problem).

                  And ofc it helps knowing all the real world systems enough to just think for a moment and realize that breaking something is not that bad, while everyone else seems to overstate stuff. I can be slightly annoyed and wait for the actual details to drop.

                  ai breaking crypto is a lot nicer than it spamming mathematicians (and ignoring publishing procedures) or abusing cve ratings (and ignoring responsible disclosure). At least crypto stuff is supposed to just be released, and the main important part is just the result, not how you got there.
                  The dream of crypto is to break all insecure algorithms until the truly secure ones are revealed. Really it’s not breaking things, it is just showing what was always broken, so that someone malicious can’t do the same and abuse it instead of revealing it.

            • redjard@reddthat.com
              link
              fedilink
              arrow-up
              3
              ·
              48 minutes ago

              It’s vague, so we don’t know. Specifics are the long thing above, but basically it is one of

              • absolutely nothing
              • nothing concerning you or anything you know (giving the a-part of the big funy)
              • something that kinda sucks a long time from now but otherwise doesn’t matter, eventually leading to the big funy
              • something that makes systems administrators check that stuff is updated, and creates a big funy (unlikely)

              The big funy would a) be a very ironic case where mlkem is reinstated into being useful, after becoming (likely) useless like 2 days ago, and b) that crypto bros (the currency not cryptography) would have to deal with a huge shitshow and probably update/hardfork all the chains or smthn idk.

              Either way nothing you can do anything about, nothing that immediately affects you or most people or even tech people, and nothing that you should currently waste mental energy keeping in mind while we know nothing.


              As for why the NSA would be doing the vagueposting… Presumably one of

              • they were played/tricked/bribed into the statement by ai corpos
              • they were instructed into the statement by government-insider-market-manipulators
              • ai corpos played/tricked/bribed/slimed government-insiders into instructing them
              • the NSA released a stupid and outdated statement from incompetence and it made so little sense the ai corpos took the chance and built a narrative of fear on top of it
                • (i.e. “this is so stupid, it only makes sense if actually ed25519 is attacked, surely they would not just release this stupid thing otherwise, it’s like literally nonsense”)

              Whatever comes out of this, remember that the NSAs statement was wrong in every scenario. If this turns into a comparative dud as expected, then they would have stoked massive fear (and marketing) for nothing, at the cost of future credibility and thus ability to warn of actual threats. If this was serious, they would have dampened the reception, distracted with vagueness, and stopped the actual experts fixing/prioritizing stuff correctly by not stating what the actual danger is precisely.
              Also the circle of insiders to this is once again huge, so someone here would have told critically relevant security info to a whole pile of random people.

              • fuckemiquit@lemmy.zip
                link
                fedilink
                arrow-up
                3
                ·
                37 minutes ago

                10-4

                Thank you for taking the time to write that out. I’m gonna take that advice and keep on keeping on - but thank you again.

          • dermanus@lemmy.ca
            link
            fedilink
            arrow-up
            6
            ·
            2 hours ago

            At this point I wouldn’t put it past the Trump admin to abuse the NSA to manipulate the stock market.

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

              Of course they are. NSA are under department of defence (being bad at) war, which is Kegsbreath.

    • humanspiral@lemmy.ca
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      3 hours ago

      there been yet another bullshit announcement since then?

      The NSA issued a repeat of 2027 deadline on equipment and repeat advise to prepare for post quantum crypto. Tech companies issues a joint PR agreeing, then some tweets agreed with the PR.