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

1
vote
1answer
22 views

Install Ubuntu 14.04 LTS with an already existing encrypted home

The issue is to upgrade a Ubuntu system mounted with an encrypted home (on a seperated partition) which then cannot be decrypted/mounted with the exact same passphrase on a new fresh installed Ubuntu. ...
0
votes
2answers
65 views

Ubuntu 14.04 x64 encrypted home - signature not found in user keyring

Had some problems with my laptop a few days ago and I had to reinstall the system. I used the same password for the same user when I installed it and, after the installation finished, when I got to ...
3
votes
1answer
54 views

Can't access my encrypted home folder

My problem is the following: I decided to do an apt-get dist-upgrade. At first it said that it had to remove a lot of programs, which seemed a little suspicious, but I trusted the upgrade system. I ...
0
votes
0answers
12 views

Cannot login to my account after deleting encrypted ~/Private

After having a computer fail (harddisk still ok) on my laptop I wanted to delete all encryption since I lost my encryption password and followed this instruction (below). The harddisk from my crashed ...
0
votes
0answers
8 views

Cannot access file on ecryptfs on cifs :Permission denied

I setup a ubuntu for my svn, and backup file on a ecryptfs which is based on a remote CIFS . After "svnadmin hotcopy" to backup my files, some files cannot access again. I cannot ls/rm/touch by root ...
0
votes
0answers
10 views

Why do I get a “clone: Operation not permitted” after upgrade to 14.04

A call in some C executable tries to to clone(..., CLONE_NEWNS | CLONE_VM | SIGCHLD, ...), which apparently needs privileged access, is giving a "clone: Operation not permitted", since upgrading to ...
1
vote
2answers
51 views

Recover encrypted home folder after reinstallation

Yesterday I did a fresh installation of Ubuntu 14.10 over Ubuntu 14.04 and now I am not able to decrypt my home folder. I had two separate partitions: / and /home. I formatted my / partition but kept ...
0
votes
0answers
45 views

Mount as eCryptfs from folder inside eCryptfs-encrypted filesystem

I want to use eCryptfs to encrypt some of my synced files (which are synced to the Cloud and then synced to multiple computers running Ubuntu) and access them even when home folder encryption on ...
5
votes
2answers
661 views

Move ecryptfs .Private directory to another partition

I don't like to keep my data in the same partition as my Home directory; so I configure my machine with a small home partition which contains a symlink to my large data partition. For this reason, ...
0
votes
0answers
24 views

ecryptfs: how to decode/decrypt files and directories

Is there any soul out there who knows how to decrypt all ecryptfs encrypted files in a (certain) directory to plain text(make them unencrypted)? I've been searching for so long without any result. I ...
0
votes
0answers
10 views

ecryptfs _readpage?

I was taking a look at the logs, for safety, and I have found those logs below: nori-hidamari kernel: [ 1829.683564] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4] Apr 9 ...
0
votes
0answers
11 views

eCryptFS on Ubuntu Server 14x (problem with ecryptfs-generate-tpm-key)

I faced a problem that I can't solve by my own. I'm trying to install ecryptfs at an Ubuntu Server that will crypt a folder with thelp of Trusted Processing Module (TPM). I'm following the following ...
0
votes
1answer
24 views

Delay mounts after encrypted home folder is ready

I have set up a few bind mounts in fstab, mounting one folder in my home directory to another (AeroFS no sym-link circumvent). My home folder is encrypted. When the system boots up, it attempts to ...
0
votes
1answer
32 views

What information should I preemptively store to be able to recover encrypted data?

All of the posts that I can find regarding encrypted-data recovery regard specific situations. I currently have functioning partitions and directories, but would like to maximise my chances of ...
0
votes
0answers
20 views

If I ever restore an ecryptfs folder, what will I need?

Say I have an encrypted folder (using ecryptfs), and I'm regularly backing it up in its encrypted state. If all is lost some day and I have to restore everything to a whole new machine, what will I ...
0
votes
1answer
48 views

Recovering Encrypted Home Directory With Ecryptfs - Passphrase not working

My computer recently failed and I'm now trying to recover files off my external SATA SSD via LiveUSB. I don't remember encrypting my computer, but I'm receiving the ACCESS_YOUR_.... file when ...
0
votes
0answers
45 views

Recovering Encrypted Home Folder; Login Passphrase Not Working

I recently switched computers and need to access the files on my old SSD. It's fully Ubuntu and encrypted, I'm unable to access my private directories right now. I'm booted off a USB with my SSD in ...
2
votes
2answers
150 views

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 ...
1
vote
1answer
33 views

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 ...
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 ...
3
votes
3answers
3k views

Change the passphrase of an ecryptfs directory

I want to have an encrypted directory (not homedir!) let's say /testdata. I have used the following command and parameters to encrypt it: root@pc:~# mount -t ecryptfs /testdata/ /testdata/ ...
0
votes
0answers
7 views

Files invisible after eCryptFS mount [duplicate]

I have a test lab with a fresh install of ecryptfs. The back-end file system is NFSv3. I'm mounting it with a simple: mount -t ecryptfs /mnt/nfsshare-enc/ /mnt/nfsshare-enc/ I answer all the ...
2
votes
0answers
30 views

Getting “No key available with this passphrase.” when trying to add a new LVM encryption password

I am getting "No key available with this passphrase." when I try to reset the password for the LVM encryption on my Ubuntu box. I have tried the following commands: sudo cryptsetup luksAddKey ...
0
votes
1answer
46 views

Change eCryptFS mount options (remove nosuid)?

Is there a way to modify the mount options for an encrypted home partition on Ubuntu, specifically to remove the nosuid option? Relatedly, is removing nosuid likely to cause any difficulties mounting ...
1
vote
0answers
36 views

ecryptfs ecryptfs-add-passphrase and mount issues

I'm using ecryptfs for a folder not within my home directory. The authentication is passphrase only. If I mount the folder with the ecryptfs mount-helper all is working fine. If I then unmount the ...
0
votes
1answer
83 views

Repair broken encrypted home

I've ran into following problem. I have split my disk into two partitions, one for / and one form /home. I've also encrypted /home. One beautiful day ubuntu reports upon boot some broken files, ...
0
votes
0answers
31 views

mount ecryptfs with syscall in C language

I am trying to mount an fs with ecryptfs in a program in C. But I don't manage to give to the kernel part the key int mount_crypt(char* source) { int r = -1; char opt[1024] = ...
0
votes
1answer
72 views

How can I use public-key encryption for luks?

I have been running luks with the following commands: $ sudo dd if=/dev/urandom of=/keyfile bs=1024 count=4 $ sudo cryptsetup luksFormat /dev/XXX keyfile $ sudo cryptsetup luksDump /dev/XXX And it ...
0
votes
1answer
198 views

eCryptfs - Cannot decrypt filenames

I have encrypted data on an external HD mounted on /home/username/.Data. I am trying to decrypt it to /home/username/Data. Although I can successfully read the files contents, I cannot manage to ...
0
votes
2answers
216 views

how to use ecryptfs with a random directory

I would like to use ecryptfs to encrypt a random directory (i.e., not my home directory or a subdirectory thereof, principally due to disk space limitations on my home partition) and mount that ...
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
56 views

Access encrypted drive on separate partition

My situation is as follows. I upgraded my ubuntu version (12.04 to 14.04), using as a fresh install ~ it consistently failed when using update manager or apt-get. I kept my home on a separate ...
0
votes
1answer
615 views

ecryptfs-setup-swap freezes

My computer started freezing with the message cryptswap not ready, and so i tried following this tutorial http://punygeek.blogspot.de/2012/10/ubuntu-1204-how-to-solve-disk-drive-for.html Everything ...
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: ...
0
votes
1answer
84 views

Is my drive encrypted? I can read encrypted partition without providing password

Please help me determine if my is drive encrypted or not, what did I do wrong? I used Ubuntu Disk Utility for creating encrypted partition and I choose encrypted partition and provided a password, ...
3
votes
1answer
941 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 ...
1
vote
0answers
69 views

Trying to recover data from Access-Your-Private-Data.desktop - can't get into Unity

I have 3.5 year old Lenovo Thinkpad w/ an i5 running Windows 7 and previously Ubuntu 10.04, each on it's own 50/50 partition of a 500GB HDD. I rarely use this laptop because the battery is pretty much ...
0
votes
1answer
49 views

Deleted folder in encrypted home but did not free any space

I have this problem: I used ecryptfs to recover my home folder, which I use as storage for things I rarely use (old photos and videos, games, etc.). It was nearly full, so I sent a 20 GB folder to the ...
11
votes
1answer
444 views

How do I regain access to my encrypted home directory after changing my password?

On 12.04 LTS x64, I changed my user password via the User Accnts tool. After that I was unable to login again with my new password since my home directory is encrypted and the above-described bug does ...
0
votes
1answer
152 views

14.04: login loops back on itself - ecryptfs

This problem follows on from 14.04: No Auto login at User Account settings - I am administrator (see all comments) I tried to remove encryption via this link How can I enable autologin for my user ...
0
votes
1answer
60 views

GUI login failure after deleting ecryptfs

Ubuntu 12.04: I run my OS on a 64 GB SSD. So, space is important. Thus, I too hastily deleted ".ecryptfs" to save 10GB. (Ecryptfs was not set up to encrypt my home folder or the disk itself; so I ...
0
votes
3answers
100 views

Windows disappeared after installing Ubuntu encrypted

My problem is I lost Windows after reinstalling Ubuntu 14.04, because I reinstalled Ubuntu using encryption. From the beginning: 1) When I bought this laptop Windows 8 was already installed. 2) I ...
0
votes
0answers
26 views

Reset password via recovery mode, now data is encrypted [duplicate]

I forgot my login details for a Ubuntu server 13.10 installation, so I followed the steps in the top answer in this question: How do I reset a lost administrative password? This worked fine, I was ...
0
votes
0answers
41 views

Errors with Encryption Keyring and X when Booting in Ubuntu 14.04

I am running Ubuntu 14.04 and I know all of my passwords, but I'm having trouble logging in and error messages I've Googled have not led me to a solution. When I came home the desktop on my laptop ...
9
votes
1answer
3k views

Recover encrypted data after reinstall

I couldn't remember the password that I've used for so many weeks, and changed it in recovery mode but for many reasons I decided to reinstall Ubuntu 12.10 with my seperate /home folder intact and ...
0
votes
1answer
101 views

ecryptfs-recover-private mounts wrong filesystem

I have a backup of my encrypted home directory on an external harddrive. When I use ecryptfs-recover-private /mnt/externalhdd/home/user/.Private/ to mount the encrypted fs of the external hdd it ...
0
votes
0answers
61 views

Ipsec connection fails between two hosts

I have two systems: Host1 (IP address - 10.1.0.1) and (Host2 IP address - 10.1.0.2) I configured IPsec on both machines as below: Host 1 config (/etc/ipsec-tools.conf) #Host 1 /etc/ipsec-tools.conf ...
0
votes
0answers
135 views

Stuck in login loop following a password change; solutions don't work or make no sense [14.04]

I forgot my desktop password and did a password change via Recovery Mode. But after that, the login screen puts me into a loop. Though it seems to be a common problem, the solutions I've been given ...
0
votes
0answers
241 views

Problem using 'ecryptfs-unwrap-passphrase'

I have 2 laptops running Ubuntu 14.04. 1> The Toshiba supplies the mount passphrase when I run 'ecryptfs-unwrap-passphrase' 2> When I run 'ecryptfs-unwrap-passphrase' the HP does not supply ...
0
votes
0answers
28 views

mount.ecryptfs_private ALIAS feature

Situation: I have my $home on a hard drive which is full, bought a new one and about to use it. Gparted did it's thing and what I'd like to do is mounting this new drive (/dev/sdb1) as $home/newdrive. ...