-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Invalid RSA private key crypto.sign() #18972
Comments
Same here. :(
|
Same here with
|
Now as of deno 1.39.1 i get a new error instead when using web-push:
I'm hard stuck here for now i think. |
Please provide a reproduction using |
I found the same issue, here's a minimal repro:
|
Yep getting the same with "npm:web-push" library. |
same:
|
Fixes denoland#18972 Support for web-push & jws
Fixes #18972 Support for web-push VAPID keys & jws signing - Fixes EC keygen to return raw private key and uncompressed public key point. - Support for `EC PRIVATE KEY`
Fixes #18972 Support for web-push VAPID keys & jws signing - Fixes EC keygen to return raw private key and uncompressed public key point. - Support for `EC PRIVATE KEY`
Fixes denoland#18972 Support for web-push VAPID keys & jws signing - Fixes EC keygen to return raw private key and uncompressed public key point. - Support for `EC PRIVATE KEY`
The oracle/oci-typescript-sdk depends on a dated sshpk package. I'm attempting to switch from node to deno but I get
Invalid RSA private key
when signing requests going to OCI APIs. I've narrowed this down to the following reproducible steps.Deno version
Generate a 2048 bit RSA key in PEM format:
openssl genrsa -out ./example.pem 2048
Run the following code against the newly generated key:
Resulting error:
Expected result:
The data is signed with the private key which works in node.
The text was updated successfully, but these errors were encountered: