3 ms·
I have been asking myself lately: Without considering resources or practicality, if we were to re-design computers and servers from security-first principles,
by vkomega 5y ago
I have been asking myself lately:
Without considering resources or practicality, if we were to re-design computers and servers from security-first principles, what would features like management of secrets look like? Secure enclaves are wonderful but the secret still has to be propagated or used. A ground up computer design might greatly embellish on the idea of a secure enclave.
Linux seems a bit of a dinosaur in this regard.
- NovemberWhiskey 5y agoThe usual problems apply: identity, authentication, authorization, roots of trust. Imagine your enclave is a separate server on the network: how do you define which processes get access to which secrets under which circumstances? How do processes prove who they are to the enclave?
- vkomega 5y agoMaybe the idea of an OS with processes running on a single interconnected silicon is part of the issue, too. Just brainstorming based on your response.
- tyingq 5y ago>Linux seems a bit of a dinosaur in this regard To be fair, it has only whatever is on-hand to use. And the burden of running in a lot of different environments. Apple, having control of the hardware, and a very specific/limited set of places to run, can do smarter things around enclaves, etc.
- qbasic_forever 5y agoCan you really lay blame on the kernel though? All of this stuff with secrets is happening in userspace and mostly at the shell. If anything, systemd would probably be the place you'd want to build a secret storage system--perhaps build something API driven similar to Hashicorp's vault. edit: Apparently systemd now has an option to pass secrets/credentials to a service through a more secure by default (i.e. only stored in memory) file option: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#LoadCredential=ID:PATH https://www.freedesktop.org/software/systemd/man/systemd.exe...