SEA!

Another big update to Holster, I've just added the SEA implementation from GunDB with relatively few modifications. A lot of the environment checks were no longer necessary as Node now supports the Web Crypto API.

Also thanks to Joey, Holster now runs natively in the browser and SEA works exactly the same. There's still a fair way to go to introduce a Holster.user API, but the SEA primitives all work and have lots of tests to show it.

The tests pretty much copy and paste into the browser console to show that they're working there too, all it requires is a JavaScript file with:
import SEA from "../src/sea.js"
globalThis.SEA = SEA

And then you should be able to check the basic functionality. Not quite sure yet how this will integrate with user data in Holster, but very happy with it as a first step.
Add a comment