Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Vendor: GnuTLS project · https://www.gnutls.org/ · pkg:generic/gnutls · Last reviewed 2026-12-05 · History

Summary

  • Post-quantum support is compiled in only with --with-leancrypto, which is off unless a builder enables it.12
  • Key agreement: the hybrid groups X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024 are available from 3.8.8 and 3.8.9 in leancrypto builds, need a priority string, and are not in NORMAL.345
  • Pure ML-KEM cannot be used alone: the project’s test expects a handshake with standalone MLKEM768 or MLKEM1024 to fail.5
  • ML-DSA-44, -65 and -87 can sign TLS handshakes from 3.8.10 and are first in the default signature list in the source; SLH-DSA was not found (checked 2026-12-05).1678
  • Classical groups can be disabled with the priority string -GROUP-ALL or system-wide with disabled-curve and tls-disabled-group.59

To enable a hybrid group, use the priority string NORMAL:-GROUP-ALL:+GROUP-X25519-MLKEM768 in a leancrypto build.5

Hybrid groups are not in NORMAL; issue 1800, opened 2026-02-19, requests it.10

Cryptographic operations

  • TLS 1.3 key agreement: client or server; groups come from the priority string. NORMAL holds secp256r1, secp384r1, secp521r1, X25519, X448 and the FFDHE groups, no ML-KEM; hybrids are defined only with leancrypto, and GROUP-ALL expands to the same list as NORMAL.7 Code points: 0x11EB SecP256r1MLKEM768, 0x11EC X25519MLKEM768, 0x11ED SecP384r1MLKEM1024, all hybrid.7 The priority strings manual lists no hybrid group (checked 2026-12-05).11
  • TLS authentication: ML-DSA-44, -65, -87 are first in the default signature list and apply only when the certificate has an ML-DSA key; the 3.8.9 notes called ML-DSA experimental and built only with leancrypto or liboqs.37
  • Certificates and keys: certtool and the library handle ML-DSA keys; from 3.8.10 all three RFC 9881 draft private key formats (“seed”, “expandedKey”, “both”) are read;6 from 3.8.14 gnutls_pubkey_import_mldsa_raw() and gnutls_pubkey_export_mldsa_raw() exist.1

Versions

Change Version Date Package URL Source
X25519Kyber768Draft00 experimental, liboqs only 3.8.7 2024-08-15 pkg:generic/gnutls@3.8.7 3
X25519MLKEM768 and SecP256r1MLKEM768 experimental, liboqs 0.11.0 or later 3.8.8 2024-11-05 pkg:generic/gnutls@3.8.8 3
leancrypto accepted in place of liboqs; ML-DSA experimental; ML-KEM-1024 as SecP384r1MLKEM1024 only 3.8.9 2025-02-07 pkg:generic/gnutls@3.8.9 3
liboqs support and X25519Kyber768Draft00 removed; ML-DSA usable in TLS (“support for post-quantum cryptography (PQC) is now only provided through leancrypto.”) 3.8.10 2025-07-08 pkg:generic/gnutls@3.8.10 6
Hybrid key exchange secret zeroized; ML-DSA public key derived from expandedKey 3.8.13 2026-04-29 pkg:generic/gnutls@3.8.13 1
Raw ML-DSA public key import and export 3.8.14 2026-11-18 pkg:generic/gnutls@3.8.14 1

Configuration

  • Enable (leancrypto build; project test, --priority on gnutls-cli and gnutls-serv; gnutls-cli --list prints groups):57
NORMAL:-GROUP-ALL:+GROUP-X25519-MLKEM768
NORMAL:-GROUP-ALL:+GROUP-X25519-MLKEM768:+GROUP-X25519
  • Names: X25519-MLKEM768, SECP256R1-MLKEM768, SECP384R1-MLKEM1024.7
  • Disable classical: -GROUP-ALL plus one hybrid leaves only it (tested handshake completes; peers without it cannot connect);5 system-wide /etc/gnutls/config (or GNUTLS_SYSTEM_PRIORITY_FILE) [overrides] disabled-curve and tls-disabled-group, for example tls-disabled-group = group-ffdhe8192.9 The test with disabled-curve = x25519 fails X25519-MLKEM768 but passes SECP256R1-MLKEM768 and SECP384R1-MLKEM1024.5

Open work

Checked 2026-12-05 on the GnuTLS GitLab.

  • Issue 1800 (2026-02-19): “Please enable PQ hybrid algorithms on NORMAL”; requested.10
  • Issue 1763 (2025-11-20): client does not send both X25519-MLKEM768 and X25519 key shares; draft merge request 2067, “key_share: allow key share reuse with hybrids”, in progress.1213
  • Issue 1710 (2025-05-13): choose which groups go into the key_share extension.14
  • Issue 1956 (2026-09-16): public ML-KEM API; today only TLS uses it.15
  • Issue 1949 (2026-08-27): ML-KEM has no FIPS self-tests and is unapproved in FIPS mode; merge request 2191 (2026-11-25) adds ML-KEM and ML-DSA self-tests, not merged.1617
  • Issue 1758 (2025-10-30): multiple certificates in gnutls-cli for hybrid and transitional PQC use.18
  • Issue 1982 (2026-10-26): ML-DSA-87 PKCS#7 signing with timestamps fails in 3.8.13.19

Distributions

Which distributions build with leancrypto was not checked, and no dated vendor commitment is published (checked 2026-12-05).110

References

  1. GnuTLS NEWS file, commit 1c8c7eab. https://gitlab.com/gnutls/gnutls/-/raw/1c8c7eab79e9a652e0e40fb86350bfaabfbf47e0/NEWS (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6

  2. GnuTLS configure.ac, --with-leancrypto defaults to no, commit 1c8c7eab. https://gitlab.com/gnutls/gnutls/-/raw/1c8c7eab79e9a652e0e40fb86350bfaabfbf47e0/configure.ac (accessed 2026-12-05) ↩

  3. GnuTLS NEWS entries for 3.8.7, 3.8.8 and 3.8.9, same file as 1. https://gitlab.com/gnutls/gnutls/-/raw/1c8c7eab79e9a652e0e40fb86350bfaabfbf47e0/NEWS (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5

  4. GnuTLS NEWS entry for 3.8.9 (2025-02-07): “MLKEM1024 is only offered as SecP384r1MLKEM1024 hybrid”. Same file as 1. (accessed 2026-12-05) ↩

  5. GnuTLS test tests/pqc-hybrid-kx.sh, commit 1c8c7eab. https://gitlab.com/gnutls/gnutls/-/raw/1c8c7eab79e9a652e0e40fb86350bfaabfbf47e0/tests/pqc-hybrid-kx.sh (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7

  6. GnuTLS NEWS entry for 3.8.10 (2025-07-08), same file as 1. https://gitlab.com/gnutls/gnutls/-/raw/1c8c7eab79e9a652e0e40fb86350bfaabfbf47e0/NEWS (accessed 2026-12-05) ↩ ↩2 ↩3

  7. GnuTLS lib/algorithms/groups.c and lib/priority.c, commit 1c8c7eab. https://gitlab.com/gnutls/gnutls/-/raw/1c8c7eab79e9a652e0e40fb86350bfaabfbf47e0/lib/algorithms/groups.c and https://gitlab.com/gnutls/gnutls/-/raw/1c8c7eab79e9a652e0e40fb86350bfaabfbf47e0/lib/priority.c (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6

  8. GnuTLS lib/algorithms/sign.c, commit 1c8c7eab; no SLH-DSA entry. https://gitlab.com/gnutls/gnutls/-/raw/1c8c7eab79e9a652e0e40fb86350bfaabfbf47e0/lib/algorithms/sign.c (accessed 2026-12-05) ↩

  9. GnuTLS manual source, system-wide configuration, doc/cha-config.texi, commit 1c8c7eab. https://gitlab.com/gnutls/gnutls/-/raw/1c8c7eab79e9a652e0e40fb86350bfaabfbf47e0/doc/cha-config.texi (accessed 2026-12-05) ↩ ↩2

  10. GnuTLS issue 1800, “Please enable PQ hybrid algorithms on NORMAL”. https://gitlab.com/gnutls/gnutls/-/issues/1800 (accessed 2026-12-05) ↩ ↩2 ↩3

  11. GnuTLS manual, Priority Strings. https://www.gnutls.org/manual/html_node/Priority-Strings.html (accessed 2026-12-05) ↩

  12. GnuTLS issue 1763. https://gitlab.com/gnutls/gnutls/-/issues/1763 (accessed 2026-12-05) ↩

  13. GnuTLS merge request 2067 (draft). https://gitlab.com/gnutls/gnutls/-/merge_requests/2067 (accessed 2026-12-05) ↩

  14. GnuTLS issue 1710. https://gitlab.com/gnutls/gnutls/-/issues/1710 (accessed 2026-12-05) ↩

  15. GnuTLS issue 1956, “Provide public ML-KEM API”. https://gitlab.com/gnutls/gnutls/-/issues/1956 (accessed 2026-12-05) ↩

  16. GnuTLS issue 1949, “Implement ML-KEM FIPS self-tests, mark it approved”. https://gitlab.com/gnutls/gnutls/-/issues/1949 (accessed 2026-12-05) ↩

  17. GnuTLS merge request 2191, “Add FIPS 140-3 self-tests for ML-KEM and ML-DSA”. https://gitlab.com/gnutls/gnutls/-/merge_requests/2191 (accessed 2026-12-05) ↩

  18. GnuTLS issue 1758. https://gitlab.com/gnutls/gnutls/-/issues/1758 (accessed 2026-12-05) ↩

  19. GnuTLS issue 1982. https://gitlab.com/gnutls/gnutls/-/issues/1982 (accessed 2026-12-05) ↩


Edit: GnuTLS

If you give an email address it is recorded publicly as the author of the commit, and GitHub will link the commit to your account if that address belongs to one.

Edits are reviewed before they appear. By submitting you release your contribution under CC BY-SA 4.0. Read the editorial guidelines first.

This site uses Just the Docs, a documentation theme for Jekyll.