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
Use Web Cryptography API for wbn-sign-webcrypto, crypto-browserify throws for subtle, doesn't implement Ed25519 #786
Comments
seems |
Yes. Unfortunately esm.sh is importing |
esm.sh will replace |
I didn't make the request from the browser. I made the request from Deno. I'm using esm.sh importing |
In other word esm.sh importing
So I did that. The same I was rather surprised when I saw esm.sh was depending on Nowhere in my code do I intend to use |
You can repoduce the error by running this code https://github.com/guest271314/webbundle/blob/main/index.js and substituting
for
for |
I don't think you followed all of the steps here https://github.com/guest271314/webbundle before substituting import from esm.sh for wbn-sign.js.
Again, nowhere in my code do I import |
|
I'm using Web Cryptography API (with algorithm Ed25519) for the ability to run the same source code using
node
,deno
, andbun
and other JavaScript runtimes, including the browser.I am not using Node.js
node:crypto
implementation, which apparently cannot be polyfilled.From the source code of
crypto-browesrify
https://esm.sh/v135/[email protected]/esnext/crypto-browserify.mjs it doesn't look like Ed25519 algorithm is implemented in that module.from
and
https://github.com/guest271314/wbn-sign-webcrypto/blob/main/lib/utils/utils.js
The text was updated successfully, but these errors were encountered: