Skip to content

ossl_get_channel_binding fails with ML-DSA certificates with "Could not find digest algorithm UNDEF (NID 0)" #20590

@rcritten

Description

@rcritten

I did this

I'm working on adding support for ML-DSA certs/keys to certmonger (X.509 certificate tracking and renewal) which uses libcurl to make HTTP requests. Requests are failing with CURLE_SSL_INVALIDCERTSTATUS.

Apparently OpenSSL has moved away from NID and they are not defined for ML-DSA at all. There is some mention of that in openssl/openssl@3216dc1

This is causing EVP_get_digestbynid(algo_nid) to return NULL and the function bails causing the connection to fail.

I expected the following

No response

curl/libcurl version

curl 8.18.0

operating system

Fedora 44

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions