bobcats icon indicating copy to clipboard operation
bobcats copied to clipboard

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

Open bblfish opened this issue 3 years ago • 2 comments

The branch on which PR https://github.com/typelevel/bobcats/pull/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 https://github.com/typelevel/bobcats/issues/52 will likely depend on this.

Implementing more cryptographic algorithms, such as in https://github.com/typelevel/bobcats/issues/51, would help lay the groundwork of tests to help work out what parts of the facade need to be written.

bblfish avatar Jan 04 '22 08:01 bblfish

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

armanbilge avatar Jan 04 '22 19:01 armanbilge

This is now stable:2.

yilinwei avatar Jul 31 '23 21:07 yilinwei