-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
rhel-10.1
-
None
-
No
-
Low
-
rhel-security-crypto-spades
-
None
-
False
-
False
-
-
Yes
-
None
-
None
-
None
-
Known Issue
-
-
Proposed
-
Unspecified
-
Unspecified
-
Unspecified
-
None
When the private key doesn't include the `seed` parameter, GnuTLS is unable to generate the public key when it's needed.
Using: gnutls-3.8.10-1.el10.x86_64
Running:
openssl genpkey -algorithm mldsa44 -provparam 'ml-dsa.output_formats=priv-only' -out key.pem
cat > template.cfg <<EOF
organization = Example
dns_name = localhost
challenge_password =
EOF'
certtool --generate-request --load-privkey key.pem --outfile request.pem --template template.cfg
fails with
Generating a PKCS #10 certificate request... Could not determine the public key for the operation. You must specify --load-privkey or --load-pubkey if missing.
GnuTLS should implement an algorithm to derive the public key from the private key, like the one implemented in OpenSSL or described in https://github.com/aws/aws-lc/pull/2142