Questions tagged [ecryptfs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
24 views

Decrypting ecryptfs files recovered using photorec

(There was a similar very old question here but I wasn't sure that I should / could bump that and my case is slightly different) I am tasked with recovering some information that a user deleted by ...
JaneDoe's user avatar
  • 121
1 vote
0 answers
218 views

ecryptfs module within WSL not loaded

I'm trying to load an ecryptfs encrypted folder on a USB device on Windows with WSL2. I've followed the instructions here to build a new linux kernel. However, when I do modprobe ecryptfs inside the ...
kaidentity's user avatar
1 vote
1 answer
116 views

eCryptfs: remove directory from list of encrypted directories so I can replace it and re-encrypt

I have a directory in my home directory that is encrypted with eCryptfs. Somehow, it got corrupted, and I can't read any of the files in the directory. I'm not inclined to try to fix it, since I have ...
William Oliver's user avatar
1 vote
0 answers
212 views

Home folder has been transformed into an encrypted file

Hi I have a weird problem, I've never seen before. I'm running Linux Mint 20.1. While running a live USB to try to fix a problem with file permissions on my root folder someone suggested I run > ...
ClosupJofre's user avatar
0 votes
1 answer
190 views

Passphrase overwrite a potential security flaw in using eCryptfs

I have been testing out eCryptfs on Ubuntu 18.04. I was happy with it until I discovered that after I unmounted an encrypted volume, a user with root access can mount it again with a newly generated ...
BlackBeardie's user avatar
2 votes
1 answer
952 views

Mount ecryptfs with filename encryption but without user interaction

I am trying to write a single command which will be issued by a program at runtime, to mount a directory with ecryptfs. This needs to be a non-interactive process with nothing known in advance so that ...
aybiss's user avatar
  • 160
0 votes
1 answer
754 views

Can no longer mount ecryptfs after fsck removed Private.sig file

OS: Ubuntu Server 18.04 I have an encrypted home directory. Recently I installed a Steam game that was writing to this directory (since Steam saves gamefiles to your home dir), and I think it started ...
Zoidberg's user avatar
  • 101
2 votes
1 answer
4k views

How to decrypt eCryptfs files that were recovered using photorec from a damaged partition

I used photorec -- to a reasonable degree of success -- to recover files from a damage home partition where users' homes were encrypted using ecryptfs on Ubuntu. The salvaged files are now named ...
A. Gh.'s user avatar
  • 21
2 votes
1 answer
203 views

ecryptfs - Encrypting identical files with the same key leads to different results

My understanding so far has been that ecryptfs uses a wrapped passphrase to encrypt files. When I mount two pairs of encrypted/decrypted directories using the same key I expect the same result when ...
Brainbug's user avatar
1 vote
0 answers
1k views

eCryptfs: what if I remove ~/.ecryptfs

I'm learning how to use eCryptfs: https://wiki.archlinux.org/index.php/ECryptfs I get things as below from the link: This is used to derive the actual file encryption master key. Thus, you ...
Yves's user avatar
  • 255
1 vote
0 answers
2k views

Mount encrypted Synology folder on non-Synology platform

I sold my Synology NAS box on eBay while keeping the HDDs. I completely forgot that I had encrypted some of my "Shared Folders". Now I desperately need to mount these @Test@ folders using anything ...
dotwin's user avatar
  • 121
2 votes
1 answer
238 views

Why /home/.ecryptfs is missing inside dd image of LVM partition?

Disk Copy 2 month ago I backed up the 128G HDD of an old laptop with Ubuntu 16.04 on it, using dd: # sudo dd if=/dev/sda of=/media/victor/blackWD/ss9backup.img conv=noerror bs=128k status=progress ...
Sulliwane's user avatar
  • 121
1 vote
1 answer
375 views

'Quick shredding' home directory encrypted with ecryptfs

I need to re-use a disk from another computer and would like to ensure existing data can be as hard to recover as possible, without making full shred runs over the entire device (when drives are, say, ...
Konstantin Boyandin's user avatar
0 votes
1 answer
1k views

ecryptfs: what and where is the key represented by "fnek_sig"?

I have encrypted private folder. In mount options there are two sigs: ecryptfs_fnek_sig and ecryptfs_sig. When I call keyctl show it shows, that I have two keys represented by these sigs. But actually ...
ardabro's user avatar
  • 475
3 votes
1 answer
434 views

Some way to support compression in front of ecryptfs transparently?

I would like to use ecryptfs for some files/directories, maybe a whole file system. Some of my files can be compressed pretty good, but from what I've read so far ecryptfs doesn't support compression ...
Thorsten Schöning's user avatar
2 votes
1 answer
743 views

Does ecryptfs encrypt the contents of each file or just the directory tree?

I recently had a harddrive crash and it seems it has corrupted the ecryptfs files(and ofc some others nearby). I wanted to know if I can still recover the content as I saw that there were actually ...
user725791's user avatar
2 votes
1 answer
4k views

Ubuntu change the passphrase on a ecryptfs home directory

I'm having some trouble with ecryptfs. Here's what's happened so far: I had an encrypted home directory, via ecryptfs. It worked fine. I changed my username and moved my home directory. Porting the ...
So8res's user avatar
  • 1,519
0 votes
1 answer
237 views

Ecryptfs does not seem to encrypt home folder

System: Ubuntu 16.04 LTS amd64 "bento" vagrant box with VirtualBox 5. Steps: root@vagrant:~# adduser --encrypt-home citizenfour root@vagrant:~# ssh citizenfour@localhost citizenfour@vagrant:~$ echo ...
H.-G. Buttentee's user avatar
2 votes
1 answer
7k views

Mount encrypted folder on synology nas via terminal

I was searching for a solution to mount an encrypted folder on my synology nas via terminal and found out that DSM uses ecryptfs. Using mount.ecryptfs $ENCRYPT_DIR_PATH $MOUNTED_DIR_PATH actually ...
Metalzwerg's user avatar
0 votes
1 answer
2k views

eCryptFs: Unable to mount after password change in recovery mode

I have reseted my user password using recovery mode. Unfortunately after this operation I am unable to login into my account because my home directory is encrypted. I can't mount my Private using ...
esac's user avatar
  • 3
1 vote
1 answer
665 views

How does encrypting /home partition with ecryptfs on linux stop malicious modification of /boot or /(root)?

This is a page where a developer of ecryptfs explains the difference between ecryptfs and dm-crypt: https://stackoverflow.com/questions/18230784/what-is-difference-between-linux-kernel-subsystem-dm-...
pangolin's user avatar
0 votes
1 answer
589 views

Storing EncFS's config file in SmartCard/Token

I used to store a random generated keyfile in a SmartCard and TrueCrypt was able to access this keyfile using PKCS #11. I'm trying EncFS now. Some people complain about it storing some of its ...
Hikari's user avatar
  • 307
0 votes
0 answers
648 views

Unable to mount ecryptfs home, after years of uninterrupted work

I have old machine with Ubuntu updated from 11.04 to 15.04, with encrypted $HOME like described here. Around two-three years after installation (around about one year or two years ago) username was ...
JustMe's user avatar
  • 101
2 votes
1 answer
1k views

Is it possible to hack my encrypted home by getting root access?

As we know there are some ways (as single user mode) to change root password by person having physical access to the machine. So: What will happen if someone steal my laptop, get root access and ...
ardabro's user avatar
  • 475
0 votes
1 answer
7k views

ECryptfs in Arch Linux not running with an error, “ERROR: Cannot get ecryptfs version, ecryptfs kernel module not loaded?”

I was following the ECryptfs Arch Linux setup instructions, and ran into this problem: root@alarm:~# ecryptfs-setup-private --nopwcheck --noautomount ERROR: Cannot get ecryptfs version, ecryptfs ...
cronburg's user avatar
  • 716
1 vote
0 answers
78 views

Use existing encrypted directory as home directory

In the past, I installed Ubuntu 12.04 with /dev/sda4 mounted as /home. I encrypted my home directory. Today, I erased all the partitions except /dev/sda4 and I installed Xubuntu 14.04 on a new ...
Jordan's user avatar
  • 153
0 votes
1 answer
1k views

Encrypted folder mounted by a cron job, won't keeps mounted

I have an A.sh script that queries a server; retrieves the mount password and mount the Private folder in the client. Then I have a Init.sh script that first check the internet connection status and ...
Sdlion's user avatar
  • 223
1 vote
1 answer
1k views

use ecryptfs with sshfs

I'm trying to use ecryptfs on top of sshfs to be able to create create and access an encrypted share on a new NAS box. The following mount command works on both the NAS box and my local mancine: ...
Dom's user avatar
  • 111
0 votes
1 answer
869 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 ...
toliveira's user avatar
  • 153
12 votes
1 answer
7k views

eCryptfs encrypted home - explanation

I'm trying to understand how ecryptfs works internally and documentation on ecryptfs.org doesn't help. Maybe someone is able to explain how does it really works. Of course I'm aware of these hidden ....
ardabro's user avatar
  • 475
2 votes
1 answer
416 views

Crashplan: Backing up locally encrypted files

I have a large number(>50GB) of files I want to back up in encrypted form, and I don't trust the crashplan provided encryption for these files. I'm using ecryptfs and doing this in my /etc/fstab: /...
Hamy's user avatar
  • 225
1 vote
0 answers
246 views

Make ecryptfs work on kerberos secured nfs4-share

I have a working single-signe-on setup using Kerberos and openLDAP. I have setup NFS4 to use this infrastructure to control access to the shared folders. This works perfectly fine. The NFS4 sever ...
gilgwath's user avatar
  • 626
1 vote
0 answers
923 views

Is there a way to use a "hardware fingerprint" to automatically mount an eCryptFS directory on boot?

I would like to have an eCryptfs directory "securely" automatically mounted on boot without logging in. My scenario is this: I have an embedded ArchLinux server (ARM-based) that uses a removable ...
Canuk's user avatar
  • 151
0 votes
2 answers
132 views

questions about data/encryption of a linux directory

i have a directory full of sensitive data and want to encrypt this directory to protect against outside attackers. i still want to be able to read from the directory and display this data onto a ...
milesmiles55's user avatar
0 votes
1 answer
215 views

Can I edit ecryptfs encrypted file?

I set up Linux Mint 16 with the automatic encryption option (ecryptfs) and all was fine until I added an environment variable to .profile and mistyped the home directory for the environment variable. ...
user308683's user avatar
15 votes
1 answer
3k views

Poor write performance on ecryptfs

I did a bit of benchmarking with ecryptfs and dm-crypt, and got some interesting results. All the following were done with a Btrfs filesystem, using dd to copy a ~700MB file to/from a ramdisk with the ...
Robin McCorkell's user avatar
3 votes
2 answers
5k views

(How) can I use VirtualBox (linux guest) to unlock LUKS and EcryptFS on Windows 8 (host)?

I run Linux (Ubuntu 13.10 and Mint 16) most of the time both at work and at home. Occasionally I need to boot into Windows (I dualboot Windows 8 at home or Windows 7 at work). In Windows, I'd like to ...
Redsandro's user avatar
  • 564
11 votes
3 answers
15k views

Mount ecryptfs volume on Windows

I have my Linux /home partition encrypted using ecryptfs, my Linux install is no longer working and I'd like to access files stored on that partition from Windows. Is there a tool/procedure that would ...
mdeous's user avatar
  • 233
2 votes
1 answer
1k views

eCryptfs - is the wrapped password the only thing I need to decrypt encrypted files?

I have a standard setup created by ecryptfs-setup-private. I've tried to figure out if the (unwrapped) wrapped passphrase [UWP] is the only thing I have to worry about (except the encrypted files ...
Tomasz Zieliński's user avatar
3 votes
1 answer
607 views

Should I use the openSUSE installer to encrypt /swap until ecryptfs is updated to work with systemd?

I recently installed openSUSE 12.3. I didn't use any partition encryption in the installer. Immediately after the install was complete, I installed ecryptfs-utils and ran ecryptfs-migrate-user -u ...
J L's user avatar
  • 177
2 votes
1 answer
855 views

Is ecryptfs-setup-swap persistent?

I have what I think is a quick question: Is running ecryptfs-setup-swap on a system that didn't have home-directory or swap encryption enabled when it was installed persistent? The man page at http://...
J L's user avatar
  • 177
5 votes
3 answers
3k views

eCryptfs with dropbox: must remount for synchronized changes to be visible

I am experimenting with using eCryptfs on top of dropbox, and I am encountering some issues. My system is GNU/Linux, openSUSE 12.2 to be exact. My setup is thus: I have set up two instances of ...
Quantumboredom's user avatar
3 votes
1 answer
554 views

Does eCryptfs prefetch and/or buffer data?

I have been experimenting with using eCryptfs as the underlying file system for MySQL data to mimic transparent data encryption for MySQL. I ran some tests to measure the overhead of decryption when ...
Rahul's user avatar
  • 31
3 votes
2 answers
2k views

ecryptfs and many many small files - bad performance?

I have a folder with a few hundred thousand small files, totalling about 14 GB of data. This is a folder in my ecryptfs encrypted home directory. Doing a "du -sh folder" takes over 9 minutes. Doing a ...
Guy's user avatar
  • 33
1 vote
1 answer
2k views

Is there a way to encrypt a mounted file system for off-site backup?

I want to efficiently back up an encrypted copy of my hard drive. I am currently using rsync to backup an unencrypted copy, and I find it quite efficient. I looked at duplicity and rsyncrypto, but ...
Jayen's user avatar
  • 512
3 votes
1 answer
509 views

Directory locations for ecryptfs

I have a private ecryptfs directory mount set up on Linux Mint, and I was wondering about how exactly the relevant files are distributed on my computer. Right now there's an .ecryptfsdirectory in /...
darkfeline's user avatar
  • 2,142
1 vote
2 answers
2k views

How to not automatically unmount eCryptfs

I am using eCryptfs and I would like to do either/or these things: Not automatically unmount the private directory when the user logs out 2. Mount another users private directory so I can just use a ...
user avatar
4 votes
1 answer
3k views

Cannot add key to kernel keyring

I have an encrypted folder that I want to decrypt (using ecryptfs). I went over all the standard procedures mentioned here. Everything seems to go well (getting passphrase, then adding it a keyring ...
Turgon's user avatar
  • 176
15 votes
1 answer
12k views

eCryptFS: How to mount a backup of an encrypted home dir?

I use eCryptFS to encrypt the home directory of my laptop. My backup script copies the encrypted files to a server (together with everything else in (home/.ecryptfs). How can I mount the encrypted ...
Boldewyn's user avatar
  • 4,398
1 vote
1 answer
2k views

Ubuntu encryptfs-mount-private not working

Ubuntu 10.04 LTS Ran some updates, finally got around to rebooting. When I rebooted, It came up with Some errors about missing files, etc... Came to discover my home directory was not decrypted. I ...
user36760's user avatar
  • 161