Manually Uncrypt your Ecrypted Home Directory with your Login Password

The home folder encryption uses two passwords: one password, which is the login password that encrypts/decrypts the mount password. The encrypted mount password is stored in the file wrapped-passphrase. This way, if the user changes the password, only the wrappend passphrase needs to be re-encrypted.

I am using Ubuntu 11.10, so depending on your distribution, the commands may be different.

  1. ecryptfs-unwrap-passphrase /home/username/.ecryptfs/wrapped-passphrase
  2. sudo ecryptfs-add-passphrase --fnek (use key from above, copy second key, that is displayed)
  3. create /tmp/username
  4. sudo mount -t ecryptfs /home/.ecryptfs/username/.Private /tmp/username
  5. select: aes, 16, n, y, and paste the second key from above