eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic filesystem for Linux. Ubuntu's encrypted home directory feature uses this technology.

learn more… | top users | synonyms

2
votes
1answer
759 views

Moving an encrypted home folder to a new drive

Is there something I should be taking in to account when moving an encrypted home directory to a new drive? Is it just enough to rsync the contents away, edit fstab etc?
3
votes
3answers
540 views

How to safely back up the “Private” folder?

I have an ecryptfs "Private" folder in my home directory, and it is set up to automatically mount whenever I log in. I want to set up automatic backups to a network drive, but I don't want the ...
0
votes
2answers
690 views

How to recover encrypted home data with Live CD?

Last night I closed my computer and when I try to login to my account I get rejected even though my password is correct. I tried to reset the PW but nothing so in second place I try to recover my ...
2
votes
1answer
171 views

Is /home/userdir or entire /home directory encrypted when selecting encryption during installation?

my question: When selecting encryption during the installation of Ubuntu 12.04: Is everything in /home encrypted or just the home-directory of the user who did the installation? Specifically, I ...
0
votes
1answer
307 views

How do I encrypt a user's home folder having no password?

The problem I have is that I use eCryptfs to encrypt a user's home folder, but in order to decrypt it the user must have a password. However, after I encrypt the home folder, I would love to change ...
4
votes
2answers
1k views

How to resize an ext4 encrypted home partition?

Which is the best way in order to resize an encrypted (ecryptfs) ext4 home partition ? Pros nad Cons of each method are greatly appreciated. $ fdisk -l Disk /dev/sda: 256.1 GB, 256060514304 bytes ...
0
votes
1answer
1k views

Why is ecryptfs only mounting private home directory over ssh?

The title says it all; my 12.04 server box will only decrypt and mount my home directory if I log in over SSH. Last night I needed some data off my server but I had left my laptop with my private keys ...
1
vote
2answers
2k views

How can I mount my Dropbox folder as the Documents folder on my encrypted home folder after startup?

What I am trying to do is bind: /home/username/Dropbox/Documents to /home/username/Documents on startup. On another computer running Ubuntu 12.04 I did this by placing the following line in ...
1
vote
2answers
273 views

How to backup encrypted home in encrypted form only?

I want to backup the encrypted home of a user who might be logged in at backup time. Which directories should I backup if I want to ensure that absolutely no plaintext data can be leaked? Are the ...
1
vote
1answer
92 views

How to use encypted home directory after reinstallation

I reinstalled Ubuntu on a machine with encrypted home directories. After that installation I have edited the fstab to boot the old home partition in /home. After doing so I can not login anymore with ...
1
vote
1answer
181 views

How to recover bad encrypted directory

I had a problem while formatting Ubuntu. I tried to reinstall without formatting the home directory and with the same username. The home directory of the new installation was set to be encrypted. ...
2
votes
1answer
703 views

Restore Encrypted /home partition

I need to recover my lost data. Tonight I reinstalled ubuntu without formatting /home, thinking that ubuntu was enought smart to install itself without wiping the previous data in directory like ...
1
vote
3answers
1k views

ecryptfs and ssh pubkey login - How automount and other stuff?

I have moved my ssh authorized_keys to an /etc/ssh/ subfolder, so I can login with pubkeys and have root in control of ssh access, but there are 2 problems left. It does not automount my users ...
1
vote
1answer
187 views

How does ecrypt handles symlinks to unencrypted files?

I have a encrypted home directory, and I have some large files (VMs) that I store outside of my home directory in /opt/jrg-stuff/VMs. How would ecryptfs handle a symlink to those files? Will it ...
5
votes
1answer
1k views

SSH remote user need to be logged in?

I'm trying to set up an SSH server. I put my public key in the authorized_keys file, made sure the permissions were correct, etc. When I restart the server (really just Ubuntu 12.04 desktop) and I ...
4
votes
2answers
568 views

What is the difference betwen creating a Private encryped folder and encrypting the whole Home directory at the time of Installation?

Which method is more preferable in which situation ? Which process poses less stress over the cpu ?
2
votes
1answer
1k views

How can I recover encrypted data from a previous Ubuntu installation?

I tried to upgrade from 10.10 to 11.04 but it crashed. It couldn't mount disk drives so I did a new installation without erasing the previous drives. Now I can't access access-your-private-data.
3
votes
1answer
698 views

Are all of the backup files & folders of encrypted /home folder also encrypted on the backup HDD?

In the past I routinely backed up my entire unencrypted /home folder with LuckyBackup (gui for Rsync) to an external HDD. I've had no problems seeing and manipulating the backed up data when accessing ...
3
votes
1answer
946 views

What are ECRYPTFS_FNEK_ENCRYPTED files and folders for?

I've moved my home folder from an old to a new computer using this HowTo. The old machine was running Xubuntu 11.10 the new is running Ubuntu 12.04 64bit. On both machines the users where created ...
4
votes
1answer
597 views

Why is ecryptfs so slow when running du -s?

I have been using Ubuntu's encrypted home folder system for some time now and have not really noticed any slowdowns except in two specific cases. When I run du -s in my home folder, it takes several ...
2
votes
1answer
1k views

How can I automount my ecryptfs ~/.private directory without logging in?

On Ubuntu Server 12.04 LTS, ecryptfs is set up where my /home/user/.private directory becomes decrypted when I login. I can then access my files in /home/user/private. But if I don't login to the ...
4
votes
2answers
2k views

Can ecryptfs-setup-private be made to use a 256 bit AES key (instead of the default 128 bit key length)?

ecryptfs-setup-private will by default use an AES 128 bit key. Can I make it use a 256 bit key (32 bytes key length)? Of course, I could do the whole process manually as described here: ...
4
votes
1answer
387 views

Prevent users from encrypting their home folders

How can I prevent users from encrypting their home folder on a server inside our company without removing the respective packages? Are there any policies I can enable to prevent this? Edit: the ...
0
votes
1answer
734 views

Making the old encrypted /home partition (10.10) available to new install (12.04)

I installed Ubuntu 12.04 on a fresh partition and my old Ubuntu 10.10 has my home directory encrypted. I was wondering if I can mount this home directory as /home/myoldhome in to new install whenever ...
13
votes
3answers
9k views

How can I completely remove ecryptfs from my system and delete .Private?

Few days back I have installed ecryptfs, created a private directory using it. Now my Ubuntu login became super slow. I have tried removing ecryptfs from Synaptic. I found It, it can not be deleted ...
9
votes
1answer
326 views

Where are decrypted files stored during runtime?

I wonder where does Ubuntu/eCryptfs store decrypted files from encrypted $HOME directory during runtime. Does it decrypt files just-in-time and store them only in RAM? What about large files (e.g. ...
2
votes
1answer
613 views

Accidently deletetd .ecryptfs folder - cant log in anympre

I accidently deleted the .ecryptfs folder, also the .private folder. Cant login anymore. Just as guest. How can I restore to the system before I deletetd those fodlers?
4
votes
1answer
2k views

How do I move my encrypted /home to a new computer?

Hi I have a new notebook and I want to move my home data to the new computer. I think there are multiple ways of doing this copy all to a external hdd and move back on new computer do an Deja-Dup ...
4
votes
1answer
7k views

Disks constantly spinning no matter what I do (jbd2). I'm on the brink of insanity

My disks have been spinning for months. It started with Ubuntu 11.10, and continues with 12.04. I can't figure out how to stop it. I've looked at various folks suggestions online about ext4 commit ...
3
votes
0answers
463 views

ecryptfs-setup-private login passphrase incorrect

I'm trying to access my former home folder. When I run ecryptfs-setup-private, I am asked for my login passphrase which returns ERROR: Your login passphrase is incorrect. I have tried both, my ...
9
votes
1answer
5k views

Encrypted Home… Forgotten Password, but no Passphrase

I am using a cloned hard drive in attempts to restore some old files. The cloned drive has 2 users, one with an encrypted home drive, one without. Both are administrators. When I couldn't get into ...
2
votes
1answer
181 views

“AND Operator” in PAM

I need to prevent users from authenticating through Kerberos when the encrypted /home/users has not yet been mounted. (This is to avoid corrupting the ecryptfs mountpoint) Currently I have these ...
3
votes
2answers
436 views

Can find any /.ecryptfs dir to retrieve my encrypted home dir

I've read some questions similar, but not the exactly the same problem... I've moved my home directory to a separated partitión (Ubuntu 11.10) following this tutorial. After confirming all my files ...
4
votes
3answers
6k views

Encrypted Home directory not auto mounting

I somehow managed to break auto-mounting for my encrypted home directory. Every time I login via SSH, I see this: valorin@joshua:~$ ls -la total 44 dr-x------ 3 valorin valorin 4096 2012-03-17 ...
5
votes
2answers
1k views

Recovering data from Private in an ecryptfs backup when the new home is also encrypted

I have a backup of /home from my old system on an external drive. The ~ on my new system has full home encryption from ecryptfs. I want to decrypt the Private on the old home and copy its ...
2
votes
1answer
245 views

Obtain passphrase programatically before intial login with ecryptfs?

We are learning about/experimenting with eCryptfs (Ubuntu Server 10.04). We are trying to set up users on our server programmatically using a bash script which we can do, including encrypting their ...
3
votes
1answer
1k views

Enable ecryptfs for all new users, even those authenticating through kerberos and ldap

How do I make sure that all users have their home directory encrypted when the login for the first time? I have setup pam to use Kerberos authentication and LDAP authorization (which I think should ...
3
votes
1answer
2k views

Why can't I use an OpenSSL key pair with ecryptfs?

According to documentation, I simply create a public/private keypair for ecryptfs using ecryptfs-manager. But there is nothing to select. $ sudo ecryptfs-manager eCryptfs key management menu ...
1
vote
1answer
1k views

Accessing Encrypted Home Folder / Return to Login Screen

I been having problems with ubuntu, in that I can reach the login screen, but when I enter my password it comes up with a black screen with some text and takes me back to the login screen - I can ...
3
votes
1answer
523 views

kubuntu move encrypted home dir to new SSD (keep encryption)

I already found how to move my encrypted home dir to new hd, but I have a comprehension question. So when I installed kubuntu 11.10 I choose to have an encryption (I think there was only possible to ...
8
votes
4answers
7k views

Securely automount encrypted drive at user login

An encrypted /home directory gets mounted automatically for me when I log in. I have a second internal hard drive that I've formatted and encrypted with Disk Utility. I want it to be automatically ...
2
votes
1answer
653 views

ecryptfs on too-small harddrive - how to add links into the encryption?

I am using ecryptfs for my home directory. I now want to switch to an SSD but my home dir is currently 350gb in size and I don't have the money to buy an ssd that size. What I got is a 128gb ssd that ...
7
votes
4answers
7k views

How does ecryptfs impact harddisk performance?

I have my home directy encrypted with ecryptfs. Does ecryptfs lead to fragmentation? I have the feeling that reading files, displaying folders and login became continuously slower and slower ...
0
votes
0answers
134 views

How do i recover my encrypted home directory [duplicate]

Possible Duplicate: How do I recover my data from an encrypted home directory? I opted to encrypt my home directory when installing Ubuntu. I kept the recovery key, the passphrase?. ...
11
votes
2answers
1k views

Suspend to RAM and encrypted partitions

Normally I don't shutdown my notebook any more in favour of using suspend-to-RAM. The downside is that my encrypted home partition is completely accessible after resume without entering the ...
2
votes
1answer
768 views

When running ecryptfs-migrate-home -u USER I get command not found error

Just like in the title, boywithaxe@Xerxes:~$ sudo ecryptfs-migrate-home -u test [sudo] password for boywithaxe: sudo: ecryptfs-migrate-home: command not found boywithaxe@Xerxes:~$ I realise this ...
4
votes
2answers
1k views

How to recover .ecryptfs directory , and other contents of home directory

I am encountering this error Install problem: configuration files for gnome power manager have not been installed correctly I went to Recovery console and mistakenly deleted .ecryptfs /home# rm ...
10
votes
2answers
2k views

Which algorithm does “encrypt home directory” use?

When encrypting a user's home directory, either during the install procedure or later using ecryptfs-migrate-home, what encryption algorithm / key size is used by default?
5
votes
1answer
6k views

Recovering eCryptfs partition with ecryptfs-recover-private not working

I am trying to reinstall, but I want to backup my encrypted home first, so I booted up from a live CD, mounted the hard drive, ran sudo ecryptfs-recover-private <home directory here> and it ...
0
votes
1answer
265 views

Some files not copied when moving an encrypted home to a different partition

I have "successfully" moved my encrypted home to a separate partition using the instructions here: How can i move an encrypted home directory to another partition? However, some files are not being ...