Unofficial Hacker News companion — get notified on comment replies, and more.

NSA advises immediate transition to post-quantum cryptography (opens external site)

2702 points by intunderflow 1 day ago www.nsa.gov 1277 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (10)

  1. It may not be that your router is immediately vulnerable. The NSA could be looking years ahead. However, they need to.

    1. Credit cards can last up to 5 years before expiring.

    2. Ciphertext of transactions can be stored and cracked at a later date with more advanced methods/hardware.

    Put 1 and 2 together and you need whatever encryption is being used for common transactions to remain secure for 5 years or more. You could stop using your credit card today and not be safe until you replace it. Somebody might have already backed up a copy of one of your transactions without yet cracking the encryption.

    It's possible #1 could be another form of data that the NSA is worried about which remains sensitive for longer than 5 years, and we have a little more time. However, if they're recommending rapid change, it's probably not wise to debate how long you can do nothing for and get away with it.

    Replies (3)
    1. One thing about #2 here is that PFS (Perfect Forward Secrecy) prevents someone from breaking your communications after-the-fact as it mints new ephemeral keys for each session.

      Even if attackers record encrypted traffic today and steal long-term keys or break them later, those keys cannot reconstruct past ephemeral session keys. They would have to then go on to break each session's key to reconstruct the full transmission.

      Replies (2)
      1. Correct, in so far as PFS is a protection against key theft. It does not protect you in the case of cipher breaks in a HNDL attack though.
      2. If EC is broken, yes, you can reconstruct past session keys.
        Replies (1)
        1. Depends on how broken EC is. If we're talking "it takes 2 days of all of US data center capacity to crack" then yeah we're OK.
          Replies (1)
          1. Something else to factor in: NSA is almost uniquely positioned to understand how quickly attacks will get better. 2 days now becomes 1 day some time soon, and so on down the scale, and you can bet they have a good read on what the constant factors in the shape of that curve are.
    2. > It's possible #1 could be another form of data that the NSA is worried about which remains sensitive for longer than 5 years, and we have a little more time.

      The NSA's threat model is the Chinese government spending 10 billion dollars on compute 10 years from now, with whatever hardware and algorithm improvements happen in that time.

    3. For better or worse, payment cards are probably surprisingly unaffected by all of this, especially in the US. The bulk of the protocol stack uses symmetric algorithms exclusively.

      > You could stop using your credit card today and not be safe until you replace it.

      You're in any case safe, since weak cryptography is the industry's problem, not the cardholder's. (If several big banks were to fail due to this, legal liability assignment might also show its limits, of course.)

      Replies (1)
      1. Transit is probably the biggest user of the asymmetric support in EMV, and is fundamentally limited to RSA keys less than 2048 bits. Somebody breaking the root keys would be very problematic I imagine.
        Replies (1)
        1. Definitely, open loop contactless payment transit might be in a bad spot, as will be the few remaining offline payments.

          On the other hand, you always have to consider the alternatives available (e.g. just hopping a turnstile). The lock doesn't have to be perfect, just more annoying to pick than it would be to kick the door in. This tradeoff will vary a lot across transit systems.

          The other major threat would be to the EU offline credit/debit card payment rollout [1], which fortunately is only a fallback solution for infrastructure outages and is only supposed to cover essential goods, hopefully making it much less attractive a target, but it's still not great having to worry about this on top of existing offline risks to be mitigated.

          [1] https://www.heise.de/en/news/Mastercard-to-introduce-offline...