Post-quantum key exchange in Tailscale v1.106

(tailscale.com)

96 points | by tatersolid 1 hour ago

6 comments

  • teravor 1 minute ago
    mullvad VPN had this for years.

    basically you just roll your own protocol inside a wireguard tunnel and then slot the shared secret into the PSK slot.

    however because it can kill the tunnel if there is poor synchronization usually what you do is create new keys and rollback if needed. regular wireguard -> key exchange -> new ephemeral wireguard config

  • tptacek 59 minutes ago
    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.
    • xinayder 40 minutes ago
      AFAIK WireGuard is working on a v2 that adds PQC to the protocol.

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

      • tptacek 37 minutes ago
        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.

        • dist-epoch 28 minutes ago
          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.
          • tptacek 24 minutes ago
            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.
            • dist-epoch 13 minutes ago
              > he built it on a formally modeled foundation.

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

              • 0c3ca83 7 minutes ago
                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.

  • pants2 1 hour ago
    This really feels like Y2K
    • jsLavaGoat 6 minutes ago
      Yes! Glad I'm not the only one thinking this!
    • ihsw 10 minutes ago
      [dead]
    • dist-epoch 28 minutes ago
      Warmup for Y2K38
    • dyla-ng 22 minutes ago
      [dead]
  • coldstartops 15 minutes ago
    It feels to me that everyone postponed until the last moment with this transition
    • bradfitz 10 minutes ago
      (Tailscale employee here)

      FWIW, this work was well underway for quite some time. Our v1.106 release machinery was already rolling a week or two before the latest news; the timing here was just a coincidence. Probably a fortunate coincidence.

  • thadt 49 minutes ago
    Nice, guess it's time to upgrade.

    But it sounds like we're still in for a period of change for a while as everyone works out authentication without curves, right? IIUC even Signal's PQXDH is relying on X25519 for auth.

  • teekert 16 minutes ago
    Finally! We've been waiting for like 16 hours. /s