-
Bug
-
Resolution: Unresolved
-
Normal
-
rhel-10.1
-
gnutls-3.8.9-19.el10
-
No
-
Important
-
1
-
rhel-security-crypto
-
21
-
0.2
-
False
-
False
-
-
No
-
Crypto25July
-
-
Pass
-
Automated
-
Release Note Not Required
-
Unspecified
-
Unspecified
-
Unspecified
-
-
All
-
None
What were you trying to do that didn't work?
Establish server/client connection with ML-DSA-65
What is the impact of this issue to you?
I can't sue ML-DSA signature algorithms with GnuTLS.
Applications such as Libvirt can't support ML-DSA / Post Quantum Cryptography
Please provide the package NVR for which the bug is seen:
gnutls-3.8.9-17.el10
How reproducible is this bug?:
100%
Steps to reproduce
- Create ca and server keys and certs with certtool but make sure not to include encryption_key in the template and use mldsa65 for the private key generations
certtool --generate-privkey --key-type=mldsa65
server$ GNUTLS_SYSTEM_PRIORITY_FILE=/dev/null gnutls-serv --priority=NORMAL:+SIGN-ML-DSA-65 --x509certfile ml-dsa/server/servercert.pem --x509keyfile ml-dsa/server/serverkey.pem --debug 9
client$ GNUTLS_SYSTEM_PRIORITY_FILE=/dev/null gnutls-cli --priority=NORMAL:+SIGN-ML-DSA-65 --x509cafile ml-dsa/ca/cacert.pem -p 5556 localhost
Expected results
ML-DSA-65 is used and certificate is trusted and connection succeeds.
Actual results
Client doesn't trust certificate:
- Status: The certificate is NOT trusted. The certificate chain uses insecure algorithm.
*** PKI verification of server certificate failed...
*** Fatal error: Error in the certificate.
Additional info
- ML-DSA-65 can also be enabled through
cat /etc/crypto-policies/back-ends/gnutls.config |grep ML-DSA secure-sig = ML-DSA-65 secure-sig-for-cert = ML-DSA-65
GNUTLS_SYSTEM_PRIORITY_FILE=/etc/crypto-policies/back-ends/gnutls.config gnutls-(serv|cli) ...
- We've observed that private key generation 0 bit are reported during generation with certtool.
Generating a 0 bit ML-DSA-65 private key...
- is depended on by
-
RHEL-101267 Test and/or fix Post-Quantum Cryptography (PQC) in libnbd
-
- Closed
-
-
RHEL-101269 Test and/or fix Post-Quantum Cryptography (PQC) in nbdkit
-
- Closed
-
- is related to
-
RHEL-64740 Support ML-DSA signatures in TLS in GnuTLS
-
- Release Pending
-
- links to
-
RHSA-2025:152121 gnutls update