Bug 2438170 - OBJ_find_sigid_algs() returns NID_undef for ML-DSA certificate
Summary: OBJ_find_sigid_algs() returns NID_undef for ML-DSA certificate
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: curl
Version: 44
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jan Macku
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2450393 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-09 18:51 UTC by Rob Crittenden
Modified: 2026-04-25 01:41 UTC (History)
16 users (show)

Fixed In Version: curl-8.18.0-6.fc44
Clone Of:
Environment:
Last Closed: 2026-04-25 01:41:25 UTC
Type: ---
Embargoed:
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)
test cert (6.44 KB, text/plain)
2026-02-09 18:52 UTC, Rob Crittenden
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources curl pull-request 82 0 None None None 2026-03-30 07:44:51 UTC
Fedora Package Sources curl pull-request 83 0 None None None 2026-03-30 10:11:00 UTC
Red Hat Issue Tracker FC-3125 0 None None None 2026-02-09 18:52:19 UTC

Description Rob Crittenden 2026-02-09 18:51:17 UTC
Seen in program that uses libcurl to communicate over https. The TLS handshake works but when libcurl tries to validate the certificate over OCSP it fails with a NID_undef digest algorithm. FWIW I'm using libcurl in certmonger and this prevents certmonger from communicating with a CA because OCSP always fails. I hacked around this temporarily to always return CURLE_OK for this case.

The curl code in question starts at https://github.com/curl/curl/blob/master/lib/vtls/openssl.c#L5259

I will attach a standalone reproducer and certificate.

openssl-3.5.5-1.fc44.x86_64

Reproducible: Always

Comment 2 Rob Crittenden 2026-02-09 18:52:26 UTC
Created attachment 2128805 [details]
test cert

Comment 3 Simo Sorce 2026-02-09 18:57:02 UTC
This is a bug in libcurl.

OpenSSL does not use or support NIDs for new algorithms.

Application relying on NIDs need to transition to new OpenSSL APIs that rely on names instead.

This is fundamentally unfixable in OpenSSL.

Reassigning to libcurl

Comment 4 Jan Macku 2026-03-30 07:45:32 UTC
*** Bug 2450393 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2026-03-30 12:26:25 UTC
FEDORA-2026-f3e5776cdf (curl-8.18.0-5.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-f3e5776cdf

Comment 6 Fedora Update System 2026-03-31 01:56:51 UTC
FEDORA-2026-f3e5776cdf has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-f3e5776cdf`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-f3e5776cdf

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-04-25 01:41:25 UTC
FEDORA-2026-f13d888b0f (curl-8.18.0-6.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.