Questions tagged [ecryptfs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
241 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 ...
0
votes
1answer
247 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 ...
2
votes
1answer
3k 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 ...
0
votes
1answer
105 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 ...
1
vote
0answers
839 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 ...
1
vote
0answers
1k 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 ...
2
votes
1answer
205 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 ...
1
vote
1answer
279 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, ...
0
votes
1answer
702 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 ...
2
votes
1answer
307 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 ...
2
votes
1answer
470 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 ...
2
votes
1answer
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 ...
0
votes
1answer
173 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 ...
2
votes
1answer
4k 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 ...
0
votes
1answer
1k 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 ...
1
vote
1answer
600 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-...
0
votes
1answer
520 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 ...
0
votes
0answers
561 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 ...
2
votes
1answer
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 ...
0
votes
1answer
5k 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 ...
1
vote
0answers
72 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 ...
0
votes
1answer
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 ...
1
vote
1answer
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: ...
0
votes
1answer
719 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 ...
11
votes
1answer
6k 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 ....
2
votes
1answer
404 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: /...
1
vote
0answers
218 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 ...
1
vote
0answers
755 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 ...
0
votes
2answers
125 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 ...
0
votes
1answer
201 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. ...
15
votes
1answer
2k 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 ...
3
votes
2answers
4k 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 ...
11
votes
2answers
13k 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 ...
2
votes
1answer
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 ...
2
votes
1answer
511 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 ...
2
votes
1answer
631 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://...
4
votes
3answers
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 ...
3
votes
1answer
527 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 ...
3
votes
2answers
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 ...
1
vote
1answer
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 ...
3
votes
1answer
451 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 /...
1
vote
2answers
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 ...
4
votes
1answer
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 ...
12
votes
1answer
11k 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 ...
1
vote
1answer
1k 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 ...
5
votes
2answers
3k views

Advice on approaches to disk encryption in Ubuntu?

I'm considering encrypting the contents of my laptop, which runs Ubuntu 10.04 and has an ext4 + swap, and I'm wondering what the best options are here. I'm aware of: TrueCrypt: either block-level ...