Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: How to decrypt encrypted home folder?

  1. #11
    Join Date
    Nov 2004
    Beans
    558
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to decrypt encrypted home folder?

    the program that encrypts your home folder is called eCryptFS. i strongly doubt that you will find a windows driver for it. haven't looked for it though... maybe you're lucky.

  2. #12
    Join Date
    Aug 2010
    Location
    Palestine
    Beans
    131
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How to decrypt encrypted home folder?

    [QUOTE=surfer;10148818]the program that encrypts your home folder is called eCryptFS. i strongly doubt that you will find a windows driver for it. haven't looked for it though... maybe you're lucky.[/QUeeeOTE]

    How to do it ??
    Thanks

  3. #13
    Join Date
    Nov 2004
    Beans
    558
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to decrypt encrypted home folder?

    google?

  4. #14
    Join Date
    Nov 2004
    Beans
    558
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to decrypt encrypted home folder?

    by the way: your home directory is not encrypted with your password; the password encrypts the key that is really used to encrypt the files and directories.

    on ubuntu, the relevant tools are:
    Code:
    ecryptfs-add-passphrase
    ecryptfs-insert-wrapped-passphrase-into-keyring
    ecryptfs-manager
    ecryptfs-migrate-home
    ecryptfs-mount-private
    ecryptfs-rewrap-passphrase
    ecryptfs-rewrite-file
    ecryptfs-setup-private
    ecryptfs-setup-swap
    ecryptfs-stat
    ecryptfs-umount-private
    ecryptfs-unwrap-passphrase
    ecryptfs-wrap-passphrase
    the manpages will tell you what they are for.

  5. #15
    Join Date
    Sep 2009
    Beans
    114
    Distro
    Ubuntu Development Release

    Re: How to decrypt encrypted home folder?

    If your user account name is "user"

    1)
    Code:
    sudo ecryptfs-unwrap-passphrase /home/user/.ecryptfs/wrapped-passphrase
    Enter your account password for the user account, this will then display the encryption key, take a note of this key, if the user account password is wrong you won't be able to retrieve the key.

    2)
    Code:
    sudo ecryptfs-add-passphrase --fnek
    Enter the key you retrieved in step 1. This will insert two auth tok with sig. Take a note of the second key.

    3)
    Code:
    sudo mount -t ecryptfs /home/user/.Private /home/user/Private


    • Enter your key (Noted in step one)
    • Select: aes (use the aes cipher)
    • Select: 16 (use a 16 byte key)
    • Enable plaintext passthrough: n
    • Enable filename encryption: y )
    • Filename Encryption Key (FNEK) Signature: (Enter the key noted in step 2)
    • Since you are using superuser privileges instead of your regular user account, you may get a warning that you might have entered the passphrase wrong, even if you didn't. Continue the mount operation and don't save the key if it asks.

    Assuming you entered your key correctly, you should be able to temporarily access your data at /home/user/Private

    Good luck

  6. #16
    Join Date
    Dec 2005
    Location
    Europe
    Beans
    438

    Re: How to decrypt encrypted home folder?

    Quote Originally Posted by clivejo View Post
    Assuming you entered your key correctly, you should be able to temporarily access your data at /home/user/Private
    Thank you so much!
    Last edited by ubu-for; January 5th, 2011 at 03:08 PM.

  7. #17
    Join Date
    Nov 2010
    Beans
    6

    Re: How to decrypt encrypted home folder?

    Thanks clivejo this was very helpful for me. I think your instructions should include making a directory for "Private" to mount to.

    In order for this to work don't you need to make a directory named Private to mount to?

    sudo mkdir /home/user/Private
    Last edited by 86themachine; August 1st, 2011 at 10:59 AM.

  8. #18
    Join Date
    Mar 2010
    Beans
    2

    Re: How to decrypt encrypted home folder?

    [QUOTE=binarylife;10148913]
    Quote Originally Posted by surfer View Post
    the program that encrypts your home folder is called eCryptFS. i strongly doubt that you will find a windows driver for it. haven't looked for it though... maybe you're lucky.[/QUeeeOTE]

    How to do it ??
    Thanks

    hi binarylife,
    i had a ssd in my netbook with linux mint 12 on it and with an encrypted home-dir like yourself from the initial installation menu. So i know my password.
    Now my OS wont boot anymore so i booted a livedvd for mint 12 and with that i tried to access the old home-dir.
    1. attach an external harddisk
    2. in terminal cd to the encrypted home-dir: cd /media/whatever/home/user
    3. sudo ecryptfs-recover-private (NOT eNcrypt......)
    4. give your passsword
    5. the home-dir will be copied to /tmp/xxxxxx
    Now, nautilus file manager and the terminal cant access the copied dir and I am not sure what to do now but this worked for me:
    6. sudo nautilus
    7. with this 'root-nautilus' i can access the copied home-dir and copy all the files from there to the external harddisk

    note: i believe it is not a smart policy to keep using nautilus with 'sudo', so only use it for this incident

    Does this help?

  9. #19
    Join Date
    Jul 2008
    Beans
    1

    Smile Re: How to decrypt encrypted home folder?

    Thanks a LOT clivejo, your post saved me so much time!

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •