Re: Provider: cannot sign with ed25519-like key

Matt Caswell <[email protected]>
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <CAODx15dM0FMmuNveLcz89di_WjhOfxv7bZ1O-M6pG0P5ocOU0A@mail.gmail.com>
On Thu, Aug 8, 2024 at 7:34 AM 'Bernd Ritter' via openssl-users <
[email protected]> wrote:

>  > error:030000A7:digital envelope routines::unknown max size
>
>
That error comes from here:


https://github.com/openssl/openssl/blob/fd39d1c80cd5bd9cb5c64e3fc96102397e5e860f/crypto/evp/p_lib.c#L1811-L1827

So something is attempting to determine the size of a pkey and found it to
be invalid.

This value should be returned by the keymgmt get_params function for the
parameter OSSL_PKEY_PARAM_MAX_SIZE

See:
https://docs.openssl.org/master/man7/provider-keymgmt/#common-information-parameters

and

https://docs.openssl.org/master/man3/EVP_PKEY_get_size/#description

Matt

-- 
You received this message because you are subscribed to the Google Groups "openssl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org
To view this discussion on the web visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/CAODx15dM0FMmuNveLcz89di_WjhOfxv7bZ1O-M6pG0P5ocOU0A%40mail.gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.