Documentation
Is WireGuard Quantum Safe?
WireGuard's key exchange is not post-quantum. Its optional pre-shared key is WireGuard's own answer to that, and Molt Net puts one in every tunnel between your computers. Here is what that protects against, and the gap it still leaves.
The short answer
Not by its key exchange alone. WireGuard agrees on session keys with Curve25519, and a large enough quantum computer could break Curve25519. Someone who records tunnel traffic today could open it later once that machine exists (“harvest now, decrypt later”).
WireGuard has a fix built in: an optional 256-bit pre-shared key, mixed into every handshake. In WireGuard's words, it is there “if an additional layer of symmetric-key crypto is required (for, say, post-quantum resistance)” (WireGuard protocol). With a pre-shared key the attacker doesn't have, breaking Curve25519 is no longer enough to open recorded traffic. How much that buys depends on one thing: how the key reached both ends.
Why people are asking now
On 2 December 2026 WireGuard's author wrote to the project's list that “WireGuard has a 256-bit pre-shared key option” and suggested using it. If you can share the key “over a secure offline means”, the tunnel's strength comes down to breaking that 256-bit symmetric key. If you can't, he suggests running a post-quantum key exchange through an established tunnel and putting the result into the pre-shared key slot (WireGuard mailing list). The same week, the NSA advised an immediate transition to post-quantum cryptography (NSA).
What Molt Net does
Molt Net is the WireGuard-format tunnel between your own computers in Molt Code: the Mac and Linux desktop app and Molt headless on a server. Calls from one of your computers to another, and a window opened on another computer, go through it. The Machines list says the route: “Molt net · direct”, “Molt net · relayed” or “Not on Molt net”. A relay carries only ciphertext.
- A pre-shared key on every tunnel Since desktop 1.0.548 (1 December 2026), every Molt Net tunnel uses a WireGuard pre-shared key. There is no switch and no keyless mode: a build without a valid key runs no tunnel and its calls take the platform path instead.
- Made only by Molt's key service One key per person's network, derived inside Molt's key service. The platform that runs workspaces stores copies of it that it can neither open nor make.
- A copy per device Each computer you signed in on gets its own copy, wrapped to that device's key. The device checks who signed it and that it is meant for this device, then holds the key in memory only.
- Removing a device changes the key Remove a computer and the key service makes a new key for the devices left. They drop every session at once, so the removed computer is cut off at its next handshake, not at the next rekey. Copies last 24 hours and are re-made before they expire.
The gap: not post-quantum end to end
The copies reach your devices wrapped with X25519 (an HPKE-style wrap: X25519, HKDF and AES-GCM). X25519 is the same kind of key exchange a quantum computer could break. So the honest claim is narrower than “quantum safe”:
- What it covers Someone who records Molt Net tunnel traffic can't open it later by breaking WireGuard's key exchange alone, even with a quantum computer.
- What it does not cover Someone who records the traffic and also gets a wrapped copy of the key, and later breaks X25519, could unwrap the key and then open the traffic. Molt Net is not post-quantum end to end.
- What is not on Molt Net The phone apps, the web app, older desktop builds and workspace runners don't use Molt Net yet. Their calls go over TLS to the platform or the relay, and this page doesn't describe them.
What would close the gap is a post-quantum key exchange such as ML-KEM, either for the copies or run through the tunnel into the pre-shared key slot as WireGuard's author describes. Neither is in a Molt release yet. This page will say when one is.
Check it on your computers
- Update every computer to desktop 1.0.548 or later. A current build and an older one don't pair on Molt Net; their calls take the platform path until both are updated.
- Open the Machines list. A computer marked “Molt net · direct” or “Molt net · relayed” is reached through a tunnel with the pre-shared key.
- “Not on Molt net” means the computer is not in this one's Molt Net map, most often because it runs an older build or holds no valid key copy. Update it, or sign in on it again.
Questions
Is WireGuard quantum safe?
Not by its key exchange alone: Curve25519 could be broken by a large quantum computer. WireGuard's optional 256-bit pre-shared key, mixed into every handshake, is its own answer. With a key the attacker doesn't have, breaking Curve25519 is not enough to open recorded traffic.
What does a WireGuard pre-shared key do?
It adds a symmetric secret to the handshake on top of the Curve25519 exchange. When it isn't set, WireGuard uses 32 zero bytes in its place. How much it protects depends on how the key reached both ends.
Is Molt Net post-quantum end to end?
No. Every Molt Net tunnel uses a pre-shared key since desktop 1.0.548, so recorded tunnel traffic resists a quantum attack on the key exchange alone. But each device's copy of that key arrives wrapped with X25519, which a quantum computer could break, so it is not end to end.
Do I have to turn anything on?
No. Every desktop and headless build from 1.0.548 asks for its key at its first sync and runs no tunnel without one. Update all your computers so they pair with each other.
Ready to try it yourself?
Free forever. Uses your existing API keys. Runs locally on your machine.
- free forever
- no account required
- uses your existing API keys
- macOS, Linux, iPhone & iPad