/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

eklausmeier.goip.de
| | trstringer.com

This is one of those things that I do so much but always need to think. So I'm going to create some documentation for myself, and maybe it'll help others. Specifically, I'm going to setup an external disk with encryption.
1.4 parsecs

Travel
| |
| | ketanvijayvargiya.com

I recently setup a Samba share on a Raspberry Pi on my home network. As part of that, I used a 5 TB Western Digital My Passport Ultra as the storage layer. I wanted to encrypt it since it's going to store a lot of personal content. That way, I won't have to worry about leaking any of that data if I lost the disk. The following post lists down the Linux commands I used to turn on that encryption. And while I tried this on a Raspberry Pi, the commands are generic and should work on any Linux system.
1.6 parsecs

Travel
| |
| | willhaley.com

Encrypt and Decrypt a Single File on Linux with AES256 and GPG Encrypt gpg --cipher-algo AES256 --symmetric --output encrypted.file plain.file Decrypt gpg --output plain.file --decrypt encrypted.file Change the key file for a LUKS device cryptsetup luksChangeKey /dev/sdX --key-file /keys/old.keyfile /keys/new.keyfile Create a LUKS Encrypted Image Container File Create an empty 1GB img file dd if=/dev/zero of=encrypted.img bs=1 count=0 seek=1G Choose a keyfile that will be used to encrypt and unlock the image. Any regular file works as a key. A random key can be generated like so.
2.0 parsecs

Travel
| |
| | anarc.at


8.8 parsecs

Travel
|