You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Verification with dsaEncoding ieee-p1363 fails. #31866
Activity
targos commentedon Feb 19, 2020
@nodejs/crypto
tniessen commentedon Feb 19, 2020
Interesting.
EVP_PKEY_verifyreturns-1, which indicates that something other than the verification fails.d2i_ECDSA_SIGreturnsNULL, indicating that the DER is invalid.Seems that
createVerifyalways fails, butverifyalways succeeds.crypto: fix ieee-p1363 for createVerify
tniessen commentedon Feb 20, 2020
Turns out I am just stupid and it's an easy fix: #31876
As a workaround, you can use
crypto.verifyinstead, which handlesieee-p1363correctly.crypto: fix ieee-p1363 for createVerify
crypto: fix ieee-p1363 for createVerify
crypto: fix ieee-p1363 for createVerify
crypto: fix ieee-p1363 for createVerify
crypto: fix ieee-p1363 for createVerify