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 (16)

  1. Interesting, I was wondering how people would handle this in protocols like WireGuard. So you're not getting quantum resistance across all the security properties provided by WireGuard's Noise handshake, but you are getting a quantum-resistant ephemeral key exchange; that exchange is theoretically MITM-vulnerable, but MITM is outside the scope of HNDL attacks.
    Replies (3)
    1. AFAIK WireGuard is working on a v2 that adds PQC to the protocol.

      https://lists.zx2c4.com/pipermail/wireguard/2026-December/00...

      Replies (1)
      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.

              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

              Continue this thread (1 replies) →

    2. (tailscale employee here) Yes, this addresses strictly HNDL attacks, and brings the p2p tunnels roughly on par with the security level of TLS 1.3 with hybrid ML-KEM kex and classical certs/signatures (i.e. the best widely rolled out thing webpki has right now).

      The plan was to do more technical writeups of what we did in the days following release. It ended up being trickier than just "bolt ML-KEM into the Noise handshake" due to increased packet sizes, so there's some complexity there for anyone wanting to follow in this path. But for obvious reasons those writeups are a "later" thing now.

    3. WireGuard also supports symmetric pre-shared keys, and PQC can be plugged in there to mix in the negotiated secret into that key. This will also protect against active MITM.