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
1 年之前
bin Add the `-k' option to read a passphrase from a key file 1 年之前
boot Add more command line options, don't hard code partition number 4 年之前
doc New document: how to update the expiration date for GnuPG subkeys 2 年之前
etc Remove configuration lines that make GnuPG unhappy 3 年之前
GNUmakefile Add gpg-agent.conf and clean up gpg.conf 4 年之前
LICENSE First stab at making a NixOS Live USB stick with GnuPG 4 年之前 Mention the new tutorial in the file 2 年之前
default.nix Add a default.nix file 1 年之前

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.