What is WireGuard (the VPN protocol)?

WireGuard is a VPN protocol that encapsulates IP packets over UDP using one fixed set of cryptographic primitives. This page explains what it is, where it appears, and what it means for post-quantum migration planning.

On this page

What is WireGuard, and why does it come up in post-quantum reviews?

You most likely met WireGuard in a vendor document, a tender response or an audit request that asked whether a VPN is post-quantum ready. WireGuard is a VPN protocol that securely encapsulates IP packets over UDP. Its home page at wireguard.com describes it as "an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography." The site also says WireGuard was initially released for the Linux kernel, whose kernel components are released under the GPLv2. Vendors ship WireGuard in firewalls, routers, cloud gateways, operating systems and self-hosted VPN servers, so reviewers often find it listed in the same inventory as IPsec and IKEv2 deployments. Before you record it as a finding or an answer, confirm which implementation and version your environment runs, since the protocol and its implementations are not the same thing.

The WireGuard site and protocol page do not state a post-quantum key exchange for WireGuard itself. The protocol page fixes one set of primitives, including Curve25519 for key agreement and ChaCha20 with Poly1305 for encryption, and its handshake is built on the Noise_IK pattern, with an optional pre-shared key mixed into the public key cryptography. That optional pre-shared key is a symmetric secret, not a post-quantum exchange. When a reviewer asks whether WireGuard is post-quantum secure, the accurate answer from these sources is that the protocol page does not describe one, so you should ask the vendor what they have added, if anything, and confirm it against their own documentation. Do not treat a WireGuard deployment as post-quantum protected on the strength of the protocol name alone.

Post-quantum work around WireGuard is done through the Rosenpass project. Rosenpass describes itself as "a post-quantum-secure VPN that uses WireGuard to transport the actual data." It establishes a symmetric key through its own post-quantum exchange, hands that key to WireGuard through WireGuard's pre-shared key feature, and refreshes it periodically. Its repository is written in Rust, uses liboqs, and is licensed under Apache-2.0 and MIT. If a vendor claims post-quantum WireGuard, ask whether they run Rosenpass or a similar mechanism, which version they use, and how the key is refreshed. Rosenpass is a separate project from WireGuard, so ask for its name, version and documentation in the response. For the protocol's own design, read the WireGuard protocol page directly.

Which names and primitives identify WireGuard in documents and configs?

This table lists the names, identifiers and cryptographic primitives you will see for WireGuard in vendor documents, configurations and audit requests. Use it to match a term in a document to the component it refers to, then confirm details against the version you run. The main takeaway is that WireGuard fixes one set of primitives rather than negotiating them, so the handshake string and primitive names are the reference points to check.

IdentifierWhat it refers toWhere you will see it
WireGuardThe full name of the VPN protocol, which encapsulates IP packets over UDPProject home page, protocol documentation, vendor product sheets
Noise_IKpsk2_25519_ChaChaPoly_BLAKE2sThe handshake construction string, built on the Noise_IK handshake with an optional pre-shared keyWireGuard protocol page, protocol analysis and review documents
ChaCha20 with Poly1305The authenticated encryption construction, defined in RFC 7539Protocol page and cipher inventory entries for WireGuard sessions
Curve25519The elliptic curve used for the ECDH key exchangeProtocol page and key exchange entries in configuration reviews
BLAKE2sThe hash function used by the protocolProtocol page and cryptographic inventory records
SipHash24The function used for hashtable keys inside the implementation, not for session securityProtocol page; rarely appears in vendor-facing documents
HKDF (RFC 5869)The key derivation function used to derive session keysProtocol page and key schedule descriptions
Pre-shared key slot (PSK)An optional 32-byte symmetric value mixed into the public key cryptography. If none is set, an all-zero 32-byte value is assumedWireGuard configuration files and the protocol page; check whether your deployment sets it
RosenpassA separate post-quantum-secure VPN project that uses WireGuard to carry data and feeds WireGuard's PSK slotRosenpass repository and vendor documents that describe a post-quantum add-on

Where do practitioners meet WireGuard in documents and products?

WireGuard shows up in project pages, kernel documentation, vendor product sheets, tenders and audit requests. Each of these places asks something different of the reader, so the cards below separate the primary sources from the places where the term is only named.

WireGuard home page and protocol page

The project home page describes WireGuard as a VPN that securely encapsulates IP packets over UDP, and the protocol page sets out its primitives and handshake. These are the primary sources for what the protocol is. Read the protocol page when a document or auditor asks which primitives are used. Note that neither page states a post-quantum key exchange for WireGuard itself, so do not treat WireGuard as post-quantum without a separate, named design.

WireGuard protocol page

Linux kernel implementation

WireGuard was first released for the Linux kernel, and its kernel components are released under the GPLv2. Many deployments use this implementation, so kernel version and build details are the first things to confirm when inventorying where WireGuard runs. Check the kernel version and the source you run, because a kernel build is not the same thing as a vendor product that embeds WireGuard.

WireGuard home page

Vendor product documents listing a tunnel option

Vendor datasheets and admin guides sometimes list WireGuard as a tunnel option next to IPsec or OpenVPN. Such a listing tells you the product offers the protocol, not how it is configured or which primitives it uses in that product. Ask the vendor for the version, the configuration used for WireGuard tunnels, and whether any post-quantum mechanism is layered on top. Do not assume support from a feature list alone.

Tender language asking for a VPN protocol

Tenders often ask for a named VPN protocol or a set of approved protocols, and WireGuard may appear in that list. When it does, the requirement is about the protocol, so write the reply to show the version and the controls in place. Ask the issuer whether the tender needs post-quantum key exchange specifically, because a protocol name alone does not answer that question.

Audit requests about fixed primitives

Auditors may ask which cryptographic primitives a VPN uses and whether they can be negotiated or replaced. WireGuard fixes one set of primitives rather than negotiating them, which differs from IKEv2. Prepare a clear answer that names the primitives from the protocol page, states the version in use, and explains how an upgrade would be handled if the primitives change.

RFC 7296 text

Rosenpass repository

The Rosenpass project describes itself as a post-quantum-secure VPN that uses WireGuard to carry the data. Its repository is written in Rust, uses liboqs, and is licensed under Apache-2.0 and MIT. Rosenpass works by setting a symmetric key that it hands to WireGuard through the preshared key feature. Review the repository and its README before treating it as a post-quantum solution, and confirm the versions and build you plan to deploy.

Rosenpass repository

How does WireGuard establish and refresh keys in a tunnel?

WireGuard sends every packet over UDP, and the keys for a tunnel come from a handshake that both peers run before any data moves. The handshake is built on the Noise_IKpsk2 pattern, and the protocol page fixes one set of primitives for it: Curve25519 for key agreement, ChaCha20 with Poly1305 for authenticated encryption, BLAKE2s for hashing and HKDF for key derivation. The handshake is not negotiated. Peers do not choose among algorithms at connection time, which differs from IKEv2, where transforms are negotiated in the IKE_SA_INIT exchange. For a reviewer, this means the set of algorithms in use is the set the protocol defines, and the question to answer is which version of the implementation a given deployment runs.

The handshake repeats periodically, which the protocol page describes as every few minutes, so the session keys rotate over the life of a tunnel. Initiation messages carry a TAI64N timestamp, which the receiver uses to reject replayed initiations. When a responder is under load, WireGuard applies a cookie mechanism, so that an unauthenticated initiation does not force full handshake work on the responder. Confirm the exact rekey interval and the cookie behaviour in the protocol page for the release you deploy, because the page gives these as general descriptions rather than fixed parameters.

WireGuard can also mix an optional pre-shared key into the public key cryptography. If no pre-shared key is configured, the protocol page assumes an all-zero 32-byte value in its place. This is the hook that the Rosenpass project uses: Rosenpass sets a symmetric key and gives it to WireGuard through this feature, and refreshes it every two minutes. The WireGuard home page and protocol page, as read on 4 December 2026, do not state a post-quantum key exchange for WireGuard itself, so a vendor claiming post-quantum WireGuard should be asked which component supplies the post-quantum secret and whether it is the optional pre-shared key.

Where does the pre-shared key slot sit in the WireGuard handshake?

The diagram starts with the initiating peer sending a handshake initiation over UDP to the responding peer, which answers with a handshake response. The optional pre-shared key is an input that both peers mix into the public key cryptography during this exchange, and when no key is configured the protocol assumes an all-zero 32-byte value in its place. The handshake is built on the Noise_IKpsk2 construction, so the pre-shared key enters at a fixed point rather than being negotiated. After the handshake, a periodic rekey loop repeats the exchange every few minutes to rotate session keys. Check that both peers are configured with the same pre-shared key, or that both use none, before relying on the handshake.

Peers exchange handshake messages over UDP, with an optional pre-shared key mixed in.

Is WireGuard standardized, and is post-quantum key exchange published for it?

WireGuard is not documented as an RFC in the sources listed on this page. Its specification lives on its own protocol page at wireguard.com, which fixes one set of primitives: ChaCha20 with Poly1305 for the AEAD, Curve25519 for ECDH, BLAKE2s for hashing and HKDF for key derivation, built on the Noise_IKpsk2 handshake. Because the primitives are fixed rather than negotiated, a reviewer cannot ask WireGuard to select a different key exchange the way IKEv2 negotiates transforms. As read on 4 December 2026, neither the WireGuard home page nor the protocol page states a post-quantum key exchange for WireGuard itself. Any vendor answer that claims WireGuard is post-quantum on its own should be checked against those pages and the version the vendor ships.

The post-quantum layer people usually mean in this context is the Rosenpass project, which describes itself as a post-quantum-secure VPN that uses WireGuard to transport the actual data. Rosenpass sets a symmetric key and hands it to WireGuard through WireGuard's preshared key (PSK) feature, refreshing it every two minutes. Its README states that the result is no less secure than WireGuard alone. The project is written in Rust, uses liboqs, and provides an rp frontend that builds a combined WireGuard plus Rosenpass VPN. Confirm the exact release, the algorithms it negotiates and the licence terms (Apache-2.0 and MIT, per the repository) before relying on it, and treat it as a separate component to inventory, not a property of the WireGuard protocol itself.

IPsec has a separate standards path. The IETF work on post-quantum key exchange with ML-KEM in IKEv2 is in the RFC Editor queue, not yet published as an RFC. Its Internet-Draft, draft-ietf-ipsecme-ikev2-mlkem-09 (5 July 2026), is listed with intended status Proposed Standard. Until it is published, ask IPsec vendors which draft or RFC their implementation follows, and confirm the exact draft revision. Do not treat the draft as a published standard in a tender response or audit answer.

What should a migration team do when WireGuard appears in an inventory?

This sequence turns a WireGuard entry in the inventory into a documented record of what is deployed, how its key material is set up, and what post-quantum options the vendor offers. The output is evidence that auditors and vendor-risk reviewers can check, without any claim that the setup is compliant or quantum-safe.

  1. Record every WireGuard tunnel and version

    List each WireGuard tunnel, endpoint and host in the cryptographic inventory, with the owning team and the software version or kernel build in use. Include tunnels inside cloud accounts, appliances and client devices, since they are easy to miss. The step is done when every tunnel has a row with its version and owner, and the list has been reconciled against the network team's configuration records.

  2. Check the pre-shared key configuration

    For each tunnel, confirm whether an optional pre-shared key is configured on both peers. The WireGuard protocol page says that if no pre-shared key is used, an all-zero 32-byte value is assumed, so a tunnel with no key set is running the default. Record the result per tunnel as configured, not configured, or unknown. The check is done when every tunnel has a recorded state, and the reviewer has confirmed the value on both ends of each tunnel.

  3. Ask vendors about post-quantum layers

    Send each vendor or internal platform owner a written question asking whether a post-quantum layer, such as Rosenpass, is part of their offering or supported in their deployment, and which version they run. The WireGuard home and protocol pages do not state a post-quantum key exchange for WireGuard itself, so the answer must come from the vendor or the project documentation. The step is done when each vendor has responded in writing, and every answer names the product, version and component it covers.

  4. Compare refresh and primitive settings

    Compare each deployment's handshake and key refresh behavior with the WireGuard protocol page and the Rosenpass repository, which describes a symmetric key refreshed every two minutes. The protocol page says the handshake repeats periodically, described as every few minutes, and fixes one set of primitives, including ChaCha20 with Poly1305, Curve25519, BLAKE2s and HKDF. Record any difference from these sources, and ask the vendor to explain it. The step is done when each tunnel has a written comparison, and any difference has a documented explanation or an open question.

  5. Document the evidence for auditors

    Collect the inventory rows, key configuration checks, vendor responses and settings comparisons into one evidence file for each tunnel or platform. Date every entry, name the person who verified it, and attach the source document for each claim. Describe what was observed and what remains unconfirmed, and do not describe any setup as compliant, certified or quantum-safe. The step is done when an independent reviewer can trace every statement in the file back to a dated source.

What do people ask about WireGuard and post-quantum security?

What does WireGuard stand for, and is it an IPsec protocol?

WireGuard is not an acronym, and it is not an IPsec protocol. It is a standalone VPN protocol that securely encapsulates IP packets over UDP. The project describes itself as "an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography" on its home page. IPsec is a separate suite of protocols, and IKEv2 is the key exchange most often paired with it. WireGuard uses its own handshake and its own data format, so it does not share IKEv2 or IPsec message formats. For a reviewer, the practical consequence is that a WireGuard deployment will not appear in an IPsec policy list or an IKEv2 configuration, and the audit scope for it has to be written against WireGuard's own design. Confirm the exact version and build you run, because the project's documentation describes the protocol and the Linux kernel implementation separately.

Is WireGuard post-quantum secure by default?

No. The WireGuard home page and protocol page, as read on 4 December 2026, do not state a post-quantum key exchange for WireGuard itself. The protocol fixes one set of primitives: ChaCha20 with Poly1305 for the AEAD construction, Curve25519 for ECDH, BLAKE2s for hashing, SipHash24 for hashtable keys, and HKDF. Its handshake is built on Noise_IKpsk2_25519_ChaChaPoly_BLAKE2s. The protocol does support an optional pre-shared key, which is mixed into the public key cryptography, and assumes an all-zero 32-byte value when none is used. That option is a place to add a secret, but the protocol page does not describe it as a post-quantum mechanism on its own. Treat WireGuard's default configuration as classical, and ask any vendor that offers a post-quantum claim exactly which mechanism produces it and which version it applies to.

What is Rosenpass, and how does it relate to WireGuard?

Rosenpass is a separate project that the Rosenpass repository describes as "a post-quantum-secure VPN that uses WireGuard to transport the actual data." It does not replace WireGuard's data path. Instead, Rosenpass sets a symmetric key and gives it to WireGuard through WireGuard's pre-shared key feature, refreshing that key every two minutes. The README says the result is no less secure than WireGuard alone. The repository states that the tool is written in Rust, uses liboqs, includes an rp frontend that builds a WireGuard plus Rosenpass VPN, and is licensed under Apache-2.0 and MIT. For a reviewer, the key point is that Rosenpass is an add-on built on WireGuard's existing hook, so it has its own code, its own version history and its own review requirements. Confirm which version and components an organization runs, and check the repository's own statement about its design rather than relying on a summary.

Is WireGuard the same as IKEv2?

No. IKEv2 is the key exchange protocol specified in RFC 7296, published in October 2014 as Internet Standard STD 79, and it obsoletes RFC 5996. WireGuard is a different design. The main difference is that WireGuard fixes one set of primitives, while IKEv2 negotiates transforms during the IKE_SA_INIT exchange. In practice, an IKEv2 peer can offer several algorithms and choose among them, whereas a WireGuard peer uses the primitives its protocol defines. This matters when a reviewer asks which algorithms are in use: an IKEv2 configuration can list many options, while a WireGuard configuration has a fixed suite plus an optional pre-shared key. Do not assume that the post-quantum work done for IKEv2 applies to WireGuard, or the reverse. Each needs its own inventory entry and its own confirmation from the vendor or project.

Is WireGuard standardized in an RFC?

The sources listed on this page do not show WireGuard as an RFC. WireGuard is documented by its project at wireguard.com, which hosts the protocol description, and its Linux kernel components are released under the GPLv2. Reviewers who need a standards citation should check the project's own documentation and the IETF datatracker for any current work before writing it into a policy. Compare this with IKEv2, which has RFC 7296 and a set of post-quantum extensions. For IKEv2, RFC 9370 (May 2023, Standards Track, updating RFC 7296) lets several key exchanges contribute to the shared secret, RFC 9242 (May 2022) defines the IKE_INTERMEDIATE exchange, and RFC 8784 (June 2020) covers mixing pre-shared keys. The Internet-Draft draft-ietf-ipsecme-ikev2-mlkem-09, dated 5 July 2026, was in the RFC Editor queue as read on 4 December 2026 and had not yet been published as an RFC. When a tender asks for standards conformance, say which of these applies to the product in use.

What should I ask a vendor about WireGuard and post-quantum security?

Ask a vendor to name the exact mechanism that provides post-quantum protection, and to state whether it applies to the WireGuard handshake, to an external add-on such as Rosenpass, or to a layer above the tunnel. Request the version, build and configuration in which the claim holds, and ask how the pre-shared key is generated, stored and rotated. Ask which cryptographic primitives the deployed protocol uses, and whether any of them differ from the defaults listed on the protocol page. Request the source of the claim, such as the project's documentation or a test report, and ask whether any independent review has covered the post-quantum component. Clarify who maintains the add-on and how security fixes reach you. Ask for the scope of support and the process for upgrades. A vendor that cannot answer these points with version-specific detail should not be treated as having a verified post-quantum configuration. Keep the written answers with your inventory so the claim can be checked later.

Does a post-quantum add-on change how I should test my WireGuard deployment?

Yes, testing should cover the add-on as a separate component. Start by confirming what is actually running: the WireGuard version, whether a pre-shared key is configured, and whether an external key-refresh process such as Rosenpass is present. Verify that the key-refresh cycle completes and that the key reaches the tunnel, since the Rosenpass repository says it refreshes the key every two minutes. Check logs for handshake activity, because the WireGuard protocol page says the handshake repeats periodically, described there as every few minutes, to rotate keys. Test failure behavior: confirm what happens when the key-refresh process stops or cannot reach its peer. A tunnel that silently falls back to a classical-only state is a finding a reviewer will want documented. The protocol page also notes that initiation messages carry a TAI64N timestamp and that a cookie mechanism is used under load, which may help diagnose handshake problems during testing.

How DeployOpen works on this

DeployOpen helps teams plan and carry out WireGuard work inside their own infrastructure, where the open-source WireGuard deployment is set up and reviewed. Because WireGuard itself fixes one set of primitives and the sources do not state a post-quantum key exchange for WireGuard itself, the work starts by establishing exactly what the deployment runs and what it needs.

How we scope

  • We record which WireGuard implementation, version and platform each VPN endpoint runs.
  • We identify which tunnels use a pre-shared key and how that key is provisioned and rotated.
  • The written scope lists the endpoints, tunnels and any Rosenpass or other add-on covered by the work.

How we build

  • We deploy or configure WireGuard in the client's own infrastructure, including any Rosenpass layer the client chooses.
  • We test the handshake, key rotation and pre-shared key behavior against the configuration agreed in scope.
  • Where a post-quantum add-on is used, we check that its key feed reaches WireGuard as documented in the project's own materials.

How we hand over

  • We document each endpoint's configuration, key handling and the versions it runs, for your review.
  • We provide a written record of what was tested, what passed and what remains open.
  • Compatibility with the exact versions you run should be confirmed against the vendor and project documentation before go-live.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer.
  • Pricing follows from the written scope, and we do not publish a price list.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.