Questions tagged [ecryptfs]

118 questions
5
votes
1 answer

Mount options with ecryptfs encrypted home

I'm using ecryptfs for an encrypted home directory. I would like to try out the mount option "ecryptfs_xattr" on my encrypted home directory, because it will probably improve performance. Can I specify this option somewhere, and still have it…
3
votes
1 answer

Can the eCryptfs encrypted filename prefix be changed?

If I enable filename encryption in eCryptfs, when I unmount the filesystem all my files have names which start with "ECRYPTFS_FNEK_ENCRYPTED". I understand the need for the file system to have a signature in the filename which it can use to…
Michael
  • 544
3
votes
1 answer

How do I decrypt ecryptfs files?

I tried to setup ecryptfs on Debian Jessie, but I made an error and I cannot login now. So I took my encrypted files, and placed them in a safe place. How do I decrypt these files? I still remember the password. I've searched on every page on…
Satudarah
  • 31
  • 1
  • 3
2
votes
1 answer

How to hide timestamps on encrypted data files with ecryptfs?

I was investigating using ecryptfs to encrypt a single directory in my computer, but one of the things I noticed was that it leaks timestamps operations on unencrypted files in the lower encrypted data files, as also mentioned at: conceal home…
Ciro Santilli OurBigBook.com
  • 18,092
  • 4
  • 117
  • 102
2
votes
0 answers

How do I recover encrypted home folder

I decided to de-crypt my home folder yesterday. I copied all of my home folder to an external hard drive with sudo cp -rp /home/brad /media/brad/WD_4TB/brad.backup I removed the .ecryptfs directory on the external hard drive. I then rm -rf…
2
votes
0 answers

Smart Cards and eCryptFS

I'm trying to integrate PKI keys on a smartcard (using OpenSC) with eCryptFS mounts in order to facilitate stronger authorization checks. Here's how I would encrypt the passphrase for the filesystem: pkcs15-tool --read-public-key $KEYID >…
Hyppy
  • 306
1
vote
0 answers

Is there a way to decrypt the encrypted files (using ecryptFS) on Linux?

I am using ecryptFS for encryption of data on Linux. Is there a way on Linux to decrypt the data without mounting the encrypted folder?
1
vote
1 answer

Creating an eCryptfs Filesystem

I have a number of user directories that I'd like to have encrypted and authenticated via eCryptfs. I am attempting to create a new filesystem like so: gpg2 --decrypt key.gpg | \ sudo mount -t ecryptfs -o key=passphrase:passphrase_passwd_fd=0 \ …
Naftuli Kay
  • 39,676
0
votes
0 answers

Shrinking directory sizes on an ecryptfs filesystem

The root directory of my ecryptfs filesystem has grown massively since I accidentally created many thousands of files in it. Now that I've deleted the files, I'd like to shrink the directory, as I believe it's causing some performance problems. My…
Flup
  • 8,145
0
votes
0 answers

Ubuntu encrypted home folder got corrupted

I installed Ubuntu and encrypted the home folder. Then I forgot the login password and tried to change it: from the recovery mode, I've selected the root shell and at the prompt I entered: mount -rw -o remount / passwd username init 2 during the…
0
votes
1 answer

Recovering .eCrytpts files from sbd1 drive

When one of my RAID 1 drives went bad, after installing a replacement with one button in bios I ended up reformatting my drive. Linux then refused to recognize the new RAID formated drive, I managed to get windows to run testdisk to recover some…
Robb
  • 1
0
votes
1 answer

mount ecryptfs add boot time via init.d script

I have a directory .cipher which is a mount point to an external storage. Now I want to mount this directory to a directory plain at boot time. A running service must access the data without a user logon. I did the following…