-
Notifications
You must be signed in to change notification settings - Fork 300
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
🐛 Bug Report — Runtime APIs node:crypto 'Unrecognized or unimplemented EC curve "id-ecPublicKey" requested.' #2768
Comments
any progress? |
The runtime has a much more limited set of curves that it supports than Node.js and From: src/workerd/api/crypto/ec.c++ ...
The |
Get. |
any time support |
Apple App Store Server API needs this feature to verify it's signed objects. |
haha, met the same problems. |
Marking as a feature request. Will investigate. |
Unrecognized or unimplemented EC curve \"id-ecPublicKey\" requested
when use crypto withcompatibility_flags = ["nodejs_compat_v2"]
& wrangler v3.78.7.Here is the error source:
https://github.com/agisboye/app-store-server-api/blob/main/src/Decoding.ts#L47
Here is the error detail:
So my question is, the X509 implemented by workerd seems to be completely unusable when using the decodeJWS function of /app-store-server-api.
Did I make a mistake, or does the X509 implementation in workerd indeed throw an error when trying to get the public key with cert.publicKey? Below is my business code (for reproduction):
The text was updated successfully, but these errors were encountered: