What a post-quantum upgrade of GnuTLS involves: builds, dependencies and applications

A post-quantum upgrade of GnuTLS in the sources reviewed means building against leancrypto with the right Nettle and GMP versions, then adding hybrid groups to your priority strings. Status is as of 2026-12-04.

On this page

What does a post-quantum upgrade of GnuTLS require today?

If you are planning a GnuTLS upgrade for post-quantum support, the sources reviewed on 2026-12-04 show three requirements. The build must include leancrypto (selected with --with-leancrypto), GnuTLS must link against a supported Nettle and GMP, and hybrid key exchange groups must be requested explicitly through priority strings. The default NORMAL priority list does not include an ML-KEM group, so a default configuration will not negotiate one. The latest release in the GnuTLS NEWS file is 3.8.14, dated 2026-11-18, while the project website still shows 3.8.13 (released 2026-04-29) as the latest release, so confirm the version you deploy against the release notes and the tarball itself.

The change matters to anyone whose GnuTLS builds terminate TLS or sign with certificates, including servers, proxies, client tools and applications that embed the library. Build changes deserve the most attention. Since 3.8.14, the internal libtasn1 copy and the --with-nettle-mini option are gone, and GMP is required. Since 3.8.11, the minimum Nettle version is 3.10, and 3.8.13 adds support for Nettle 4.0 while keeping 3.10 supported. Confirm which Nettle and GMP versions your distribution packages before scheduling an upgrade, because a build that works on the previous release may fail on the new one.

Licensing and build tooling are the remaining items to check. Leancrypto's repository labels its license GPL-2.0 and ships LICENSE, LICENSE.bsd and LICENSE.gplv2 files, so have counsel read the terms that apply to your distribution. Its primary build system is Meson, which differs from the Automake tooling GnuTLS uses for its own build, so your build pipeline needs both toolchains. Also note that the GnuTLS manual and NEWS describe leancrypto as the only post-quantum provider since 3.8.10 and the default TLS versions (TLS 1.0, 1.1 and DTLS 1.0) as still enabled, with a future release planned to disable them. Confirm the current state of these items with the project and in your own test builds.

Build and version requirements by GnuTLS release

This table lists each GnuTLS release from 3.8.8 to 3.8.14 with its source date and the build or post-quantum change that affects an upgrade. Read it top to bottom to see which dependencies, configure options and key exchange or signature features changed in each release. The main takeaway is that from 3.8.14, GMP is required, and the NEWS file on master lists 3.8.14 as newest while the gnutls.org front page still shows 3.8.13.

ReleaseSource dateBuild and post-quantum change
3.8.82024-11-05Added experimental X25519MLKEM768 and SecP256r1MLKEM768 key exchange in TLS 1.3, and made --with-liboqs accept yes, link, dlopen or no
3.8.92025-02-07Added leancrypto as an experimental build option via --with-leancrypto, ML-KEM-1024 as the SecP384r1MLKEM1024 hybrid, and ML-DSA signatures
3.8.102025-07-08Made leancrypto the only post-quantum provider, removed the X25519Kyber768Draft00 group and liboqs support, and allowed ML-DSA-44, ML-DSA-65 and ML-DSA-87 in TLS
3.8.112025-11-18Raised the minimum Nettle version to 3.10, and made the MAC for TLS 1.3 PSK binders configurable
3.8.132026-04-29Added build support for Nettle 4.0 while keeping Nettle 3.10 supported, zeroized the hybrid shared secret, and added HPKE as a technology preview via --enable-hpke
3.8.142026-11-18Removed --with-nettle-mini so GMP is required, removed the internal libtasn1, added --enable-tls11-support, and added raw ML-DSA public key import and export
Release status noteChecked 2026-12-03The NEWS file on master lists 3.8.14 as newest, while the gnutls.org front page still names 3.8.13 as the latest release, so confirm the current version with the project before planning

Which build components and dependencies an upgrade touches

A GnuTLS upgrade touches more than the library itself. Recent releases changed which Nettle, GMP, libtasn1 and post-quantum components a build needs, and the core library and tools carry different license terms. Check each item below against the build you run before planning the change.

Nettle version requirements

GnuTLS 3.8.11 raised the minimum Nettle version to 3.10. GnuTLS 3.8.13 added support for building with Nettle 4.0 and states that Nettle 3.10 remains supported. Confirm which Nettle version your distribution or build pipeline provides, and test the build against 4.0 before moving to it, since the sources listed here do not describe any behavior differences between the two.

GnuTLS NEWS file

GMP now required

GnuTLS 3.8.14 removed the --with-nettle-mini configure option, so builds must now link against GMP. Builds that relied on the mini variant need GMP installed and detected at configure time. Check the configure log and the linked libraries of the built binary to confirm the dependency is present in every target environment.

GnuTLS 3.8.14 notes

leancrypto as an experimental option

GnuTLS 3.8.9 described leancrypto as an interim, experimental post-quantum provider, enabled only with --with-leancrypto. Since 3.8.10 it is the only post-quantum provider in GnuTLS. Its repository uses Meson, with the steps meson setup build, meson compile -C build, meson test -C build and meson install -C build. Its LICENSE, LICENSE.bsd and LICENSE.gplv2 files set the terms that apply, and the leancrypto README does not mention GnuTLS, so confirm the integration with the GnuTLS project before relying on it.

leancrypto repository

libtasn1 bundled copy removed

GnuTLS 3.8.14 removed the internal copy of libtasn1 together with its related configure option. Builds that used the bundled copy must now supply a system or separately built libtasn1. Confirm that the installed version meets the library's requirements and that packaging scripts no longer pass the removed option.

GnuTLS 3.8.14 notes

Build tools and runtime requirements

The GnuTLS README lists Automake 1.11.3 or later and Python 3.6 or later among its build requirements, along with Nettle, p11-kit, gperf, bison and Libtool. Check each tool's version on the build host, especially on older CI images, since missing or outdated tools will stop the configure step. Confirm these requirements against the README for the exact release you build.

GnuTLS README

License terms across components

The core libraries, libgnutls and libdane, are licensed under LGPL 2.1 or later. The extra/, src/ and tests/ components are GPLv3 or later unless a file says otherwise. If you ship command-line tools or link code under different terms, review how the tools' GPLv3+ license interacts with your distribution and linking model with your legal team. The sources here do not give a legal conclusion, so treat this as a point to confirm.

GnuTLS README

How the upgrade path differs by starting version and build choice

GnuTLS 3.8.11 (released 2025-11-18) raised the minimum Nettle version to 3.10. If your installation is on 3.8.11 or earlier and was built against an older Nettle, the Nettle library has to be raised to 3.10 before the GnuTLS build can proceed in the normal way. This step is a prerequisite, not a post-quantum setting, but it affects every later step in the path.

  • Upgrade Nettle first: Install Nettle 3.10 or later on the build host before running the GnuTLS configure step.
  • Check the configure output: Confirm that configure reports the Nettle version you installed and does not fall back to an older library.
  • Keep 3.10 in mind for later upgrades: GnuTLS 3.8.13 added support for building with Nettle 4.0 and states that Nettle 3.10 remains supported, so 3.10 is a safe baseline.
  • Rebuild dependent software: Applications linked against the old GnuTLS build may need to be relinked or restarted to pick up the new library.

After the build, run the GnuTLS test suite and confirm with gnutls-cli --version that the installed library reports the expected version and Nettle linkage.

Sequence for a planner to confirm before a GnuTLS upgrade

This sequence lets a planner confirm the GnuTLS version, its build dependencies, the leancrypto license terms and the negotiated key exchange before committing to a post-quantum upgrade. Each step ends with a recorded check, so the planner knows what has been verified and what still needs the vendor or distribution.

  1. Confirm the current and packaged GnuTLS versions

    The engineer who runs the system records the GnuTLS version in use, using the library's own version reporting or the package manager's record. Then the planner compares it with the packaged version the distribution offers. The project's NEWS file lists 3.8.14 (released 2026-11-18) as the newest entry, while the gnutls.org front page on 2026-12-03 still named 3.8.13 (released 2026-04-29) as the latest release. The planner should note that gap. This step is closed when both version numbers are written down with the date they were checked.

  2. Confirm the Nettle and GMP versions

    The engineer checks which Nettle and GMP versions the current build links against. GnuTLS 3.8.11 raised the minimum Nettle version to 3.10, and 3.8.13 states that Nettle 3.10 remains supported and added support for Nettle 4.0. GnuTLS 3.8.14 removed the --with-nettle-mini option, so a build of that release must link against GMP. The planner should record whether the target version needs GMP, and whether the distribution's packaged Nettle meets the minimum. This step closes when the Nettle and GMP versions in the build environment are compared against the target release's requirements.

  3. Decide whether a leancrypto build is acceptable

    Post-quantum algorithms in GnuTLS currently come from leancrypto. GnuTLS 3.8.9 described leancrypto as an interim, experimental option selected with --with-leancrypto, and 3.8.10 made it the only provider of post-quantum cryptography. The leancrypto repository is labeled GPL-2.0 and contains the files LICENSE, LICENSE.bsd and LICENSE.gplv2, so the legal or open-source review team should read those files to determine which terms apply to the team's build and distribution. The decision is recorded with the reviewer's name and the license files they reviewed. The step closes when that written decision exists, whether it approves or declines the build.

  4. Rebuild in a test environment and run the leancrypto tests

    The engineer rebuilds the target GnuTLS version in an isolated test environment with leancrypto enabled. The leancrypto repository documents Meson as its primary build system, with the sequence meson setup build, meson compile -C build, meson test -C build and meson install -C build. The engineer runs meson test -C build against the leancrypto tree and keeps the output. The step closes when the test run completes and its results are saved, so any failures are visible before the build reaches production.

  5. Add an explicit hybrid group and check the negotiated group

    The engineer adds a hybrid key exchange group to a test priority string, because GnuTLS's default NORMAL list does not include an ML-KEM group. An example priority string, labeled illustrative, is NORMAL:-GROUP-ALL:+GROUP-X25519-MLKEM768:+GROUP-X25519. The engineer then connects a test client and records the group that was actually negotiated. GnuTLS issue 1828, filed against 3.8.12 on Fedora 43 in March 2026, reports that a server with that string negotiated plain X25519 unless +GROUP-FFDHE2048 was also listed, and the message gave no resolution. The step closes when the negotiated group is recorded for each tested version, and any mismatch with the configured string is written up.

  6. Confirm with the distribution or project whether packaged builds include leancrypto

    The planner asks the distribution's package maintainers or the GnuTLS project whether the packaged builds for the target platform are compiled with leancrypto. The sources reviewed do not say whether a given distribution package enables it, so this must be confirmed directly. The planner records the answer with the package version, the build flags if available, and the name and date of the person who confirmed. The step closes when the written confirmation is on file, because a build that lacks leancrypto cannot offer the hybrid groups tested in the previous step.

Hybrid groups are only chosen when they are explicitly added to the priority string

A client or server application passes a priority string to GnuTLS, which builds the ordered group list for the handshake. The NORMAL keyword does not include ML-KEM hybrid groups, so X25519-MLKEM768 only enters the list when the application adds it, for example with NORMAL:-GROUP-ALL:+GROUP-X25519-MLKEM768:+GROUP-X25519. During the TLS 1.3 handshake, the peers agree on a group from the lists they offer. Check the negotiated group after a test connection, because GnuTLS issue 1828 reports a server that fell back to plain X25519 unless FFDHE2048 was also listed.

Hybrid group selection depends on the priority string and the server's offered groups.

What the project has not published and what to ask

The GnuTLS project has not published several things a planner needs for a post-quantum upgrade, including SLH-DSA support, a post-quantum statement, priority strings for ML-KEM and ML-DSA, and a fix for the X25519 fallback reported in issue 1828. Each card names one gap and what to ask the project or your distribution before you plan builds, dependencies or applications around it.

No SLH-DSA in the release notes

The GnuTLS NEWS entries for 3.8.8 through 3.8.14 contain no mention of SLH-DSA (FIPS 205), so no SLH-DSA support is documented in those releases as of 2026-12-03. Ask the project whether SLH-DSA is planned and in which release, and if you need it for signatures, confirm with your distribution whether it ships in your package build. Do not assume support from the algorithm's absence in NEWS or its presence in a related library.

GnuTLS NEWS

No post-quantum or roadmap statement

On 2026-12-03 the GnuTLS website front page and README contain no post-quantum, FIPS or roadmap statement. The only roadmap-like item found is a December 2024 list post saying initial ML-DSA support was planned within a year, which is not a current commitment. Ask the project for a written statement of its post-quantum plans, dates and supported standards, and ask your distribution whether it has published its own timeline.

GnuTLS website

No ML-KEM or ML-DSA priority keywords

The GnuTLS priority strings manual, as fetched on 2026-12-03, does not list ML-KEM or ML-DSA keywords, even though the source defines hybrid groups such as X25519-MLKEM768 under HAVE_LEANCRYPTO. Planners cannot find the names to set in configuration from the manual alone. Ask the project to document the group and signature keywords for each release, and test the exact string your build accepts before relying on it.

Priority strings manual

Issue 1828 has no recorded fix

GnuTLS issue 1828, filed in March 2026 against 3.8.12 on Fedora 43, reports that a server configured with NORMAL:-GROUP-ALL:+GROUP-X25519-MLKEM768:+GROUP-X25519 negotiated plain X25519 unless FFDHE2048 was also listed. The report recorded no resolution. Ask the project whether the fallback is intended, whether a fix is planned, and which release carries it, and ask your distribution whether it has patched or documented the behavior before you rely on a hybrid group.

Issue 1828 report

What can go wrong during the upgrade

The most likely failure in a GnuTLS upgrade is a server that appears to offer post-quantum key exchange but does not. GnuTLS issue 1828, filed in March 2026 against 3.8.12 on Fedora 43, reports that a server configured with NORMAL:-GROUP-ALL:+GROUP-X25519-MLKEM768:+GROUP-X25519 negotiated plain X25519 unless +GROUP-FFDHE2048 was also listed. The message announcing the issue gave no resolution, and the sources on this page do not say whether a later release fixes it. Before relying on any hybrid group, run a test handshake against the upgraded build and confirm with a protocol analyzer or gnutls-cli debug output which group was actually negotiated. Treat a successful connection as insufficient evidence on its own.

A second risk is a build that silently lacks post-quantum support. Hybrid groups such as X25519-MLKEM768 and SECP384R1-MLKEM1024 are compiled only when HAVE_LEANCRYPTO is defined, and the GnuTLS 3.8.9 NEWS says leancrypto can only be enabled with --with-leancrypto or --with-liboqs. A build made without leancrypto will not offer these groups at all, even if the priority string names them. Check the configure output and the built library for leancrypto support before the upgrade goes to production. Leancrypto is marked experimental in the 3.8.9 NEWS, and its repository is labeled GPL-2.0, while the GnuTLS core libraries are LGPL-2.1 or later. Ask legal review to read the leancrypto license files (LICENSE, LICENSE.bsd and LICENSE.gplv2) and the combined distribution terms before deploying.

Build and legacy-protocol changes can also break an upgrade that worked before. GnuTLS 3.8.14 removed the --with-nettle-mini option, so builds must link against GMP, and it removed the internal libtasn1 copy. The 3.8.10 release removed liboqs support, so older scripts that pass --with-liboqs need revision. On the protocol side, TLS 1.0, TLS 1.1 and DTLS 1.0 remain enabled by default, and the 3.8.14 NEWS says a future release will disable them. Test whether your clients still need these versions, and consider --enable-tls11-support or the system-wide configuration file to restrict them, keeping in mind that the system file cannot re-enable anything disabled at compile time.

Common questions about upgrading GnuTLS for post-quantum support

Is GnuTLS quantum safe?

The sources do not support calling GnuTLS quantum safe, and this page does not make that claim. What the sources document is narrower: GnuTLS 3.8.8 added experimental hybrid key exchange (X25519MLKEM768 and SecP256r1MLKEM768), and 3.8.10 and later use leancrypto as the only post-quantum provider, which allows ML-DSA-44, ML-DSA-65 and ML-DSA-87 in TLS. Hybrid groups exist only in builds compiled with leancrypto, and the default priority list does not include them. The sources say nothing about compliance, certification or validation of any build, so confirm those points with the project and with your own assessor before recording an answer.

Which GnuTLS version should I use for post-quantum support?

It depends on which feature you need. GnuTLS 3.8.9 (released 2025-02-07) added ML-KEM-1024, offered only as the SecP384r1MLKEM1024 hybrid, along with ML-DSA signatures, and it marked leancrypto as experimental. GnuTLS 3.8.10 (released 2025-07-08) made leancrypto the only post-quantum provider, removed the X25519Kyber768Draft00 key exchange and allowed ML-DSA in TLS. GnuTLS 3.8.14 (released 2026-11-18) added functions to import and export raw FIPS 204 ML-DSA public keys. Because 3.8.14 also removed the internal libtasn1 copy and the --with-nettle-mini option, check your build chain before moving to it. Confirm the current stable release on gnutls.org, since the front page showed 3.8.13 when this was checked.

Does upgrading GnuTLS for post-quantum support cost extra?

The sources give no cost figures, and this page does not estimate any. The cost is in build and test work rather than in a license fee, because the core libraries are LGPL 2.1 or later and the extra, src and tests components are GPLv3 or later. Expect one-time costs for rebuilding against the required dependencies, checking the leancrypto license files, testing negotiated groups and updating priority strings. Expect recurring costs for tracking new releases and retesting after each one. Ask any vendor or partner for a written scope that lists the builds, applications and test steps covered, and what is excluded.

What breaks when I move GnuTLS to a post-quantum build?

Several changes in the release notes can affect a build or an application. Version 3.8.14 requires linking against GMP, since --with-nettle-mini is gone. It also drops the internal libtasn1 copy. Version 3.8.11 raised the minimum Nettle to 3.10, and 3.8.13 added Nettle 4.0 support while keeping 3.10. The hybrid groups are compiled only with leancrypto, so a build without it will not offer them. Hybrid negotiation was also reported in issue 1828 to fall back to plain X25519 unless FFDHE2048 was listed, and the message gave no resolution. Test negotiated groups on the real connection path rather than relying on the configuration file alone.

What should I ask GnuTLS or my vendor before upgrading?

Ask for the exact release and build options that include post-quantum support, and whether leancrypto is compiled in. Ask whether hybrid groups are enabled by default and, if not, which priority string enables them in your version. Ask whether SLH-DSA (FIPS 205) is planned, since the NEWS for 3.8.8 to 3.8.14 does not mention it. Ask whether the project has published a roadmap or a commitment for post-quantum support, because the sources show only a December 2024 mailing-list note about initial ML-DSA support. Ask for the leancrypto license terms that apply to your use, found in the LICENSE, LICENSE.bsd and LICENSE.gplv2 files. Ask for written statements on compliance, and note that the sources contain none.

Can my team upgrade GnuTLS alone, or do we need outside help?

A team with experience building C libraries and running TLS test tools can usually handle the core work. The project's README lists Automake, Python, Nettle, p11-kit, gperf, bison and Libtool as requirements, and the leancrypto build uses Meson with the standard setup, compile, test and install steps. Outside help is more useful when the work spans many applications, when you need evidence for an assessment, or when the priority strings must be checked against live traffic. DeployOpen plans and implements self-hosted open-source platforms inside the client's infrastructure, prepares evidence for compliance assessments and runs security testing. It does not issue audit reports or certifications. Scope and deliverables are agreed in writing before work starts.

How DeployOpen helps plan and test a GnuTLS post-quantum upgrade

DeployOpen plans and tests GnuTLS post-quantum changes inside the client's own infrastructure, starting from the build options, library dependencies and applications that the client actually runs. The work is scoped in writing before it starts, built and tested in a staging environment, and handed over with documentation the client's own teams can maintain.

How we scope

  • Each engagement starts with a written, fixed scope listing the GnuTLS versions, build options and applications in question.
  • We inventory which GnuTLS build options, libraries and priority files each system uses, including GMP, Nettle and leancrypto.
  • The scope states whether the client needs a hybrid key exchange, ML-DSA signatures, or only a review of current options.

How we build

  • We build GnuTLS from source with the chosen configure options, including the GMP link now required by version 3.8.14.
  • We test leancrypto builds in a staging environment against its license files, since its licenses apply to the build.
  • We verify that applications negotiate the intended group, checking priority strings that may fall back to plain X25519.

How we hand over

  • Handover includes the build steps, configure flags and priority strings used, so the client can repeat them.
  • We document each test result, including any group that did not negotiate as expected and the version it was tested on.
  • The client receives a list of open items that the project has not resolved, such as the reported issue 1828 behavior.

How we support

  • Ongoing support is available as a retainer for upgrades when new GnuTLS releases change build requirements or defaults.
  • Retesting after a GnuTLS upgrade or a change to the system-wide configuration file is included in the retainer scope.
  • Confirm with the GnuTLS project and your vendors which post-quantum features they support before relying on any setting.

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.