Skip to content

Instantly share code, notes, and snippets.

@dorokhin
Last active October 17, 2020 09:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dorokhin/e0a90c790233215a9d3d290ae1438b90 to your computer and use it in GitHub Desktop.
Save dorokhin/e0a90c790233215a9d3d290ae1438b90 to your computer and use it in GitHub Desktop.
Ecryptfs home directory
  1. Get mount passphrase:
ecryptfs-unwrap-passphrase /home/username/.ecryptfs/wrapped-passphrase
  1. Store it in a safe place

  2. Mount drive with encrypted home directory to other OS, then:

sudo ecryptfs-recover-private /home/username/.Private
  1. Enter mount passphrase
  2. Profit!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment