Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EVP_DigestSign/EVP_DigestVerify are not supported by LibreSSL #632

Closed
nicraMarcin opened this issue Oct 25, 2020 · 5 comments
Closed

EVP_DigestSign/EVP_DigestVerify are not supported by LibreSSL #632

nicraMarcin opened this issue Oct 25, 2020 · 5 comments

Comments

@nicraMarcin
Copy link

When we can expect support for EVP_DigestSign/EVP_DigestVerify?

@concatime
Copy link

concatime commented Nov 30, 2020

EVP_DigestSign() is a one shot operation which signs a single block of
data in one function. For algorithms that support streaming it is
equivalent to calling EVP_DigestSignUpdate() and
EVP_DigestSignFinal(). For algorithms which do not support streaming
(e.g. PureEdDSA) it is the only way to sign data
.

So yeah, AFAIK, there is no other way to do so in LibreSSL.

If anything on the radar, just let me know :)

@orbea
Copy link

orbea commented May 6, 2021

I just want to point out that m2crypto is affected by this issue since the following commit.

https://gitlab.com/m2crypto/m2crypto/-/commit/65997b1761b3ccbaef84cbc4ffc24585717e8b02

@kinichiro
Copy link
Contributor

openbsd/src@767bfe2 committed.

@kinichiro
Copy link
Contributor

@nicraMarcin I think this issue is fixed with latest LibreSSL 3.4.1.
Can you close this ?

@orbea
Copy link

orbea commented Dec 27, 2021

With 3.4.2 and at least in the case of m2crypto this is fixed for me too (m2crypto still requires some of the unrelated OpenBSD patches).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants