NixOS: Installation Guide with RAID 1, encryption, and TPM unlock (part 7 - Mitigating the OS swap attack)
There is still a loophole where one could obtain the LUKS volume encryption key using another operating system. Let’s fix that.
There is still a loophole where one could obtain the LUKS volume encryption key using another operating system. Let’s fix that.
The NixOS disk is encrypted, but a careful LUKS volume swap attack can still be used to obtain the encryption master key.
At last, we are going to automatically decrypt the NixOS disk using the TPM!
In the fourth post of our series, we are going to configure Secure Boot to ensure that only trusted operating systems can be executed.