Skip to content

Commit

Permalink
Mention secure erase
Browse files Browse the repository at this point in the history
  • Loading branch information
dngray committed Mar 20, 2022
1 parent 193f02e commit 70f8686
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions collections/_evergreen/linux-desktop.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ Most Linux distributions have an installer option for enabling [Linux Unified Ke

If this option isn't set at installation time, the user will have to backup their data and re-install, as encryption is applied after [disk partitioning](https://en.wikipedia.org/wiki/Disk_partitioning) but before [file systems](https://en.wikipedia.org/wiki/File_system) are [formatted](https://en.wikipedia.org/wiki/Disk_formatting).

For securely erasing storage devices such as a [Solid-state drive (SSD)](https://en.wikipedia.org/wiki/Solid-state_drive) you should use the [ATA Secure Erase](https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase) command. This command can be issued from your UEFI setup. If the storage device is a regular [hard drive](https://en.wikipedia.org/wiki/Hard_disk_drive), consider using [`nwipe`](https://en.wikipedia.org/wiki/Nwipe).

### Swap

Consider using [ZRAM](https://wiki.archlinux.org/title/Swap#zram-generator) or [encrypted swap](https://wiki.archlinux.org/title/Dm-crypt/Swap_encryption) instead of unencrypted swap to avoid potential security issues with sensitive data being pushed to [swap space](https://en.wikipedia.org/wiki/Memory_paging). Fedora based distributions [use ZRAM](https://fedoraproject.org/wiki/Changes/SwapOnZRAM) by default.
Expand Down

0 comments on commit 70f8686

Please sign in to comment.