Questions tagged [ecryptfs]

116 questions
62
votes
4 answers

What is the maximum allowed filename (and folder) size with eCryptfs?

I am a new eCryptfs user and I have a very basic question that I wasn't able to find anywhere. I am interested in using eCryptfs via my Synology NAS that uses Linux. While trying to encrypt my folder (EXT4) via Synology's encryption app (eCryptfs) I…
Fabry
  • 621
  • 1
  • 5
  • 3
19
votes
2 answers

mount: No such file or directory with encrypted recovery

I have destroyed my Mint Linux installation. I just wanted access to my remote storefront. So what happened was I was having trouble with ICEauthority file in my home directory. So following different directions on the internet I came to the…
Frankenmint
  • 293
  • 1
  • 2
  • 6
10
votes
2 answers

ecryptfs: auto-umount does not work

I've set up an encrypted home directory for user piranha3: root@raspberrypi:~# ecryptfs-verify -u piranha3 -h INFO: [/home/piranha3/.ecryptfs] exists INFO: [/home/piranha3/.ecryptfs/Private.sig] exists INFO: [/home/piranha3/.ecryptfs/Private.sig]…
sebelk
  • 4,209
  • 10
  • 35
  • 54
9
votes
2 answers

How is it possible 8 blocks get allocated but file size 0?

Someone ask me in other site about this question, i.e. a file named "abc.dat" has 0 file size but 8 blocks, and this is the output I ask him to give me (Some text has been translated from Chinese to English): $ cp abc.dat abc2.dat; ls -ls abc2.dat…
林果皞
  • 4,946
  • 2
  • 29
  • 45
9
votes
2 answers

How do I layer compression on top of encryption on top of BtrFS, per-file?

BtrFS should support this really, but it doesn't. So ECryptFS looks like it will fill the gap. The only thing is, how would I layer compression on top of this? Reasons for compression on top of encryption: intentionally, the converse (encryption on…
James Haigh
  • 719
  • 2
  • 7
  • 16
8
votes
3 answers

Can't do SSH public key login under encrypted home

I can't do ssh public key login to my server and I think this issue is related to the fact my home is encrypted. I chose the option "encrypt my home folder" under the Ubuntu install setup. The permissions on /home/MY-USER are 700. I've tried another…
lucasvscn
  • 183
  • 1
  • 3
7
votes
2 answers

conceal home folder completely - is ecryptfs the right choice?

On my Debian-Testing-System, I want to completely conceal the home folders. That means, I not only want the data to be encrypted, but I also want to preclude determining any (or most) information from the encrypted data. For instance, also file…
Marcel
  • 1,114
  • 1
  • 14
  • 28
7
votes
3 answers

Is there a tool to map ecryptfs plaintext and encrypted filenames?

Ecryptfs encrypts filenames and sometimes I need to find particular file, so I would like a tool to map the encrypted filenames back to their plaintext file name.
Eddie Garcia
6
votes
1 answer

SSH public keys not working; my home directory is encrypted

I installed Ubuntu LTS 14.04 server edition on a remote computer, and added my local public key to ~/.ssh/authorized_keys on the remote computer. I found that I still needed to use password to log in the remote computer, even after setting the…
shva
  • 163
  • 1
  • 4
6
votes
2 answers

how to decrypt ecryptfs file with private key instead of passphrase

I have an encrypted share folder on my synology NAS DS413 (which uses ecryptfs). I can manually mount the encrypted folder and read the decrypted files without issue, using synologies GUI. For some reason, I have never been able to mount the…
kevincw01
  • 63
  • 1
  • 4
5
votes
2 answers

How to get a usable full disk encryption with different encryptions for different users

I want to have a full system encryption on my laptop. But I have two users, one for home and one for work and want a separate encryption for both. Sure I could do a full disk encryption with dm-crypt and use a second encryption layer with ecryptfs…
student
  • 17,875
  • 31
  • 103
  • 169
5
votes
1 answer

Are there any security risks when mounting as root?

Are there any security related risks when mounting with root privileges compared to mounting with regular users? I have a script which does some ecryptfs mounting with non-root privileges (by design), but it doesn't work as expected on all required…
ddario
  • 713
  • 1
  • 5
  • 6
5
votes
2 answers

QNAP eCryptFS Filesystem Broken Permissions

Following an issue with my QNAP device I've had to do a whole load of manual recovery of data and only getting at my encrypted data remains. It seems that QNAP use eCryptFS to do this. I've managed to set-up the passphrase (with…
kemra102
  • 1,061
  • 2
  • 11
  • 16
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…
5
votes
1 answer

Why fstrim appears not to trim data blocks on btrfs (+ecrypts)?

I have an SSD disk with several partitions. One of them is has a btrfs volume, mounted as /home, which holds an ecryptfs home directory. When I trim the volumes, it seems that fstrim doesn't trim data blocks on such volume - why? Below you can see…
Marcus
  • 869
  • 2
  • 8
  • 22
1
2 3 4 5 6 7 8