Open Linux Forums
Like Ubuntu forums, except with beer.
Member
Joined: Sep 27 2018
Posts: 1

I heard that with Linux you can set up the swap file so that it is encrypted with a random key at boot, which is only stored in RAM. This renders the swap content unreadable after shutting down the computer, which protects the security of data in RAM (like encryption keys, passwords, etc).

Can anyone point to a reputable tutorial on how to set this up?

I'm running Ubuntu 18.04.

Administrator
avatar
Joined: Oct 04 2017
Posts: 395

You could try the following instructions:
https://gist.github.com/HacKanCuBa/b8565369de9620ba1eb24b75ee836857