How to enable post-quantum key exchange on NetBird

NetBird's only shipped post-quantum option is Rosenpass, which is deprecated and enabled per device. An ML-KEM hybrid exchange is open as an unmerged pull request, so it cannot be enabled in a released version yet.

On this page

Can administrators turn on post-quantum key exchange in NetBird today?

As of 2026-12-03, the only post-quantum key exchange option NetBird has released is Rosenpass, and no released version lets an administrator enable the ML-KEM hybrid exchange. Rosenpass is turned on per device with netbird up --enable-rosenpass, the desktop Settings Security toggle, the mobile settings, or the MDM keys rosenpassEnabled and rosenpassPermissive. It is off by default and there is no account-wide switch in the dashboard, so an administrator who wants it everywhere has to set it on each device or push it through MDM. Rosenpass is deprecated: from v0.82.0, netbird up prints a warning when --enable-rosenpass or --rosenpass-permissive is used, and the docs say it may be removed in a future release.

The ML-KEM hybrid exchange, which would derive the WireGuard pre-shared key from X25519 and ML-KEM, appears only in netbirdio/netbird pull request #7098, which is open and not merged as of 2026-12-03. Its docs counterpart, docs pull request #1146, is also open and marks the feature experimental, and its author wrote that it must not be merged before #7098 ships. Because the PR is inconsistent on the parameter set, confirm the exact ML-KEM variant in the release notes before planning around it. Until a released version includes it, administrators should treat ML-KEM as unavailable rather than as a setting to look for.

Before relying on either option, confirm two limits with NetBird. Rosenpass protects only the WireGuard pre-shared key layer between peers, and NetBird's 2024 Rosenpass article states that connections to Signal and Management are not quantum-resistant. NetBird has also published no post-quantum signature support, such as ML-DSA or SLH-DSA, and no FIPS or CNSA 2.0 statement on the pages checked. Ask the vendor for those statements in writing if your review requires them, and record the Rosenpass deprecation and the open PR status in your inventory with the date checked.

Which NetBird post-quantum settings exist, by component and status

This table lists each NetBird post-quantum setting, the component it applies to, its status and default, and the source date for that fact. Rosenpass is the shipped option but is deprecated, while ML-KEM is still an open pull request, so check the status column before relying on any setting. The ML-KEM parameter set is unconfirmed because the code and docs sources disagree.

SettingComponent and statusDefault and scopeSource and date
Rosenpass via netbird up --enable-rosenpassClient CLI. Shipped, deprecated from v0.82.0, prints a warning, may be removedOff. Set per device, no account-wide switchNetBird quantum-resistance docs, checked 2026-12-03
Rosenpass desktop Settings Security toggleDesktop client. Shipped, deprecated with the CLI optionOff. Set per deviceNetBird quantum-resistance docs, checked 2026-12-03
Rosenpass mobile settingsMobile client. Shipped, deprecated with the CLI optionOff. Set per deviceNetBird quantum-resistance docs, checked 2026-12-03
MDM keys rosenpassEnabled and rosenpassPermissiveDevice management policy. Shipped, deprecated with the CLI optionOff. Pushed to devices by MDMNetBird quantum-resistance docs, checked 2026-12-03
Rosenpass permissive mode (--rosenpass-permissive)Client CLI. Shipped, deprecated, prints a warning from v0.82.0Off. Peers without Rosenpass fall back to plain WireGuardNetBird quantum-resistance docs, checked 2026-12-03
ML-KEM via netbird up --enable-pq-mlkemClient CLI. Open pull request 7098, not merged, not releasedOff. Turns Rosenpass off when enabledNetBird PR 7098, checked 2026-12-03
ML-KEM MDM key mlkemEnabledDevice management policy. Open pull request 7098, not releasedOff. Pushed to devices by MDMNetBird PR 7098, checked 2026-12-03
ML-KEM environment variable NB_ENABLE_PQ_MLKEM=trueClient environment. Open pull request 7098, not releasedOff. Set per deviceNetBird PR 7098, checked 2026-12-03
ML-KEM Management account settingManagement service. Open pull request 7098, not releasedOff. Account-level setting, optional strict modeNetBird PR 7098, checked 2026-12-03

Which parts of NetBird the post-quantum settings touch

NetBird's post-quantum options act on the WireGuard data path and nothing else. The Signal and Management connections, along with the self-hosted server settings, use different keys and are not changed by enabling them. Read each card to see which connection a setting covers before you assume it protects the whole platform.

WireGuard data path and pre-shared key

Peer-to-peer tunnels are WireGuard, and the optional Rosenpass feature and the experimental ML-KEM exchange both work by deriving a pre-shared key that is mixed into the handshake. A pre-shared key adds a symmetric layer on top of the handshake, but the handshake still depends on Curve25519 for key exchange. Check that a peer's pre-shared key is in use, not only that the setting is switched on.

WireGuard protocol

Curve25519 in the handshake

WireGuard's peer authentication and key exchange depend on Curve25519, which is a public-key algorithm and is not post-quantum. A pre-shared key does not replace that exchange, so a tunnel with a pre-shared key still has its public-key step on Curve25519. Ask your team to treat the handshake as classical even when a post-quantum setting is active.

Signal service connections

The Signal service carries connection candidates, and NetBird documents that these messages are encrypted end to end with NaCl box (Curve25519, XSalsa20 and Poly1305). NetBird's 2024 Rosenpass article states that connections to Signal are not quantum-resistant. Signal can see which public keys communicate, though not message contents, so enabling a tunnel setting does not change how Signal traffic is protected.

NetBird Rosenpass article

Management service connections

Clients register with Management using an identity provider or a setup key, and the NetBird 2024 Rosenpass article states that connections to Management are not quantum-resistant. Post-quantum tunnel settings do not change these connections. Confirm the Management connection separately in your inventory, because the peer setting covers only the tunnel.

Self-hosted settings that leave key exchange unchanged

Self-hosted server options such as the TLS certificates handled by the reverse proxy, the embedded identity provider signing keys at /oauth2/keys, and the server.peerAuth.signingKeyFile Ed25519 key do not change the tunnel key exchange. The server.store.encryptionKey setting encrypts stored secrets. Review these settings as separate items in your inventory, since no supplied source connects them to the post-quantum option.

Configuration files reference

How enablement differs for desktop, mobile and self-hosted deployments

Desktop clients are where administrators most often enable post-quantum key exchange today. Rosenpass is off by default and is turned on per device, with no account-wide switch in the dashboard. The two desktop controls are the command-line flag and the Settings Security toggle, and both act only on the device where they are set.

  • CLI flag: Run netbird up --enable-rosenpass to turn on Rosenpass for that device. Use --rosenpass-permissive if the device should still connect to peers that do not use Rosenpass.
  • Settings Security toggle: The desktop application exposes the same Rosenpass option under Security in Settings, so users can enable it without a terminal.
  • Per-device scope: Each device must be configured separately, so a fleet needs either consistent user instructions or managed deployment.
  • Deprecation warning: From v0.82.0, netbird up prints a warning when --enable-rosenpass or --rosenpass-permissive is used, because Rosenpass is deprecated and may be removed in a future release.
  • ML-KEM on desktop: The --enable-pq-mlkem flag appears in open pull request #7098, which is not merged, so do not plan around it on released clients.

Before rollout, confirm the client version on each device and check the NetBird documentation for the current flag names.

What to check before enabling Rosenpass on NetBird peers

This sequence confirms the NetBird client version and the Rosenpass deprecation status, identifies the peers that would change behavior, and sets the strict or permissive mode before anything is switched on. It ends with a recorded inventory entry that shows which version and setting each peer runs.

  1. Confirm the client version and deprecation warning

    Check the NetBird client version on each peer that you plan to change, using the client's version command on the device. Confirm that the version is v0.82.0 or later, because from that release netbird up prints a warning when --enable-rosenpass or --rosenpass-permissive is used. Note that the docs say Rosenpass is deprecated and may be removed in a future release. This step is done when you have a written list of each peer's version and a note that the warning appears in your test output.

  2. Identify which peers will be affected

    List every peer that would switch to Rosenpass, along with the peers it connects to. Rosenpass is enabled per device, and the docs say there is no account-wide switch in the dashboard, so each device has to be checked on its own. A Rosenpass-enabled peer connects only to other Rosenpass-enabled peers unless permissive mode is set, so the list should include any peer that would lose a connection. This step is done when you have a list of affected peers and a matching list of the peers they must still reach.

  3. Decide between strict and permissive mode

    Choose strict mode, which uses --enable-rosenpass, or permissive mode, which uses --rosenpass-permissive. In strict mode, a peer connects only to other Rosenpass-enabled peers. In permissive mode, peers that do not have Rosenpass fall back to standard WireGuard without pre-shared keys. Record the decision for each peer group, since the choice determines whether a connection without the feature can still form. This step is done when every peer group has a written mode and a short reason for it.

  4. Enable Rosenpass on a test peer

    Turn on Rosenpass on one test peer using netbird up with the mode you chose, the desktop Settings Security toggle, or the MDM keys rosenpassEnabled and rosenpassPermissive on managed devices. Watch the command output for the deprecation warning. Confirm the setting took effect on the device before you move to the next step. This step is done when the test peer shows the setting active and the warning appears in its output.

  5. Verify tunnels form only with enabled peers

    Connect the test peer to another Rosenpass-enabled peer and confirm the tunnel forms. Then check the behavior with a peer that does not have Rosenpass enabled. In strict mode the tunnel should not form, and in permissive mode it should fall back to standard WireGuard. Use the NetBird status output on the test peer to see each connection's state. This step is done when you have recorded the result for both cases and the results match the mode you chose.

  6. Record the version and setting in the inventory

    Add each peer to your inventory with its NetBird client version, its Rosenpass mode (off, strict or permissive), and the date of the check. Include the Management and Signal components in the same record, because the docs state that connections to Signal and Management are not quantum-resistant. Keep the entry current when versions change, since the feature is deprecated and may be removed. This step is done when every checked peer has a dated inventory entry with its version and setting.

What breaks when peers mix Rosenpass and standard WireGuard

A Rosenpass-enabled NetBird peer will not connect to a peer that lacks Rosenpass unless permissive mode is set. Under the default strict behavior, a peer enabled with netbird up --enable-rosenpass (or the matching Settings Security toggle, mobile setting, or the MDM keys rosenpassEnabled and rosenpassPermissive) only forms tunnels with other Rosenpass-enabled peers. Before rolling this out, administrators should list which devices in each account have Rosenpass enabled, since the docs say there is no account-wide dashboard switch. Any device left out will silently fail to reach enabled peers, so the enablement inventory should be checked against connectivity tests between each pair of device groups.

Permissive mode keeps connections working by falling back to standard WireGuard without pre-shared keys. Setting --rosenpass-permissive (or the rosenpassPermissive MDM key) lets the enabled peer connect to peers without Rosenpass, but those tunnels then have no post-quantum pre-shared key layer. Administrators should decide, per device and per network segment, whether a fallback connection is acceptable, and record which peers rely on it. Because the fallback is a per-device choice, a permissive peer can still reach strict peers only through the Rosenpass-protected path, so the effective protection depends on both ends.

Rosenpass itself is deprecated, and its command-line flags print a warning from v0.82.0. The docs state that netbird up prints a warning when --enable-rosenpass or --rosenpass-permissive is used, and that Rosenpass may be removed in a future release. Enabling ML-KEM through the proposed --enable-pq-mlkem flag, per open pull request #7098, turns Rosenpass off, so the two cannot be combined. Teams planning a rollout should confirm the current client version and the release notes before standardizing on Rosenpass, and treat the strict and permissive settings as a configuration that may need to change.

What NetBird has not published on post-quantum support

NetBird's only post-quantum feature today is Rosenpass, which is off by default and deprecated. The items below are the gaps the docs, repository and 2024 article leave open, so administrators know what to confirm with NetBird before relying on any post-quantum setting.

No released ML-KEM option

The hybrid ML-KEM exchange that would derive the WireGuard pre-shared key is in pull request #7098, which is open and not merged as of 2026-12-03. Until it is released, no --enable-pq-mlkem flag or mlkemEnabled MDM key exists in a shipped client. Ask NetBird for the release version that will include it, and do not plan a rollout around a flag you cannot yet find in a released build.

PR 7098

Unconfirmed ML-KEM parameter set

The sources disagree on which parameter set the ML-KEM exchange uses. PR #7098 names ML-KEM-1024, while the open docs pull request names X25519MLKEM768. Ask NetBird to state the parameter set in the released documentation and in the client's own output, and record the answer with the version it applies to.

Docs PR 1146

No account-wide dashboard switch

Rosenpass is enabled per device through netbird up --enable-rosenpass, the desktop Security toggle, mobile settings or the MDM keys, and the docs say there is no account-wide dashboard switch. Administrators cannot turn it on for every peer from the management console. Ask NetBird whether a dashboard or account-level control is planned, and inventory each device yourself until then.

Quantum docs

No post-quantum signature support

The docs, FAQ and README name no post-quantum signature algorithm such as ML-DSA or SLH-DSA. Peer authentication and the embedded identity provider are described without one, and the SSH and auto-update pages name none either. Ask NetBird whether signatures for peer identity, tokens and updates are on its roadmap, and what the current signing algorithms are.

Docs FAQ

No FIPS or CNSA 2.0 statement

NetBird has published no FIPS validation statement and no CNSA 2.0 statement on the quantum-resistance docs page, the docs FAQ or the GitHub README. Federal and defense buyers who require either should ask NetBird for a written position, including whether any module is validated and under which version. Do not infer one from the WireGuard or Rosenpass material.

Docs FAQ

Signal and Management not quantum-resistant

NetBird's 2024 Rosenpass article states that connections to Signal and Management are not quantum-resistant. Rosenpass protects only the WireGuard data path between peers, so control-plane traffic keeps its current exposure. Ask NetBird whether it plans to extend post-quantum protection to those connections and on what timeline.

Rosenpass article

No Rosenpass removal timeline

The docs state Rosenpass is deprecated and that it may be removed in a future release. From v0.82.0, netbird up prints a warning when --enable-rosenpass or --rosenpass-permissive is used. NetBird has not published a removal date, so ask for one and for its replacement path before building Rosenpass into standard configurations.

Quantum docs

Questions administrators ask about enabling NetBird post-quantum options

Is NetBird quantum safe?

No product can be called quantum safe on the strength of one feature, and NetBird does not make that claim. What NetBird documents today is an optional Rosenpass layer that rotates WireGuard pre-shared keys using Classic McEliece and Kyber, turned on per device. The NetBird docs state that Rosenpass is deprecated and may be removed in a future release. Signal and Management connections are not quantum-resistant, according to NetBird's 2024 Rosenpass article. The base WireGuard handshake uses Curve25519, which is not post-quantum. NetBird has published no post-quantum signature support and no FIPS or CNSA 2.0 statement on the pages checked. Confirm the current status with NetBird before recording an answer.

Which NetBird version should I run for post-quantum options?

The Rosenpass option has been available as an embedded server since v0.25.4, according to the NetBird quantum-resistance docs. Running v0.82.0 or later means the client prints a deprecation warning when you use --enable-rosenpass or --rosenpass-permissive. The ML-KEM hybrid exchange is not in a released version as of 2026-12-03. It sits in pull request #7098, which is open and unmerged, and its parameter set is unconfirmed because the code and docs disagree. Run the latest release available to you, then check the release notes for the feature and for any removal of Rosenpass before you plan around either option.

Does enabling NetBird post-quantum key exchange cost extra?

The NetBird documents checked do not state any price for post-quantum options, and the Rosenpass option is set per device rather than as an account-wide licensed feature. The cost you actually pay depends on your deployment and the work it takes to test and roll out the setting across your fleet. Ask NetBird whether the feature sits on a particular plan or edition, and confirm what your current license covers. Ask for any cost of running a self-hosted server that you would need to change. Ask your own team or a partner for the labor estimate, since it depends on your device count and change process.

Can an administrator enable NetBird post-quantum options without NetBird's help?

Yes, the Rosenpass option is designed to be enabled by the administrator on each device. Use the command netbird up --enable-rosenpass, the desktop Settings Security toggle, the mobile settings, or the MDM keys rosenpassEnabled and rosenpassPermissive. The docs say there is no account-wide dashboard switch, so you must set each device separately. Peers only connect to other Rosenpass-enabled peers unless --rosenpass-permissive is set, so plan the rollout order to avoid cutting off devices. The ML-KEM option is not yet released, so its enable steps are not final.

Which MDM settings enable NetBird post-quantum key exchange across a fleet?

For the Rosenpass option, set the MDM keys rosenpassEnabled and rosenpassPermissive on each managed device. Permissive mode lets Rosenpass peers fall back to standard WireGuard without pre-shared keys when the other side does not support it, so it eases a phased rollout. Strict mode blocks those fallbacks. Pull request #7098 proposes an mlkemEnabled key for the ML-KEM option, but that key is not in a released build as of 2026-12-03, so do not deploy it yet. Test the settings on a pilot group, confirm each device reports the expected state, and keep a record of the keys you applied.

Do we need outside help to enable NetBird post-quantum options?

Many teams can enable the Rosenpass option themselves, since the steps are per-device commands and MDM keys. Outside help is more useful for the parts that touch your security evidence, such as inventory of where cryptography is used, testing peer connectivity across mixed fleets, and documenting what is and is not covered. DeployOpen offers security testing and compliance readiness support for self-hosted platforms in the client's own infrastructure, and delivers fixed-scope engagements with the scope agreed in writing before work starts. DeployOpen is not an official NetBird partner, and it does not issue audit reports or certifications.

What should I confirm with NetBird before relying on post-quantum options?

Ask NetBird these points in writing and record the answers with the date. First, whether Rosenpass will be removed and what replaces it. Second, when pull request #7098 will be released and which parameter set it uses. Third, whether any post-quantum signature support or FIPS or CNSA 2.0 statement is planned. Fourth, whether Signal and Management connections will gain post-quantum protection. Fifth, which edition or plan includes these features. Keep the answers with your inventory record, since the NetBird docs and open pull requests can change between your evaluation and your rollout.

How a Rosenpass-enabled peer decides which tunnels get a pre-shared key

The decision starts on each device, where Rosenpass is switched on with netbird up --enable-rosenpass, the Settings Security toggle, the mobile setting, or the rosenpassEnabled MDM key. When a peer opens a WireGuard tunnel, it checks whether the other peer also runs Rosenpass. If both do, the tunnel gets a pre-shared key that Rosenpass rotates about every two minutes. If the other peer does not run Rosenpass and --rosenpass-permissive (or rosenpassPermissive) is set, the tunnel falls back to standard WireGuard with no pre-shared key. Check the flag on both sides, because a peer without permissive mode will not connect to a non-Rosenpass peer.

Decision path for Rosenpass pre-shared keys on each NetBird tunnel.

How DeployOpen helps plan and document post-quantum settings on NetBird

DeployOpen works with administrators who want to evaluate or document the optional post-quantum settings in NetBird. We scope the work against your deployment, separate the Rosenpass feature from the open hybrid ML-KEM proposal, and record what each setting does and does not cover. The result is a written plan and configuration record you can review with your security and compliance teams.

How we scope

  • We confirm which NetBird clients, versions and Management setup are in use before any setting is discussed.
  • We check whether your team needs Rosenpass, which is deprecated per the NetBird docs, or waits on the open ML-KEM pull request.
  • The written scope lists which devices, accounts and settings are covered, and what is left for NetBird to confirm.

How we build

  • We document the per-device enablement path, including the netbird up flag, the desktop Security toggle and the MDM keys.
  • We test mixed fleets, since Rosenpass peers only connect to other Rosenpass peers unless permissive mode is set.
  • We record which connections stay outside post-quantum protection, such as Signal and Management, for your review.

How we hand over

  • You receive a configuration record listing each device group, client version and enabled setting with its date.
  • The record states which parts of the data path are covered and which are not, using the NetBird docs as the source.
  • We include a list of open questions to confirm with NetBird, including the unresolved ML-KEM parameter set.

How we support

  • Ongoing support is available as a retainer to recheck the NetBird docs and pull requests as the feature status changes.
  • We can retest settings after each NetBird client upgrade so the documented configuration matches what runs.
  • Support covers updating the record when NetBird merges, renames or removes a post-quantum option.

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.