xori

Joined 11 years ago

Karma
505
Submissions
171
Member since
Oct 2
[ my public key: https://keybase.io/xori; my proof: https://keybase.io/xori/sigs/W_1XH7IBMBMoEdDty0B7InSWogVa5ERYBSjb745Xylk ] xUjKBzgdeC
View on Hacker News

Recent submissions

Comment · 1 month ago
my-bookreport-v2-final-final-done.capsule
Comment · 8 months ago
Comment · 11 months ago
The real question is can Windows defender scan these drives?
Comment · 1 year ago
I've been wanting to do this for ages. Originally I wanted to do this at the home router level, but that quickly got shut down when I got a test net up and running and my friends could control the Chromecasts in my house.

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

Comment · 1 year ago
"How do you get corporate secrets out of a software engineer? Sit them next to another engineer on a plane."
Comment · 1 year ago
Well they aren't in Canada for me yet, but that's probably because we aren't the public that needs to know.
Comment · 1 year ago
"Show me what you got"
Comment · 2 years ago
I understand, but things like https://github.com/GoogleChromeLabs/comlink enable it. Similar to how iFrames don't have access to their parent page you need a facilitator. My question is why not use a js facilitator that could work in all browsers, rather than just Chrome.

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.

Comment · 2 years ago
I see it now, I don't know how I missed it.
Comment · 2 years ago
Why reach for iFrames over other technology like WebWorkers?
Comment · 2 years ago
Comment · 2 years ago
When you `.get` a credential you can provide a challenge that it signs which you can make the JWT. With an added bonus that this passkey can exist on your phone or password manager which you can use to authenticate on a different device while still feeling confident in it's security.
Comment · 2 years ago
Yeah that does it for new keys generated, any old keys in IDB obviously still are exposed.
Comment · 2 years ago
Comment · 2 years ago
so I don't fully understand what you're preventing

    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?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton