edgedb-js icon indicating copy to clipboard operation
edgedb-js copied to clipboard

Use browser crypto for SCRAM

Open scotttrinh opened this issue 1 year ago • 1 comments
trafficstars

Since all supported platforms support browser-compatible crypto, remove the extraneous adapters and standardize on the browser API. This requires a flag for Node v18 to enable the browser global --experimental-global-webcrypto, but this is already required by a few other libraries in our ecosystem.

scotttrinh avatar May 01 '24 15:05 scotttrinh

I'm going to sit on this for a while. Feels like something that we'd want to require a major version bump 😰

scotttrinh avatar May 01 '24 16:05 scotttrinh