Fedora 26 Linux to Enable TRIM for Better Performance of Encrypted SSD Disks

With this in mind, the Fedora developers are publishing a lot of interesting system-wide change proposals for Fedora 26, and one that caught our eye recently is the enablement of TRIM on encrypted disk drivers for SSD (Solid State Drives), which could dramatically improve their performance. Adding the “discard” option in the /etc/crypttab file is all one needs to enable TRIM on an SSD disk, but it would appear that enabling “discard” on an encrypted drive could lead to leak of information about the ciphertext device, including the used space and file system type, which could help an attacker crack the encryption faster.