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

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

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

View full thread · View on Hacker News

Comment thread (11)

  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.

            Replies (1)
            1. This must be a troll. The human is still legally on the hook. Until Anthropic is legally on the hook, nothing changes.

              Continue this thread (2 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.