Questions tagged [ecryptfs]

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

eCryptfs is just one component in a comprehensive set of mechanisms to protect the confidentiality of your data.

444 questions
46
votes
4 answers

Trying to mount old encrypted home

I installed a fresh Ubuntu 10.10 onto a new hard drive and want to mount the old home directory to a subdirectory of my new (also encrypted) home directory. I tried this with sudo mount -t ecryptfs /mnt/oldhome/me/ /home/me/oldhome, with…
rausch
  • 896
20
votes
3 answers

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 that way. Somewhere I have read about this…
14
votes
3 answers

How do I get Ubuntu to stop hanging periodically?

Ever since Ubuntu 11.04, I have been experiencing random system hangs (I'm currently running 11.10). REISUB does not recover the system and a hard-boot is required. Scanning all the system logs (kern.log, syslog, dmesg) does not reveal anything…
13
votes
3 answers

How can I confirm that I'm using ecryptfs?

Is there a simple way to tell if I'm using ecryptfs on my home directory? I tried running the ecryptfs-migrate-home script a while ago, and it failed part way through. I assumed that it went back to using my old plain, unencrypted home, but I just…
naught101
  • 1,582
11
votes
2 answers

Ecryptfs - mount: mount(2) failed: No such file or directory

Ecryptfs does not provide a helpful error when it fails to find a passphrase in the user's kernel keyring when mounting an encrypted directory. The solution is to show an error that says, "Failed to perform eCryptfs mount, stored passphrase not…
naisanza
  • 859
7
votes
2 answers

Private directory mounted without passphrase?

After setting up a private directory in ~/Private, I noticed that ecryptfs-mount-private is able to mount the directory without supplying a passphrase. Is there a way to disable this behaviour, to force ecryptfs to ask for a passphrase (and entirely…
user2817
6
votes
2 answers

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 now-decrypted contents to the new home. I actually have the…
maco
  • 15,892
4
votes
1 answer

Migration from ecryptfs to full-disk encryption

I'm thinking if I should move from the ecryptfs $HOME encryption to a full-disk encryption. What is the most recommended tool I can use for this full-disk encryption, and what is the best tutorial available on how to migrate from ecryptfs? Free and…
Strapakowsky
  • 11,914
4
votes
2 answers

How to encrypt/decrypt a single file ecryptfs-style without mounting?

How can one encrypt/decrypt a single file ecryptfs-style without mounting the whole filesystem? I am basically looking for a gpg -e/gpg -d analogue that produces output that can be understood by ecryptfs and used in userspace.
Grumbel
  • 4,729
4
votes
1 answer

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?
Guu
  • 143
3
votes
1 answer

Need help desperately to decrypt home folder

Okay, long story: My Windows crashed so I installed 11.10 on my HDD. I then partitioned my 1TB so I could dual boot both OSes. But now when I go to log into my Ubuntu system it says "missing operating system". I went to recover ALL OF MY DATA from…
3
votes
1 answer

ecryptfs-mount-private ERROR

ERROR: Encrypted private directory is not set up properly I forgot my password and a computer person set up a new profile on my linux machine with a new login password which I know. The problem is I get this error when I type in the terminal:…
user111
  • 661
  • 1
  • 7
  • 9
3
votes
1 answer

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 the external backup HDD from a LiveCD, another…
Rizlaw
  • 31
3
votes
1 answer

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 I want to install the root system on, as well as…
Frank
  • 31
2
votes
2 answers

Using ecryptfs "the other way around"?

If I have two folders E en D and a passphrase P, in a typical ecryptfs setup I would something like this: I setup folder E to be the encrypted version of folder D, using passphrase P to do the encryption/decryption. Folder E stores the actual data…
Sam Van den Eynde
  • 296
  • 1
  • 3
  • 13
1
2 3