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

Post-quantum key exchange in Tailscale v1.106 (opens external site)

242 points by tatersolid 4 hours ago tailscale.com 39 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (12)

  1. Yes, this was always the plan. The tricky thing is that the shape of key establishment with mainstream quantum-resistant algorithms is different from the one Noise wants.

    This is why supersingular isogenies were briefly so interesting: they promised constructions you could just drop in to things like Noise.

    Replies (1)
    1. But if you already change the code to add a new algorithm, is it really that hard to also change the shape of the key exch? Code needs to be upgraded either way on both sides.
      Replies (1)
      1. No, the deployment story is the same, but the design process is more complicated, because you have to make departures from Noise. Remember, Jason didn't freelance the WireGuard key exchange; he built it on a formally modeled foundation.
        Replies (2)
        1. > he built it on a formally modeled foundation.

          Interesting, sounds like something today's agents can help a lot with.

          Replies (1)
          1. Only if you don't care about understanding it. Understanding things someone else wrote is slower than writing it yourself.

            And nobody wants to yolo crypto, or put their names on things they don't understand.

            Replies (1)
            1. Crypto can and will be created & formalized by LLMs - with some experts prompting during design and testing - and they will be more secure for it.

              If you're clinging into the belief that understanding is a requirement you must have been living under a rock the past month. Especially in a field like crypto where the securing and breaking are the end goals unlike with proving the RH or the thousand of other math proofs for open questions.

              Continue this thread (1 replies) →

        2. There’s a paper called PQNoise that is more or less a KEM-based Noise adaptation, and if I put all the pieces together right, Wireguard’s use of Noise could switch to PQNoise without adding rounds.

          https://eprint.iacr.org/2022/539

          Replies (1)
          1. Unfortunately pqnoise makes each handshake message exceed typical internet MTUs by a big margin. So it's not a drop-in replacement in UDP-based contexts.