Difference between revisions of "Mounting Encrypted Home Directories"

From Pterodactylus
Jump to: navigation, search
m (Improve wording ("use this" implies so much magic).)
(Fix word.)
Line 12: Line 12:
 
     mount -t ecryptfs /old/.ecryptfs/''user''/.Private /mnt/old
 
     mount -t ecryptfs /old/.ecryptfs/''user''/.Private /mnt/old
  
As passphrase enter the mount passphrase from above. Choose <code>aes</code>, <code>16</code>, answer <code>no</code> to plaintext passthrough, <code>yes</code> to filename encryption and entry the value I told you to remember earlier.
+
As passphrase enter the mount passphrase from above. Choose <code>aes</code>, <code>16</code>, answer <code>no</code> to plaintext passthrough, <code>yes</code> to filename encryption and enter the value I told you to remember earlier.
  
 
Done.
 
Done.

Revision as of 23:47, 22 October 2011

Unwrap the old passphrase to get the mount passphrase:

   ecryptfs-unwrap-passphrase /old/.ecryptfs/user/wrapped-passphrase

Generate the kernel session keys:

   ecryptfs-add-passphrase --fnek

The value in brackets on the second line is the one to remember. Now mount the .Private directory:

   mount -t ecryptfs /old/.ecryptfs/user/.Private /mnt/old

As passphrase enter the mount passphrase from above. Choose aes, 16, answer no to plaintext passthrough, yes to filename encryption and enter the value I told you to remember earlier.

Done.