/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

trstringer.com
| | 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.
1.5 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.0 parsecs

Travel
| |
| | austinmorlan.com

I recently purchased a new laptop (Dell XPS 13 9370) and needed to install Arch onto it. I thought I'd finally document the steps I took because I always seem to forget what I did the last time (one of the joys of Arch is that it rarely needs to be reinstalled). There are a lot of helpful guides online about different installation setups, but I could never find one that met all of my requirements:
1.4 parsecs

Travel
| |
| | chrismcleod.dev

Chris McLeod is a software developer with over 20 years of experience. Sometimes he writes about it.
10.2 parsecs

Travel
|