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
MLKEM768orMLKEM1024to 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-ALLor system-wide withdisabled-curveandtls-disabled-group.59
To enable a hybrid group, use the priority string
NORMAL:-GROUP-ALL:+GROUP-X25519-MLKEM768in 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.
NORMALholds secp256r1, secp384r1, secp521r1, X25519, X448 and the FFDHE groups, no ML-KEM; hybrids are defined only with leancrypto, andGROUP-ALLexpands to the same list asNORMAL.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:
certtooland 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.14gnutls_pubkey_import_mldsa_raw()andgnutls_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,
--priorityongnutls-cliandgnutls-serv;gnutls-cli --listprints 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-ALLplus one hybrid leaves only it (tested handshake completes; peers without it cannot connect);5 system-wide/etc/gnutls/config(orGNUTLS_SYSTEM_PRIORITY_FILE)[overrides]disabled-curveandtls-disabled-group, for exampletls-disabled-group = group-ffdhe8192.9 The test withdisabled-curve = x25519failsX25519-MLKEM768but passesSECP256R1-MLKEM768andSECP384R1-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-MLKEM768andX25519key 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-clifor 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
-
GnuTLS NEWS file, commit
1c8c7eab. https://gitlab.com/gnutls/gnutls/-/raw/1c8c7eab79e9a652e0e40fb86350bfaabfbf47e0/NEWS (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 -
GnuTLS
configure.ac,--with-leancryptodefaults tono, commit1c8c7eab. https://gitlab.com/gnutls/gnutls/-/raw/1c8c7eab79e9a652e0e40fb86350bfaabfbf47e0/configure.ac (accessed 2026-12-05) ↩ -
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
-
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) ↩
-
GnuTLS test
tests/pqc-hybrid-kx.sh, commit1c8c7eab. https://gitlab.com/gnutls/gnutls/-/raw/1c8c7eab79e9a652e0e40fb86350bfaabfbf47e0/tests/pqc-hybrid-kx.sh (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 -
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
-
GnuTLS
lib/algorithms/groups.candlib/priority.c, commit1c8c7eab. 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 -
GnuTLS
lib/algorithms/sign.c, commit1c8c7eab; no SLH-DSA entry. https://gitlab.com/gnutls/gnutls/-/raw/1c8c7eab79e9a652e0e40fb86350bfaabfbf47e0/lib/algorithms/sign.c (accessed 2026-12-05) ↩ -
GnuTLS manual source, system-wide configuration,
doc/cha-config.texi, commit1c8c7eab. https://gitlab.com/gnutls/gnutls/-/raw/1c8c7eab79e9a652e0e40fb86350bfaabfbf47e0/doc/cha-config.texi (accessed 2026-12-05) ↩ ↩2 -
GnuTLS issue 1800, “Please enable PQ hybrid algorithms on NORMAL”. https://gitlab.com/gnutls/gnutls/-/issues/1800 (accessed 2026-12-05) ↩ ↩2 ↩3
-
GnuTLS manual, Priority Strings. https://www.gnutls.org/manual/html_node/Priority-Strings.html (accessed 2026-12-05) ↩
-
GnuTLS issue 1763. https://gitlab.com/gnutls/gnutls/-/issues/1763 (accessed 2026-12-05) ↩
-
GnuTLS merge request 2067 (draft). https://gitlab.com/gnutls/gnutls/-/merge_requests/2067 (accessed 2026-12-05) ↩
-
GnuTLS issue 1710. https://gitlab.com/gnutls/gnutls/-/issues/1710 (accessed 2026-12-05) ↩
-
GnuTLS issue 1956, “Provide public ML-KEM API”. https://gitlab.com/gnutls/gnutls/-/issues/1956 (accessed 2026-12-05) ↩
-
GnuTLS issue 1949, “Implement ML-KEM FIPS self-tests, mark it approved”. https://gitlab.com/gnutls/gnutls/-/issues/1949 (accessed 2026-12-05) ↩
-
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) ↩
-
GnuTLS issue 1758. https://gitlab.com/gnutls/gnutls/-/issues/1758 (accessed 2026-12-05) ↩
-
GnuTLS issue 1982. https://gitlab.com/gnutls/gnutls/-/issues/1982 (accessed 2026-12-05) ↩