Libreswan post-quantum roadmap and project notices

Libreswan 5.4 adds ML_KEM_768 key exchange, but the project has published no roadmap for post-quantum signatures, ML-KEM-1024 or CNSA 2.0 as of 2026-12-03.

On this page

What has Libreswan published on its post-quantum roadmap?

As of 2026-12-03, Libreswan has published no roadmap for post-quantum signatures, ML-KEM-1024 or CNSA 2.0. The one post-quantum change the project has documented is ML_KEM_768 key exchange in Libreswan 5.4, dated August 13, 2026, which the changelog says requires NSS 3.118.1 or newer. Security leads and vendor-risk reviewers recording an answer for a Libreswan deployment should record exactly this: a documented key exchange addition, and no published statement on signatures or the CNSA 2.0 profile. Network engineers should not read the 5.4 entry as a general post-quantum commitment.

The project home page, checked on 2026-12-03, lists only one post-quantum item: a completed 2017 project on post-quantum preshared keys. It does not mention ML-KEM, FIPS or CNSA 2.0. The 5.4 series changelog and release notes, checked on the same date, do not mention ML-DSA, SLH-DSA or any post-quantum signature authentication for v5.4, v5.4.1 or v5.4.2. Those three pages are the sources a reviewer should cite when recording the absence of a roadmap.

Two points remain open and should be confirmed with the project before they go into an audit record. Rocky Linux 10.3 release notes say its Libreswan 5.4 adds both ML-KEM-768 and ML-KEM-1024 in IKEv2, while the upstream changelog names only ML_KEM_768. The changelog also lists an IKE_FOLLOWUP_KE entry for 5.4 that a third-party copy of the man page contradicts. Ask the project maintainers, or the distribution maintainer if Libreswan comes from a packaged build, which parameter set the binary you run actually accepts. Record the distribution build version alongside the answer, since packaged builds can differ from upstream.

The status above reflects the pages checked on 2026-12-03 and can change with any new release or roadmap post. Re-check the Libreswan home page, the CHANGES file and any project mailing list notices before each review cycle, and date the recorded answer.

Which Libreswan release and component each post-quantum fact applies to

This table lists each post-quantum-related fact from the Libreswan roadmap and notices, the release and component it applies to, and the source and check date for it. Read each row as a scoped claim: a feature in one release and component does not imply support elsewhere. Items marked as unresolved need confirmation before you record them in an inventory.

Release and componentWhat the source documentsSource and check dateStatus for your records
5.4, IKE_SA_INIT and IKE_INTERMEDIATE (ML_KEM_768)ML_KEM_768 key exchange added in both exchanges, requires NSS 3.118.1 or newerLibreswan CHANGES and 5.4 GitHub release, checked 2026-12-03Documented; confirm NSS version on each host
5.4, RFC 9370 multiple key exchange (IKE_ADDITIONAL_KE)Multiple key exchanges implemented, IKE_INTERMEDIATE updated to RFC 9370Libreswan CHANGES and 5.4 GitHub release, checked 2026-12-03Documented; enablement settings not confirmed in sources
5.4, RFC 9593 SUPPORTED_AUTH_METHODSSupport added for the SUPPORTED_AUTH_METHODS exchangeLibreswan CHANGES and 5.4 GitHub release, checked 2026-12-03Documented; not a post-quantum signature feature
5.4, IKE_FOLLOWUP_KECHANGES lists support; a third-party mirror of the ipsec.conf man page says 5.4 does not support itLibreswan CHANGES and ipsec.conf man page mirror, checked 2026-12-03Unresolved conflict; confirm with the project before relying on it
5.4.1, FIPS-related CVE testTest entry for CVE-2026-77205 (fips-cert-leak), a denial of service issueLibreswan CHANGES, entry dated October 5, 2026, checked 2026-12-03Only FIPS-related v5.4 series entry found; not a post-quantum item
ppk (post-quantum preshared keys, RFC 8784)Marked EXPERIMENTAL in the ipsec.conf man page, values propose, yes, insist, never or noLibreswan ipsec.conf man page, checked 2026-12-03Experimental; not tied to a specific 5.4 release in the sources
5.4.1 and 5.4.2, post-quantum signatures (ML-DSA, SLH-DSA)No entry found for ML-DSA, SLH-DSA or any post-quantum signature authenticationLibreswan CHANGES, checked 2026-12-03No documented support; confirm with the project
5.4.2, post-quantum signatures (ML-DSA, SLH-DSA)No entry found for ML-DSA, SLH-DSA or any post-quantum signature authenticationLibreswan CHANGES, checked 2026-12-03No documented support; confirm with the project

Which Libreswan parts the roadmap and notices touch

Libreswan's recent post-quantum work touches key exchange, signatures, certificates, FIPS mode and preshared keys in different ways. The cards below separate what the project's notices establish from what they leave open, so each component can be checked on its own.

IKE key exchange

Libreswan 5.4 added ML_KEM_768 in the IKE_SA_INIT and IKE_INTERMEDIATE exchanges, and implemented IKE_ADDITIONAL_KE for RFC 9370 multiple key exchanges. The changelog does not describe ML-KEM as enabled by default, so it appears to require adding an additional key exchange such as addke1= to ike=. Confirm the exact setting in the 5.4 documentation before relying on it. The release notes also name ML-KEM-1024 in one downstream distribution, while the upstream changelog names only ML_KEM_768.

Libreswan CHANGES

Authentication and signatures

The v5.4, v5.4.1 and v5.4.2 changelog entries do not mention ML-DSA, SLH-DSA or any post-quantum signature authentication. Authentication in the authby= and leftrsasigkey settings still relies on RSA and ECDSA signatures. No post-quantum signature support is documented. The notices do not say whether one is planned, so ask the project or check future release notes before assuming any change.

ipsec.conf man page

Certificates and the NSS database

Certificates are kept in an NSS database at /var/lib/ipsec/nss by default, or in a directory chosen with --nssdir. Libreswan 5.4 requires NSS 3.118.1 or newer for ML_KEM_768. Check which NSS version your Libreswan build links against, since the minimum is a dependency and not a Libreswan setting. The notices do not describe any post-quantum certificate format or issuance support.

Libreswan documentation

FIPS mode

The only FIPS-related v5.4 series entry is a test for CVE-2026-77205, a denial of service named fips-cert-leak, in v5.4.1 dated October 5, 2026. The man page notes that some hash methods such as MD5 may be unavailable in FIPS mode, and that seedbits should be at least 460 bits. The notices do not mention ML-KEM, CNSA 2.0 or FIPS validation status for post-quantum algorithms, so check FIPS validation status with the project before assuming post-quantum algorithms are covered.

Experimental ppk preshared keys

The ppk= option is documented as EXPERIMENTAL and is based on RFC 8784, with values propose, yes, insist and never or no. The home page lists a completed 2017 project on post-quantum preshared keys. The notices do not state whether this option is supported for production use, so treat it as experimental unless the vendor says otherwise. Check the current man page before enabling it in any environment.

ipsec.conf man page

How the roadmap answer differs by version line and distribution

The upstream Libreswan project is the source of truth for what the 5.4 series contains. Its CHANGES file records that v5.4, dated August 13, 2026, added ML_KEM_768 support in the IKE_SA_INIT and IKE_INTERMEDIATE exchanges and requires NSS 3.118.1 or newer. The same series adds RFC 9370 multiple key exchanges and RFC 9593 SUPPORTED_AUTH_METHODS support. The project's home page lists 5.4.2 as the current release as of December 3, 2026, and it does not mention ML-KEM, FIPS or CNSA 2.0 on that page.

  • ML-KEM variant: The upstream changelog names only ML_KEM_768 for the 5.4 series.
  • Post-quantum signatures: The v5.4, v5.4.1 and v5.4.2 entries do not mention ML-DSA, SLH-DSA or any post-quantum signature authentication.
  • Roadmap statements: No roadmap statement on ML-DSA, SLH-DSA, ML-KEM-1024 or CNSA 2.0 appears on the home page, the CHANGES file or the 5.4 release notes that were checked.
  • Default behavior: The changelog does not describe ML-KEM as enabled by default, so it likely needs an additional key exchange such as addke1= in ike=.
  • Open item: The CHANGES file lists IKE_FOLLOWUP_KE support for 5.4, but a third-party mirror of the ipsec.conf man page says 5.4 does not support it. Confirm this with the project before relying on it.

Check the exact release tag you run against the CHANGES file and the release notes, and record the date you checked.

What to check before recording a Libreswan answer

This sequence pins down the exact Libreswan and NSS versions, confirms whether ML-KEM is configured in your connection definitions, checks the distribution's package notes, and sends the open questions to the vendor. The result is a record that states what was verified and what remains unconfirmed.

  1. Record the installed Libreswan and NSS versions

    Run ipsec version on each gateway to capture the Libreswan release, and record the NSS library version from your package manager, for example with rpm -q nss or dpkg -l libnss3. Libreswan 5.4 added ML_KEM_768 support and requires NSS 3.118.1 or newer, so both numbers decide whether the feature is available at all. This step is done when each gateway has a dated entry with the Libreswan version, the NSS version, and the hostname it came from.

  2. Confirm ML_KEM_768 is configured in ike=

    Open the connection definitions in /etc/ipsec.conf or the included files and check the ike= line for an additional key exchange such as addke1=ML_KEM_768. The Libreswan changelog does not describe ML-KEM as on by default, so a connection with no addke entry should be treated as not using it. Record each connection name and whether it lists an ML-KEM group, and mark this step closed only after every production tunnel has been checked.

  3. Check the ML-KEM-1024 entry in the distribution notes

    The Rocky Linux 10.3 release notes state that its Libreswan 5.4 adds ML-KEM-1024, while the upstream changelog names only ML_KEM_768. Read the package changelog and release notes for your distribution's Libreswan build with rpm -q --changelog libreswan or the equivalent, and record whether ML-KEM-1024 is listed. If the packaged text and the upstream text disagree, record both and treat the ML-KEM-1024 claim as unconfirmed until the vendor answers.

  4. Note the absence of post-quantum signature statements

    Search the 5.4, 5.4.1 and 5.4.2 changelog entries for ML-DSA, SLH-DSA or any post-quantum signature authentication. None are documented on the pages checked, so record that no post-quantum signature support appears in the release notes. Authentication in your connections still relies on RSA or ECDSA certificates as configured, and that should be written down alongside the ML-KEM result.

  5. Resolve the IKE_FOLLOWUP_KE question

    The Libreswan CHANGES file lists IKE_FOLLOWUP_KE support for 5.4, but a third-party mirror of the ipsec.conf man page says 5.4 does not support it. Check the current man page on libreswan.org and the source changelog for your exact version, and note which statement matches your build. Mark this step closed only when you have recorded a single answer or an explicit note that the conflict remains.

  6. File the open vendor questions

    Send the Libreswan project or your distribution's security contact a written list covering the ML-KEM-1024 status, the IKE_FOLLOWUP_KE conflict, any post-quantum signature roadmap, and any FIPS-mode limits for ML-KEM. Include the version and NSS numbers from step one so the answer applies to your build. The step is closed when the request has a reference number or a dated reply, and the answer is filed with the inventory record.

What Libreswan has not published and what to ask the project

The Libreswan project has not published a post-quantum roadmap covering signatures, ML-KEM-1024, CNSA 2.0 or timing. The gaps below were checked against the home page, the CHANGES file, the 5.4 release notes and the ipsec.conf man page, and each one has a specific question to put to the project or to confirm in your own configuration.

No roadmap for post-quantum signatures

The v5.4, v5.4.1 and v5.4.2 changelog entries do not mention ML-DSA, SLH-DSA or any post-quantum signature authentication. Current authentication in Libreswan still rests on RSA and ECDSA signatures, so a certificate-based tunnel has no documented post-quantum signature path. Ask the project whether signature authentication is planned, and check the CHANGES file and release notes before each upgrade for any new entry on it.

Libreswan CHANGES

No upstream statement on ML-KEM-1024

Rocky Linux 10.3 release notes state that its Libreswan 5.4 adds ML-KEM-1024 key exchange, while the upstream changelog names only ML_KEM_768. Libreswan has not stated whether ML-KEM-1024 is supported upstream. Ask the project directly, and confirm with your distribution vendor which Libreswan build and parameter set you are actually running.

Rocky Linux 10.3 announcement

No CNSA 2.0 statement

Neither the Libreswan home page, the CHANGES file nor the 5.4 release notes mention CNSA 2.0 or FIPS-related post-quantum support. Organizations that must meet CNSA 2.0 for national security systems cannot rely on any Libreswan statement about it. Ask the project whether it intends to address CNSA 2.0, and whether any FIPS-mode testing is planned for the post-quantum algorithms.

Libreswan home page

No published timeline

The project has not published dates or milestones for post-quantum signatures, for ML-KEM-1024, or for resolving the IKE_FOLLOWUP_KE question. The only dated entries are the 5.4 changes from August 13, 2026 and the later point releases. Ask the project for a planned release target for each open item, and record its answer with the date you received it.

Libreswan 5.4 release

Unresolved IKE_FOLLOWUP_KE support

The CHANGES file lists IKE_FOLLOWUP_KE support as a 5.4 entry, but the ipsec.conf man page copy read through a third-party mirror says 5.4 does not support it. This conflict is unresolved in the sources checked. Ask the project which statement is correct, and test a lab tunnel that uses IKE_FOLLOWUP_KE before relying on it in production.

ipsec.conf man page

No documented minimum RSA key size

The ipsec.conf man page does not state a minimum RSA key size for certificates or for leftrsasigkey. The page describes FIPS seedbits, but not a key length floor. Ask the project for its recommended and minimum RSA key sizes, and check the size of each certificate in your NSS database at /var/lib/ipsec/nss directly against your own policy.

ipsec.conf man page

What can go wrong when relying on these notices

The most consequential risk is a silent fallback to classical key exchange. Libreswan 5.4 adds ML_KEM_768 to the IKE_SA_INIT and IKE_INTERMEDIATE exchanges, but the changelog does not describe ML-KEM as enabled by default, and no vendor statement says it is on without configuration. Based on the changelog, it appears to require an additional key exchange such as addke1= in ike=. A connection that omits that option will keep negotiating its existing classical groups, and nothing in the link state will show that the post-quantum exchange was never offered. Teams should check the negotiated proposal on each connection in their own environment, not infer it from the release notes, and confirm the exact syntax against the current ipsec.conf documentation.

The notices also describe a build dependency that many deployments will not meet automatically. The 5.4 changelog says ML-KEM support requires NSS 3.118.1 or newer. Libreswan uses NSS for its crypto and certificate store, so an older NSS on a distribution can leave the feature unavailable even when the Libreswan version looks current. Distribution packages add a second variable. The Rocky Linux 10.3 release notes say its Libreswan 5.4 adds ML-KEM-768 and ML-KEM-1024, while the upstream changelog names only ML_KEM_768. Before relying on any parameter set, confirm with the packager which ML-KEM variants and which NSS version the installed package actually contains.

Finally, treat the man page as a dated source. The ipsec.conf page available at libreswan.org does not contain addke, ML-KEM or nssdir, so it predates the 5.4 work. A third-party mirror was the only copy one reviewer could read for the 5.4 entry on IKE_FOLLOWUP_KE, and that copy says 5.4 does not support it, while the upstream CHANGES file lists it. Record that point as unresolved. Check the man page for the exact release you deploy, and ask the vendor or project to confirm any setting you intend to document in your evidence.

Questions security leads ask about Libreswan post-quantum notices

Is Libreswan quantum safe?

No product can be called quantum safe on the basis of the sources reviewed, and Libreswan does not make that claim. What the project has published is narrower: Libreswan 5.4, dated August 13, 2026, added support for ML_KEM_768 in the IKE_SA_INIT and IKE_INTERMEDIATE exchanges, and it requires NSS 3.118.1 or newer. That is post-quantum key exchange support, not post-quantum authentication. The changelog entries for v5.4, v5.4.1 and v5.4.2 do not mention ML-DSA, SLH-DSA or any post-quantum signature method, so certificates and RSA or ECDSA signatures remain classical. Confirm the exact supported set against the release you run, since the upstream changelog and a downstream distribution note name the ML-KEM variants differently.

Which Libreswan version adds ML-KEM support?

Libreswan 5.4 added ML-KEM support. The upstream changelog dates v5.4 to August 13, 2026, and lists ML_KEM_768 support in the IKE_SA_INIT and IKE_INTERMEDIATE exchanges, with a requirement of NSS 3.118.1 or newer. Rocky Linux's 10.3 release notes state that its Libreswan 5.4 adds ML-KEM-768 and ML-KEM-1024 in IKEv2, while the upstream changelog names only ML_KEM_768. If you run a distribution package, check whether it ships upstream 5.4 and which ML-KEM variants its build includes, and confirm the NSS version it links against.

Is ML-KEM enabled by default in Libreswan?

The sources reviewed do not describe ML-KEM as on by default. The v5.4 changelog entries do not state a default, and no vendor statement was found saying it is enabled without configuration. It appears that ML-KEM must be added as an additional key exchange in the ike= setting, such as addke1= alongside the existing proposal. Treat this as unconfirmed until you test it: review the ike= and related settings in your ipsec.conf, run a test connection, and check the negotiated key exchange in the pluto logs before assuming a tunnel uses ML-KEM.

Does Libreswan have a roadmap for post-quantum signatures?

Not as far as the published sources show. The Libreswan home page, the CHANGES file and the 5.4 release notes contain no roadmap statement on ML-DSA, SLH-DSA, ML-KEM-1024 or CNSA 2.0. The only post-quantum item on the home page is a completed 2017 project on post-quantum preshared keys, which the ipsec.conf man page describes as experimental under ppk. Authentication therefore still relies on RSA and ECDSA signatures and certificates. Ask the project directly, or through your distribution or support contract, whether post-quantum signature support is planned and on what timeline, and record the answer with its date.

Does Libreswan post-quantum support cost extra?

Libreswan is free software distributed under GPLv2, so the software itself carries no license fee. The costs that matter are the work and the surrounding components. Those include upgrading to 5.4 or a distribution build that includes it, ensuring NSS 3.118.1 or newer is present, testing the tunnels that peer with it, and any support contract you hold with a distribution or a service provider. Ask your distributor or provider for a written quote covering the upgrade, testing and ongoing support, and confirm whether the quote separates one-time effort from recurring maintenance. No cost figure was supplied in the sources reviewed, so none is stated here.

Can our team do the Libreswan post-quantum work ourselves?

Often yes, if your team is comfortable with ipsec.conf, NSS databases and IKEv2 peer testing. The steps are a version check, an NSS version check, a test of ML-KEM in a lab tunnel, and then a staged rollout with rollback. The harder parts are coordination and evidence: every peer on the other end of each tunnel must also support the same key exchange, and each change needs records for an audit. If your environment has many sites, a mix of vendors, or compliance deadlines, an outside team can plan the sequence and prepare the evidence. DeployOpen plans, implements and hardens self-hosted open-source platforms in client infrastructure, and it prepares systems and evidence for compliance assessments, though it does not issue audit reports. Scope and deliverables are agreed in writing before work starts.

What should we confirm before relying on Libreswan for post-quantum key exchange?

Confirm four things and record each answer with a date. First, the exact Libreswan build you run and whether it is upstream 5.4 or a distribution release that includes the ML-KEM change. Second, the NSS version linked at runtime, which must be 3.118.1 or newer for ML_KEM_768. Third, that the connection shows an ML-KEM key exchange in logs after you add it to ike=, and that the peer also supports it. Fourth, the vendor or project position on post-quantum signatures, since authentication is not covered by the 5.4 changes. A tunnel that negotiates ML-KEM still authenticates with classical keys unless that changes, so describe the protection precisely in your records rather than as a full post-quantum tunnel.

How DeployOpen helps plan Libreswan post-quantum work

DeployOpen helps teams turn the published Libreswan project notices into a written plan for their own VPN gateways. We start from what the Libreswan project has and has not published, then scope the work against your current configuration, certificates and NSS database.

How we scope

  • We record the Libreswan version and NSS release in use, and check each against the 5.4 changelog entries.
  • We confirm with you which ike= proposals, authentication methods and certificate types each tunnel depends on.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts.

How we build

  • We test any ML-KEM key exchange in a lab copy of your gateway, adding a second key exchange only where the configuration calls for it.
  • We record which settings are documented and which are unresolved, such as the IKE_FOLLOWUP_KE question in the changelog.
  • We keep the existing classical settings in place during testing so each tunnel can be rolled back.

How we hand over

  • You receive a written inventory of Libreswan versions, ipsec.conf settings, certificates and NSS database locations.
  • Each open point is listed with the vendor statement it depends on, dated to the source checked.
  • The handover includes the test results and the configuration changes made, so your team can review them.

How we support

  • Ongoing support and upgrade work can be scoped as a retainer once the handover is complete.
  • We recheck the Libreswan project pages and changelog when a new release is published, and report any change to your plan.
  • Ask any quote to name the Libreswan version, NSS version and tunnel count that the work covers.

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.