Hacker News new | ask | show | jobs
by dazilcher 523 days ago
And which user would you put in charge of decrypting the drive?

I vote for Bob from QA, he's always around.

2 comments

If you have multiple users then you make it so any of their passwords can decrypt the drive. It’s pretty simple to do this securely. Encrypt the drive with a random key. Derive keys from all the passwords. Use each of those keys to encrypt the drive key and store those encrypted keys. On boot, the user enters their password and then this is used to decrypt the disk key.

This also allows you to set up other keys, so that for example a company IT department can have a recovery key for the computer without needing to know your password.

This means your disk encryption security is now the limited by the worst password of any user, but that’s still a million times better than having the key be available to the system with no password at all.

hardware key and physical attestation mechanism -> fde via key -> hosted encrypted userland or per-user virtualization.

it's not perfect and it's a lanky chain to keep maintaining, but it's not un-doable.