Questions tagged [ecryptfs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

How to enable fingerprint login with encrypted home?

I recently encrypted my home folder using the ecryptfs auto-mounting method. But now when I try to log in using my fingerprint reader GDM (and the entire system) just freezes. I can still log in and ...
user avatar
1 vote
1 answer
101 views

Encrypted home dir suddenly failing to mount on boot

After an update and a reboot, my ecryptfs home directory in Linux is failing to decrypt and mount on boot. It caused a bit of a panic, as Mint seemed entirely reinstalled from scratch (but the ...
user avatar
1 vote
0 answers
157 views

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?
user avatar
0 votes
0 answers
23 views

Does ecryptfs of the home directory prevent recovering the data back?

I have a computer with SSD where my personal data (:D) is stored in a folder inside the home directory, I have read so many times that encrypting your files will prevent anyone from retrieving your ...
user avatar
  • 259
0 votes
0 answers
54 views

Unable to login after changing the encryption passphrase

When I installed Linux mint 20, it asked me during the installation if I want to encrypt my home directory. I clicked on yes I want. Later. when the installation has completed, I noticed that it did ...
user avatar
  • 259
0 votes
0 answers
82 views

ecryptfs dir successfully mounted but showing no files

I'm trying to decrypt a directory using ecryptfs. On its unmounted form, shows nearly 8gb in 136 files: $ du -sh .Personal2/ && la .Personal2/ && find .Personal2/ -type f | wc -l 7,5G ...
user avatar
0 votes
0 answers
19 views

ecryptfs in initramfs

I have a dir /encrypted, ecncrypted with ecryptfs and I need to mount /encrypted to /unencrypted during boot process, just after real root has been mounted. I've add mount.ecryptfs to /usr/sbin of ...
user avatar
1 vote
1 answer
191 views

I Can't Log In to my Account after Password reset

I forgot the password to my admin account in ubuntu, I googled how to reset ubuntu admin password, then did the following steps from the tutorial that I found online Enter Recovery Drop to root shell ...
user avatar
  • 11
2 votes
1 answer
65 views

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 ...
user avatar
1 vote
1 answer
142 views

How to restore some files from btrfs snapshot (created via timeshift) of encrypted home dir via ecryptfs

I use Linux Mint 20 and Timeshift to create btrfs snapshots from @ and @home. My home dir is encrypted. Timeshift also includes @home/.ecryptfs/ in the snapshots. I'd like to take a look at some files ...
user avatar
  • 113
3 votes
1 answer
333 views

ecryptfs mounted home folder "disappears" when Samba closes session for my (interactive) user via PAM

On Ubuntu 20.04 - and I have encountered this with (vanilla) GNOME before - with KDE Plasma (no, not Kubuntu!), I am faced with a strange thing that happens every few hours or so and for which I have ...
user avatar
  • 15.4k
2 votes
0 answers
153 views

How secure if automount of ecryptsfs in Synology NAS

I'm using automount for my ecryptfs folders in the Synology NAS. I'm wondering where the Key Manager stores the keys and how easy it is to read my encrypted folders in case of theft of the NAS. I ...
user avatar
1 vote
0 answers
24 views

How to use eCryptfs under Google Cloud Shell?

I am trying to use ecryptfs under Google Cloud Shell. Google Cloud Shell is a virtual machine running Debian GNU/Linux 9. I installed ecryptfs-utils package using command: sudo apt install ecryptfs-...
user avatar
  • 478
1 vote
0 answers
66 views

reusing ssh key for ecryptfs-ed directory (ubuntu)?

On a x86-64 laptop running Ubuntu/Focal 20.04 I have generated a ~/.ssh/id_rsa.pub public and ~/.ssh/id_rsa private key with ssh-keygen -b 4096 and a difficult to remember passphrase. I would like ...
user avatar
0 votes
1 answer
425 views

Encrypting home folder without filename encryption using `ecryptfs`

ecryptfs encrypts home folders with filename encryption by default. However, because of this, filenames with more than 143 characters can not exist in the home folder (while an unencrypted ext4 home ...
user avatar
  • 4,398
3 votes
1 answer
649 views

Is it good to have both LUKS and ecryptfs encryptions at the same time?

I have been using ecryptfs encryption for a long time. I prefer per user encryption. That means even a root user can not read a user files when the user is not logged in. When an user is not logged in,...
user avatar
  • 267
2 votes
1 answer
71 views

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 ...
user avatar
  • 474
0 votes
1 answer
36 views

Cloning ecryptfs drives

I have the task of installing Ubuntu on 1600 laptops that need s few folders encrypted using ecryptfs. I want to configured and encrypt 1 laptop then clone the rest. Will the clones also be encrypted?...
user avatar
1 vote
0 answers
94 views

Change the default mount option on encryptfs home during login - pam_mount

I've Linux Mint 18.3 Sylvia and I've set up the encrypted home. It works fine out of the box. It is mounted with these default options: mount | grep /home /dev/sda1 on /home type btrfs rw,noatime,...
user avatar
2 votes
0 answers
1k views

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 ...
user avatar
2 votes
1 answer
511 views

pam_mount to mount ecryptfs-encrypted folder at login

My system has encrypted home by using ecryptfs-utils. I try to use pam_mount to mount a second encrypted folder, which has the same password, at login. After installing pam-mount package from ...
user avatar
3 votes
1 answer
736 views

Copying ext4 encrypted files

I'm using ext4 encryption. https://wiki.archlinux.org/index.php/Ext4#Using_file-based_encryption Before I decrypt a directory, I can see lots of encrypted filenames in it. I would like to copy the ...
user avatar
  • 611
2 votes
0 answers
177 views

NFS mount on client not matching what's exported on the server

I've managed to successfully network two home computers with a crossover Ethernet cable. My intention is to arrange a fast transfer of files from one to the other. This is the first time I'm pairing ...
user avatar
  • 121
1 vote
0 answers
18 views

Setting mount options for PAM mounted ecryfptfs

Is there any way of using (for example) the lazytime mount option with ecryptfs if it's automatically mounted by PAM when you login?
user avatar
2 votes
2 answers
2k views

Encrypting a currently used external hard drive such that it can be updated with rsync?

I currently have an unencrypted external hard drive that I use as a backup for my encrypted (with LUKS) main machine. To update my backup, I simply log in to the main machine and rsync to my external ...
user avatar
  • 75
0 votes
0 answers
94 views

Running a BASH script via crontab causes ecryptfs volume to unmount

On my MX-18 linux (Debian 9 Stretch based) system, whenever a script runs via cron, my Private ecryptfs volume unmounts. Confirmed, no issue running the same BASH scripts from a terminal. Tested with ...
user avatar
0 votes
0 answers
85 views

Change encryted home files to not hidden directory

I'm using Linux Mint 19 Tara with home folder encryption set during OS installation. I know that my encrypted files are stored under ~/home/.ecryptfs But I need to have them under not hidden directory,...
user avatar
  • 11
0 votes
1 answer
254 views

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 ...
user avatar
  • 1
0 votes
1 answer
410 views

Automount ecryptfs home in chroot (when using schroot)

my host system is archlinux and i need an ubuntu enviornment ready to be used with the files in my home directory. Problem is: my home directory is encrypted using ecryptfs. So when i launch the ...
user avatar
2 votes
2 answers
3k views

"ecryptfs-mount-private" returns "fopen: No such file or directory"

Recently, we've rebooted server and got ecryptfs mount fail: ... Signature not found in user keyring Perhaps try the interactive 'ecryptfs-mount-private' user@host:~$ Could that be because ...
user avatar
  • 379
1 vote
0 answers
252 views

How to mount ecryptfs and preserve individual SELinux tag of underlying files?

I am trying to mount ecryptfs on a system that uses SELinux (e.g. Cent-OS), and I want to preserve the security tag of all individual underlying files. Using mount -o command I can set the security ...
user avatar
  • 93
0 votes
2 answers
97 views

Is Encrypting/Decrypting an external USB Drive with minimal priviledge possible?

The following situation is the case: I want to provide my students with an easy way to protect their data securely and encrypted on an external usb drive with the zero knowledge principle in mind so ...
user avatar
0 votes
1 answer
587 views

Ecryptfs input/output error

Recently my primary workstation OS "Linux Ubuntu" failed to boot and has since become irrecoverable, however the encrypted home directory is still intact but i cannot decrypt as it keeps giving me ...
user avatar
  • 1
-1 votes
1 answer
1k views

Startup script to decrypt home directory

I accidentally enabled /home encryption on installation. So I need to decrypt it manually from console after every system start. I do it with ecryptfs-umount-private. How can I make the decryption ...
user avatar
  • 397
3 votes
1 answer
1k views

Disk encryption with ecryptfs - full disk

i'm new and i hope to find an answer here. Please tell me, if you need more information. I have an disk encryption for my home partition on Linux 4.13.0-43-generic x86_64 (Ubuntu 16.04.4 LTS). Today ...
user avatar
  • 33
1 vote
1 answer
365 views

Encrypted Home Directory Problems/Questions

I usually use full disk encryption but I want to create a Ubuntu server that multiple user can use as a file server (using SSHFS GUI clients) and therefore I want their home directories to be ...
user avatar
  • 337
0 votes
1 answer
335 views

I mounted a ZFS dataset within an ecryptfs directory and now cannot see the contents or change the mountpoint

I'm running Ubuntu 16.04 LTS on a desktop that uses a ZFS on Linux (ZoL) pool. My home directory is encrypted using the built-in encryption setup at install time and has worked great, and ZFS has ...
user avatar
  • 2,084
5 votes
2 answers
827 views

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 ...
user avatar
  • 921
9 votes
2 answers
2k views

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 ...
user avatar
  • 4,508
2 votes
1 answer
2k views

Use Systemd user services with ecryptfs

I want accomplish the following task: On a Ubuntu System with multiple Users accounts and encrypted Home directorys a NFS share should be mounted after login. I want to use systemd user service for ...
user avatar
0 votes
1 answer
1k views

How to auto-mount HDD within encrypted /home partition/directory?

My machine has a secondary (NTFS-formatted) internal hard disk drive containing most of my personal files and data. I wish to auto-mount this drive under my user HOME. However, during installation of ...
user avatar
1 vote
1 answer
4k views

Encrypting & mounting directory with ecryptfs [closed]

I wanted to encrypt a directory in such a way that the directory will stay encrypted after I login and only when I deliberately enter my passphase will the content of the directory be decrypted. I ...
user avatar
1 vote
2 answers
2k views

How to automatically `ecryptfs-mount-private` on `gdm` login in Fedora 27?

I have installed Fedora, but used existing /home partition from previous Ubuntu install: partitions: /boot/efi, / (formatted during install), /home (kept from Ubuntu), user was set-up with same ...
user avatar
  • 3,825
0 votes
1 answer
1k views

Encrypting home directory on Raspberry pi with password file on USB

I have been trying to follow this guide: https://www.howtoforge.com/tutorial/how-to-encrypt-directories-and-partitions-with-ecryptfs-on-debian/ to encrypt the home directory on my pi with out a ...
user avatar
3 votes
3 answers
5k views

Why does systemd wait for a disk not present in `fstab`?

My system takes exactly 95 seconds to boot: 5 seconds actual boot and 90 seconds waiting for a nonexistent drive: (...boot.log...) A start job is running for dev-disk-by\x2duuid-6bbb4ed8\x2d53ea\...
user avatar
  • 151
1 vote
0 answers
190 views

Erroneous duplicate files in ecryptfs

I've been using ecryptfs with Ubuntu many a year. Today I found a curious error that I cannot fix. My home folder is auto-mounted as ecryptfs under Ubuntu whenever I login. I have been using this ...
user avatar
  • 11
1 vote
1 answer
1k views

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 ...
user avatar
  • 36.1k
5 votes
1 answer
2k views

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 ...
user avatar
  • 812
3 votes
1 answer
7k views

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 ...
user avatar
2 votes
2 answers
1k views

Cannot recover encrypted files on Ubuntu

I needed to reinstall ubuntu on my hard drive because I think I corrupted some files and it wasn't booting up (I know, it was very stupid). I tried to reinstall from a LiveCD by checking the "keep the ...
user avatar