xori
Joined 11 years ago
Joined 11 years ago
EDIT: ha, confused with https://wiki.xxiivv.com/site/uxn.html
For us a "tailscale" equivalent with SoftEther is what we used to manage the DNS/Tunneling for our fileshare/services.
So cool to see more people playing in this space. Please post more! <3
I find it an interesting choice that the author decided to invest in new iFrame technology rather than existing multi-thread technology in the browser.
But I think ideally I would use a wrapped JWT with `"alg": "ES256"` and just pass it as normal in a bearer token[0] as JWTs natively support signed primitives.
[0]: https://jwt.io/#debugger-io?token=eyJhbGciOiJFUzI1NiIsInR5cC...
[0]: https://developer.mozilla.org/en-US/docs/Web/API/Credential_...
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.The recommendation for IP address in the JWT is good, but I don't understand your last recommendation of 1) sending the JWT, 2) additionally sending the base64 JWT in a header 3) sending the signature in the header. The crypto.subtle api only works on https domains so you're not defending against mitm attacks on unsecure networks either. And if we can't trust TLS what can we trust on the web?