Skip to content
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

remove dependence on scala-js-dom facade from asymmetric keys #53

Open
bblfish opened this issue Jan 4, 2022 · 2 comments
Open

remove dependence on scala-js-dom facade from asymmetric keys #53

bblfish opened this issue Jan 4, 2022 · 2 comments

Comments

@bblfish
Copy link

bblfish commented Jan 4, 2022

The branch on which PR #48 is located, used the browser dom web crypto API to get going (in order to make the task more manageable). Node JS uses the same Web Crypto API but somewhat differently, and so it seems better to build a local facade as is done for the symmetric keys.

Implementing #52 will likely depend on this.

Implementing more cryptographic algorithms, such as in #51, would help lay the groundwork of tests to help work out what parts of the facade need to be written.

@armanbilge
Copy link
Member

Node JS uses the same Web Crypto API but somewhat differently

Minor clarification: Node.js has its own crypto APIs. Also, in recent versions they've experimentally provided the Web Crypto API as well, but so far there are no stability guarantees for it.

https://nodejs.org/api/webcrypto.html#web-crypto-api

@yilinwei
Copy link
Collaborator

This is now stable:2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants