Which GnuTLS functions depend on RSA and elliptic-curve keys

GnuTLS key exchange, certificate signatures and certificate keys depend on RSA, finite-field DH and elliptic-curve algorithms, and the post-quantum hybrid groups must be added explicitly in priority strings, as of 2026-12-04.

On this page

Which GnuTLS handshakes and certificates rely on RSA and elliptic-curve keys today

If you need to know which GnuTLS connections, logins and signatures use RSA, DH or elliptic-curve keys, start with TLS key exchange, certificate signatures and certificate keys. In GnuTLS TLS these depend on public-key algorithms including RSA, ECDSA, EdDSA, ECDH, X25519, X448 and finite-field DH groups (FFDHE2048 to FFDHE8192). The hybrid ML-KEM groups exist in the master source, but they are not in the default NORMAL group list, so a server or client only uses them when an administrator or application adds them explicitly.

The version history matters for your inventory. GnuTLS 3.8.8 (released 2024-11-05) added experimental X25519MLKEM768 and SecP256r1MLKEM768 key exchange in TLS 1.3. GnuTLS 3.8.10 (released 2025-07-08) made leancrypto the only provider of post-quantum cryptography. GnuTLS 3.8.14 (released 2026-11-18) is the newest entry in the NEWS file, but the gnutls.org front page still named 3.8.13 as the latest release on 2026-12-03. Confirm which version a given server runs, because the website and the NEWS file disagree about the current release.

Do not treat the key size tables in the GnuTLS manual as a migration plan. The manual says its key size values are estimates valid today, with no guarantee that an algorithm will remain unbreakable or that the values will stay constant. The manual's key size page mentions quantum computers only as a possible cause of total failure of current public-key systems and does not discuss post-quantum algorithms. Use the table to map security levels to classical key sizes, and use gnutls_sec_param_to_pk_bits() to convert a level for a given algorithm, but record in your assessment that these values describe classical strength only. Ask the project or your vendor for any post-quantum guidance, since the manual itself does not provide it.

Which GnuTLS functions use which key type, and the stronger settings available

This table lists each GnuTLS function that depends on RSA, DH, ECC or other public keys, with the version it applies to and the stronger settings the sources document. Read each row against the GnuTLS version you run, because the NEWS file and website name different latest releases as of 2026-12-03. The main takeaway is that the documented post-quantum options are experimental, depend on a build flag, and are absent from the priority keyword list.

FunctionKey types in useStronger settings and statusSource and date
TLS key exchangeECDH, X25519, X448 and finite-field DH (FFDHE2048 to FFDHE8192)NORMAL lists SECP256R1, SECP384R1, SECP521R1, X25519 and X448; FFDHE groups kept last to avoid large key sharesGnuTLS source, lib/priority.c, master, checked 2026-12-04
Certificate signaturesRSA, RSA-PSS, ECDSA, EdDSA (Ed25519, Ed448)SIGN keywords include SIGN-RSA-PSS-SHA256 to SHA512 and SIGN-EdDSA-Ed25519 and Ed448; no ML-DSA keyword appears in the manualGnuTLS manual, priority strings, checked 2026-12-03
Certificate keys (certtool)RSA, RSA-PSS, RSA-OAEP, DSA, ECDSA, Ed25519, Ed448, X25519, X448--key-type and --curve options; ML-DSA support in certtool added in 3.8.9 per release notesGnuTLS manual, certtool; GnuTLS NEWS, 3.8.9
Key sizes at MEDIUM (112 bits)RSA, DH, SRP at 2048 bits; ECC at 224 bitsProfile maps to these sizes in the key size table; treat as estimates, not guaranteesGnuTLS manual, key sizes, checked 2026-12-03
Key sizes at HIGH (128 bits)RSA, DH, SRP at 3072 bits; ECC at 256 bitsHigher than MEDIUM; use --sec-param high or gnutls_sec_param_to_pk_bits() to derive sizesGnuTLS manual, key sizes and certtool, checked 2026-12-03
Key sizes at ULTRA (192 bits) and FUTURE (256 bits)ULTRA: RSA 8192, ECC 384. FUTURE: RSA 15424, ECC 512Both are classical sizes; the manual makes no post-quantum claim for themGnuTLS manual, key sizes, checked 2026-12-03
SUITEB and SECURE192 group listsSECURE192: SECP384R1, SECP521R1, FFDHE8192. SUITEB128: SECP256R1, SECP384R1. SUITEB192: SECP384R1Lists are classical groups only in the portion of lib/priority.c reviewedGnuTLS source, lib/priority.c, master, checked 2026-12-04
Post-quantum key exchange (hybrid)X25519-MLKEM768, SECP256R1-MLKEM768, SECP384R1-MLKEM1024Experimental; compiled only with leancrypto (HAVE_LEANCRYPTO); must be added explicitly to priority stringsGnuTLS source, lib/algorithms/groups.c, master, checked 2026-12-03

Which GnuTLS components touch RSA, DH and elliptic-curve keys

GnuTLS uses RSA, DH and elliptic-curve keys in several places: key exchange, certificate signatures, certificate generation, default priority lists, system overrides and older protocol versions. Each component below names what it depends on and what the sources show, so you can check your own configuration against them.

TLS key exchange through the group list

The TLS handshake negotiates a key exchange group, and GnuTLS's group list covers SECP192R1 through SECP521R1, X25519, X448 and the FFDHE2048 to FFDHE8192 finite-field groups. Elliptic-curve and finite-field DH groups are the public-key primitives here, so the classical key exchange depends on them. Check which groups your application actually allows with GROUP- keywords in its priority string, because the negotiated group determines which public-key math protects the session.

Group list source

Certificate signatures under SIGN keywords

Priority string SIGN keywords select the signature algorithms used for certificates and handshake signatures. The list includes SIGN-RSA-SHA1 through SIGN-RSA-SHA512, the RSA-PSS variants, SIGN-ECDSA-SHA1 through SIGN-ECDSA-SHA512, and SIGN-EdDSA-Ed25519 and SIGN-EdDSA-Ed448. The manual page lists no ML-DSA keyword, so no post-quantum signature can be selected through SIGN keywords as of the sources checked. Review each SIGN keyword your deployment permits and confirm it against the certificates you issue.

Priority strings manual

Certificate and key generation in certtool

The certtool utility generates keys and certificates with key types that include RSA, RSA-PSS, RSA-OAEP, DSA, ECDSA, Ed25519, Ed448, X25519 and X448. The --curve option lists secp192r1 through secp521r1, and --sec-param accepts low, legacy, medium, high and ultra as an alternative to --bits. The manual states no default for --bits, so always pass the key size or security level explicitly and record which one each issued key uses.

certtool manual

The NORMAL priority list and its FFDHE ordering

The NORMAL priority keyword selects all known-to-be-secure ciphersuites, and the source comment in lib/priority.c says FFDHE groups are kept last so that clients do not send expensive key shares by default. The NORMAL group list starts with SECP256R1, SECP384R1 and SECP521R1, then X25519, X448 and the FFDHE groups. Because the FFDHE ordering is a library default, confirm the group order your build actually ships before assuming which key exchange a client offers first.

Priority list source

System-wide overrides in the configuration file

The system configuration file, at /etc/gnutls/config by default, can disable groups, key exchanges and insecure signatures across all applications using the library. The manual example disables FFDHE8192 with tls-disabled-group = group-ffdhe8192. The file cannot re-enable anything disabled or marked insecure at compile time, and unknown options are skipped unless GNUTLS_SYSTEM_PRIORITY_FAIL_ON_INVALID is set to 1. Review the file on every host, because an override there changes behavior for every application on that host.

System configuration manual

DTLS and TLS 1.0 and 1.1 defaults

Without NONE, the NORMAL defaults include TLS 1.2, TLS 1.1 and TLS 1.0, and the 3.8.14 NEWS says TLS 1.0, TLS 1.1 and DTLS 1.0 are currently enabled by default, with a future release planned to disable them. Those older protocol versions carry the same public-key key exchange and signature choices as newer ones, so disable them explicitly if you do not need them and check the protocol list after each upgrade.

GnuTLS NEWS file

How the answer differs for applications, certificates and system-wide policy

An application that calls gnutls_set_default_priority or uses the NORMAL priority string gets the library's standard group list. In the GnuTLS source (lib/priority.c, master, checked 2026-12-04) that list starts with SECP256R1, SECP384R1 and SECP521R1 and also includes X25519, X448 and finite-field DH groups. The source comment says the FFDHE groups are kept last so that clients do not send expensive key shares by default. The GnuTLS manual says NORMAL means all known-to-be-secure ciphersuites and lists TLS 1.2, TLS 1.1 and TLS 1.0 as default versions. The sources reviewed show no ML-KEM group in the NORMAL list, so a post-quantum key exchange is not negotiated from defaults.

  • Key exchange: elliptic-curve groups (SECP256R1, SECP384R1, SECP521R1, X25519, X448) and FFDHE groups, all based on RSA-era or elliptic-curve math.
  • Signatures: the SIGN keywords include RSA, RSA-PSS, ECDSA and EdDSA. The manual lists no ML-DSA keyword.
  • Protocol versions: the 3.8.14 NEWS states TLS 1.0, TLS 1.1 and DTLS 1.0 are currently enabled by default and that a future release will disable them.
  • Certificate keys: the default certificate type is X.509, so RSA and ECDSA certificates are the usual case.

Confirm the effective list in your own build with the library's priority-string test output, since distribution builds can differ from upstream.

Where RSA, DH and elliptic-curve keys enter a GnuTLS TLS 1.3 handshake

The handshake starts with the client's ClientHello, which carries a key share for each group in its supported_groups list. The server selects one group and returns its own key share, which sets the key exchange; the server certificate then carries a signature made with an RSA, ECDSA or EdDSA key, and the certificate's public key is the second place public-key algorithms appear. Check the group names offered in the priority string, since NORMAL lists SECP256R1, SECP384R1, SECP521R1, X25519, X448 and FFDHE groups, and a hybrid group such as X25519-MLKEM768 appears only when it is added explicitly.

Shows where key exchange, certificate signature and certificate key appear in a TLS 1.3 handshake.

What a security assessor should check in GnuTLS, in order

This sequence establishes which GnuTLS version and build an organization runs, which public-key and post-quantum groups that build can negotiate, and whether the system configuration changes what a client actually gets. The result is a dated, reproducible record that an assessor can attach to an inventory or vendor question.

  1. Record the GnuTLS version and distributor build

    Run the library version check on each host that loads libgnutls, and record the exact version string along with the package name, distributor and build date. Compare it against 3.8.14, the newest entry in the upstream NEWS file as of 2026-12-03, and note that the gnutls.org front page on that date still named 3.8.13 as the latest release. A distributor build can differ from upstream, so the version alone does not settle which features are present. The step is done when each host has a recorded version and build identifier tied to a package source.

  2. Check whether the build includes leancrypto

    Determine whether the build defines HAVE_LEANCRYPTO. GnuTLS 3.8.9 made leancrypto a build option that is only enabled when compiled with --with-leancrypto or --with-liboqs, and 3.8.10 made it the only provider of post-quantum cryptography. Ask the distributor or inspect the build configuration to confirm the flag, because a build without it cannot negotiate the hybrid post-quantum groups described in the upstream source. The step closes with a yes or no answer for each build, recorded beside the version.

  3. Inspect priority strings and system configuration

    Collect the priority strings that each application passes to GnuTLS, and the system-wide configuration file, which is /etc/gnutls/config by default unless the build or the GNUTLS_SYSTEM_PRIORITY_FILE environment variable points elsewhere. Look for group and sign keywords, and for [overrides] entries such as tls-disabled-group, disabled-curve and insecure-sig. The system file can disable algorithms but cannot re-enable what the build disabled or marked insecure. The step is done when the effective group and signature lists for each application are written down, with the file path and any ignored unknown options noted.

  4. Confirm groups negotiated in a test handshake

    Run a test handshake from a client that the organization controls against the server, using the same priority string and configuration, and capture which key-exchange group and signature algorithm the connection negotiates. Use a client that offers the group under test, since a server cannot select a group the client does not offer. Repeat the handshake with different client types where the deployment has more than one. The step is done when the negotiated group and signature are recorded for each combination tested. This is the only check that shows what the deployed configuration actually selects, rather than what the configuration file says it allows.

  5. Record results and open items for the inventory

    Write down, for each host and application, the version, the build flags checked, the effective priority and configuration, and the negotiated groups and signatures from the test handshakes. Mark any item the sources do not settle, such as whether a distributor backports a feature, and assign it to the vendor or distributor to confirm in writing. Date the record, because the group defaults and experimental status can change between releases. The step closes when the record is stored with the inventory and each open item has an owner.

What the GnuTLS project has not published, and what to ask

The GnuTLS project documents many key sizes and some post-quantum key exchange, but several points that a cryptographic inventory depends on are absent from its manual, NEWS, website and README as of 2026-12-03. Each card below names one gap and the question to put to the project or to your distributor.

No ML-DSA keyword in the manual

The priority strings manual lists the SIGN keywords for RSA, RSA-PSS, ECDSA and EdDSA, but no ML-DSA keyword, even though GnuTLS 3.8.10 allows ML-DSA-44, ML-DSA-65 and ML-DSA-87 to be used in TLS. Without a keyword, an operator cannot tell from the manual alone how to restrict signatures to ML-DSA in a priority string. Ask the project or your distributor which priority string names ML-DSA signature algorithms and whether that string is in a released version.

Priority strings manual

No ML-KEM group in NORMAL

The NORMAL priority list in lib/priority.c starts with SECP256R1, SECP384R1 and SECP521R1 and contains no ML-KEM group, so a default configuration negotiates no post-quantum key exchange. Customers must add a hybrid group explicitly, for example with a string such as NORMAL:-GROUP-ALL:+GROUP-X25519-MLKEM768:+GROUP-X25519. Ask the project whether a future release will add a hybrid group to NORMAL and, if so, which version.

Priority source file

No SLH-DSA in recent NEWS

The NEWS file for 3.8.8 through 3.8.14 contains no mention of SLH-DSA (FIPS 205), so no stateless hash-based signature support is documented for that range as of 2026-12-03. Teams that want a hash-based option for long-lived signatures therefore have no documented GnuTLS path to test. Ask the project whether SLH-DSA is planned, and if it is, for which release and in which build options.

GnuTLS NEWS file

No post-quantum roadmap on the website

On 2026-12-03 the gnutls.org front page and the README contain no post-quantum, FIPS or roadmap statement. The only roadmap-like statement found is a December 2024 mailing list post saying initial ML-DSA support was planned for the following year, which is not an official roadmap. Ask the project for a dated, published plan covering ML-KEM defaults, ML-DSA in priority strings, and FIPS-mode behavior for post-quantum algorithms.

GnuTLS website

Hybrid group negotiation unresolved

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. Before relying on a hybrid group in production, test the exact priority string against your target version, and ask the project whether issue 1828 is fixed and in which release.

Issue 1828 report

TLS 1.0 and 1.1 enabled by default

The GnuTLS manual lists TLS 1.2, TLS 1.1 and TLS 1.0 as default protocol versions for NORMAL, and the 3.8.14 NEWS says TLS 1.0, TLS 1.1 and DTLS 1.0 are currently enabled by default, with a future release to disable them. Any service that accepts default settings may still negotiate these older protocols. Ask the project for the release that will change this default, and ask your distributor whether its packages disable them through the system configuration file.

GnuTLS NEWS file

What can go wrong when relying on GnuTLS hybrid settings

A priority string that names a hybrid group does not guarantee that the hybrid group is used. 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, so the sources listed here do not show whether the behavior is fixed in a later release. Before relying on a hybrid group, confirm with a test handshake that the intended group is the one negotiated, and treat any plain X25519 fallback as a classical exchange that offers no post-quantum protection for that session.

Hybrid groups also depend on the build and the system configuration. The hybrid groups X25519-MLKEM768, SECP256R1-MLKEM768 and SECP384R1-MLKEM1024 are compiled only when HAVE_LEANCRYPTO is defined, and the leancrypto option is marked experimental in the 3.8.9 release notes. A build without leancrypto will not offer these groups at all, whatever the priority string says. The system-wide configuration file cannot re-enable anything disabled or marked insecure at compile time, so a distribution build that omits a group cannot be fixed by editing /etc/gnutls/config. Check the build options your distribution used before planning around a hybrid group.

Errors in the system configuration can also pass silently. The GnuTLS manual says unknown configuration options and sections are skipped by default. A misspelled [overrides] entry, such as a mistyped tls-disabled-group name, will leave the setting ineffective without any warning. Setting GNUTLS_SYSTEM_PRIORITY_FAIL_ON_INVALID to 1 makes the library exit on unknown options instead, which turns a silent misconfiguration into a visible failure. Enable that variable in test environments, and confirm with a handshake capture that the expected groups are present in the ClientHello and the negotiated group in the ServerHello.

Questions security assessors ask about GnuTLS public-key dependencies

Is GnuTLS quantum safe?

GnuTLS does not have a quantum-safe status that can be stated as a product claim. The sources show what is supported: GnuTLS 3.8.8 added experimental hybrid key exchange groups (X25519MLKEM768 and SecP256r1MLKEM768) in TLS 1.3, and 3.8.10 made leancrypto the only post-quantum provider and allowed ML-DSA-44, ML-DSA-65 and ML-DSA-87 in TLS. These hybrid groups are compiled only when leancrypto is present, and they are not in the default NORMAL group list, so a customer must enable them explicitly. Classical RSA, ECDSA, ECDH and finite-field DH remain the defaults. Confirm the exact build options and enabled groups in your own environment before recording an answer.

Which GnuTLS version should we record for a post-quantum readiness assessment?

Record the exact version you run and how it was built. The sources list 3.8.14 (released 2026-11-18) as the newest entry in the master NEWS file, while the gnutls.org front page on 2026-12-03 still named 3.8.13 (released 2026-04-29) as the latest release, so confirm which version your distribution ships. Post-quantum features appear across several versions: experimental hybrid groups from 3.8.8, leancrypto as a build option from 3.8.9, and ML-DSA handling in 3.8.10 and 3.8.14. Record the version, the leancrypto or liboqs build status, and the priority string in use, since each changes what is available.

Do the key size tables change the answer for GnuTLS?

The key size tables give security-level mappings, not a post-quantum assessment. The GnuTLS manual maps 128 security bits (HIGH) to 3072-bit RSA, DH and SRP keys and 256-bit ECC keys, and 256 security bits (FUTURE) to 15424-bit RSA, DH and SRP keys and 512-bit ECC keys. The manual also states these are estimates valid today, with no guarantee that algorithms remain unbreakable or the values stay constant. Quantum computers are mentioned only as a possible cause of total failure of current public key systems, and the page does not discuss post-quantum algorithms. Use the tables to record classical key sizes, and use the algorithm and group settings to record post-quantum status.

What do the hybrid groups change in a GnuTLS deployment?

Hybrid groups pair a classical key exchange with a post-quantum one, so a connection needs both to be used. In GnuTLS master, X25519-MLKEM768, SECP256R1-MLKEM768 and SECP384R1-MLKEM1024 are compiled only under HAVE_LEANCRYPTO, and standalone MLKEM768 and MLKEM1024 have no TLS identifier, so they cannot be used alone in TLS. The default NORMAL list does not include them. A GnuTLS issue from March 2026 against 3.8.12 reports that a server configured with NORMAL:-GROUP-ALL:+GROUP-X25519-MLKEM768:+GROUP-X25519 negotiated plain X25519 unless +GROUP-FFDHE2048 was also listed, and the message gave no resolution. Test the negotiated group in your own environment before recording it as in use.

Does a GnuTLS post-quantum review cost extra, and what drives the effort?

The sources do not give a cost or effort figure for a GnuTLS post-quantum review, so confirm any number with the vendor, your distributor or your engagement partner. Effort depends on what you run. Costs rise with the number of GnuTLS builds and versions in use, whether leancrypto or liboqs must be compiled in (the sources say leancrypto is experimental and needs a build flag), the number of applications that set their own priority strings, and how many systems use the system-wide configuration file. A single build with a default configuration is a smaller task than a fleet of custom builds. Ask any quote to list the systems, versions and test steps it covers.

Can we verify GnuTLS post-quantum status ourselves, or do we need outside help?

You can verify much of this yourself with the tools GnuTLS provides. Check your version and build options, inspect the priority string and system configuration file (by default /etc/gnutls/config, or the path set by GNUTLS_SYSTEM_PRIORITY_FILE), and confirm the negotiated key exchange group in a test connection. The certtool --key-type option lists the algorithms it supports, and the manual says GNUTLS_SYSTEM_PRIORITY_FAIL_ON_INVALID set to 1 makes the library exit on unknown options, which helps catch typos. Outside help is useful when you need independent test evidence, a fleet-wide inventory, or a written record for an assessor. DeployOpen can plan, test and document this work for your environment, but it does not issue audit reports or certifications.

How DeployOpen works on this

DeployOpen starts from the GnuTLS build, priority strings and system configuration that your servers and clients actually run, then maps which key exchange, certificate and signing paths depend on RSA, Diffie-Hellman or elliptic-curve keys. The result is a written, dated list of what each setting covers, which stronger options exist in your GnuTLS version, and what to confirm with the project before changing anything.

How we scope

  • We agree in writing which GnuTLS versions, applications and hosts fall inside the review before work starts.
  • We list the GnuTLS version and distribution package in use, since the newest documented release is not always the one a system ships.
  • We confirm whether a system-wide configuration file, custom priority strings or compile-time overrides are in effect on each host.

How we build

  • We map each priority string and certtool key type to the key exchange, signature or certificate it controls, recording the exact keyword used.
  • We test negotiated groups and signature algorithms against a lab copy so the findings reflect observed behavior, not only documentation.
  • We check which post-quantum groups or signature keywords your version provides, noting any that are only compiled in under optional leancrypto builds.

How we hand over

  • You receive a dependency inventory listing each affected function, its RSA, DH or elliptic-curve key source, and the version it was tested on.
  • The report states which stronger settings exist today and which ones the project's own documentation or source does not confirm.
  • The plan lists the questions to put to the GnuTLS project before changing production settings, so each open point has a named owner.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins, and no prices shown here.
  • Ongoing upgrades, retesting after each new GnuTLS release and configuration changes are available as a retainer.
  • We rerun the dependency check when the project publishes a new release, because documented defaults have changed across 3.8.x versions.

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.