Open eatplaysleep opened 2 years ago
For an even easier way to replicate this, just run the following in the terminal:
crypto.createVerify('RSA-SHA256')
Hi @eatplaysleep. Thanks for reaching out. I've created an internal issue and linked this GitHub ticket so we can follow up. Currently I don't think there's much on your side that you can do I'm afraid.
Hi @SamVerschueren, any update on this by chance? Currently experiencing something similar with the following
> crypto.createSign("SHA256");
Uncaught TypeError: this[D].init is not a function
Thanks!
Describe the bug
I'm working on a project that helps to teach how to use OAuth. We would like to utilize Stackblitz as our main editing platform for training workshops we host so that attendees can take their app with them after building it and be able to build off it.
This app is just a prototype (for now).
I have attempted to use various different libraries in different implementations --
jsonwebtoken
,njwt
,express-jwt
, etc. However, they all throw the same error:I've narrowed it down to line 159 of lib/internal/crypto/sig.js -- it's a crypto issue. :(
It works locally.
I'm not experienced enough to know how or what to even do on this one. Hoping for some guidance/help as I'm loving the new webcontainers.
Link to the blitz that caused the error
https://stackblitz.com/edit/github-ujyeet?file=server/index.js&view=editor
Steps to reproduce
testuser1@test.com
/ Pass ==St@ckbl1tz
Expected behavior
The 'Try API' should pass just like the first button (public API) does.
Parity with Local
Screenshots
No response
Platform
Additional context
No response