← Back to context

Comment by demomode

6 hours ago

Swap files are very fragile if you are using hibernation. For FDE I prefer LVM-over-LUKS and a dedicate partition

MacOS seems to have no problem with hibernating and it and its predecessor NeXT have been using swap files for over 30 years.

  • MacOS has no problem with hibernation because hardware and software are designed together: it uses TPM to manage swap encryption. I assume "BIOS" is also optimized to enable fast boot on sleep.

    Linux can work with TPM but it's never as smooth. (Unless I guess you make it custom for your specific setup.)

    • I have FDE with keys in the TPM. It's pretty smooth bit required a one time additional step in Fedora. It's also probably not very secure, but my threat model is simple theft.

      1 reply →