Various scripts for working with encrypted data, and tutorials on how to secure your data.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Peter J. Jones dd802939b1
Add a default.nix file
11 months ago
bin Add the `-k' option to read a passphrase from a key file 1 year ago
boot Add more command line options, don't hard code partition number 4 years ago
doc New document: how to update the expiration date for GnuPG subkeys 2 years ago
etc Remove configuration lines that make GnuPG unhappy 2 years ago
GNUmakefile Add gpg-agent.conf and clean up gpg.conf 3 years ago
LICENSE First stab at making a NixOS Live USB stick with GnuPG 4 years ago Mention the new tutorial in the file 2 years ago
default.nix Add a default.nix file 11 months ago

Utilities and Tutorials for Encryption Tasks

This repository contains utility scripts for automating tasks related to encryption. It also contains tutorials/documentation for some of these tasks (e.g., creating new OpenPGP keys).



  • bin/make-encrypted-dev: Prepare removable drives and disk images, then create LUKS encrypted file systems on them.

  • bin/mount-encrypted-dev: Mount (and ummount) devices/images created by the make-encrypted-dev script.

  • boot/make-usb-drive: Create a USB stick with two partitions. Generate a NixOS ISO image and place it on the first partition. Then LUKS encrypt the second partition. The NixOS ISO image includes GnuPG and related tools.