Skip to content

Instantly share code, notes, and snippets.

View alexenglish's full-sized avatar

Lex English alexenglish

View GitHub Profile
### Keybase proof
I hereby claim:
* I am alexenglish on github.
* I am englal (https://keybase.io/englal) on keybase.
* I have a public key ASB-rVHiHfINudT6j0sWFdrnxTZLaRUGTn9vAjg0UAL-bQo
To claim this, I am signing this object:
@alexenglish
alexenglish / gist:d349affb1c933f658d02b3922ba76d3c
Last active September 15, 2023 07:40
Creating an encrypted volume in a file for secure storage
This method will allow you to create a file that will contain an encrypted volume, on which you'll create a filesystem that can be mounted like any other storage device.
The tools to do this should generally be installed on most Debian/Ubuntu systems by default, if not or if using another system you may need to hunt them down in your package manager.
DO NOT STORE YOUR ONLY COPY OF ANY CRITICAL DATA IN ONE OF THESE VAULTS. THEY ARE SAFE, THEY ARE SECURE, BUT ALWAYS HAVE A BACKUP. FILES AND DEVICES CAN BE CORRUPTED, AND PASSWORDS CAN BE FORGOTTEN OR MISPLACED. ALSO MAKE SURE YOU'VE PRACTICED WITH OPENING AND MOUNTING, THEN UNMOUNTING AND CLOSING BEFORE RELYING ON THIS SETUP, GET FAMILIAR WITH IT.
Please read this whole guide before starting as you'll benefit as you make decisions about how to name or size things.
Start by creating a file filled with random data in the size you'd like for your volume. The random data provides both some extra security (hard to know what is random data and what is encrypted data
Verifying myself: My Bitcoin username is +alexrenglish. https://onename.io/alexrenglish