Ask HN: Shot in the dark, plain text micro blog
3 pointsby xori1 comments
const db = await openDatabase();
const keyPair = await getKeyPair(db);
await crypto.subtle.exportKey("jwk", keyPair.privateKey)
exports the private key if I have a XSS vuln.
EDIT: ha, confused with https://wiki.xxiivv.com/site/uxn.html