saljam
Joined 15 years ago
Joined 15 years ago
there a whole inset panel for israel, and not a single mention of palestine.
i also obviously maintain the instance on https://webwormhole.io/.
nope! the trick the article is describing works even if the kernel and initrd is measured. it uses the same kernel, initrd, and command line.
the reason this trick works is that initrds usually fall back to password unlock if the key from the tpm doesn't work. so the hack replaces the encrypted volume, not the kernel, with a compromised one. that is:
1. (temporarily) replace encrypted volume with our own, encrypted with a known password.
2. boot the device.
3. the automated tpm unlock fails, prompting for a password.
4. type in our password. now we're in, using the original kernel and initrd, but it's our special filesystem, not the one we're trying to decrypt.
5. ask the tpm again for the key. since we're still using the original kernel, initrd, and command line, we should now get the key to unlock the original encrypted volume.
the way to fix this is to somehow also measure encrypted volume itself. the article points to suggestions of deriving a value from the encryption key.
source is linked at the bottom. much of it was written in elm and i no longer understand how any of it works.
On command line it's an option and Google's is default. I'd like to make the signalling server also a STUN server at some point.
Someone mentioned the command line client. One can also build and serve the html/js/wasm from anywhere and it should still work, even with the same signalling server. It has pretty lax CORS for this reason.
i'd still use less permissive containers for things i don't feel comfortable installing on the host, e.g. npm.