Encrypted external devices

USB key and external USB harddrives with large capacity are ubiquitous. Those devices are small, cheap, and easy to lose. If the finder is friendly, she/he will look through the files to find out to who the device belongs and return it. Or just sniff around and keep the device which is more likely. I think “better safe than sorry” is the way to go and encryption of the files can help to protect your privacy. There are only a few simple steps needed to achieve this.

The command below creates an encrypted block device. See man cryptsetup for details.

Let’s open the new device. The password is needed.

Create a file system is the next step.

Closing the LUKS partion.

Disconnect the device from the computer and re-connect it. Now enter the password and the device is mounted automatically.


and we are good to go…

This entry was posted in Fedora, Security. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.