Questions tagged [ecryptfs]
The ecryptfs tag has no usage guidance.
115
questions
0
votes
0
answers
65
views
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 -...
0
votes
1
answer
160
views
Large .ecryptfs folder on new computer
I have recently built a brand new computer and decided to install Linux Mint on it and I have recently realized that I only have about 730GB of free space out of the 1TB SSD I installed.
After some ...
0
votes
1
answer
349
views
dpkg: warning: files list file for package 'libecryptfs1'
OS: Linux Mint 20.3
I usually get this error whenever I do sudo apt update.
dpkg: warning: files list file for package 'libecryptfs1' missing; assuming package has no files currently installed
But it ...
1
vote
0
answers
60
views
Why did my tar backup fail?
My home directory is encrypted with ecryptfs. I wanted to try some things that required reinstalling my system, so I backed up to a flash drive with this command:
sudo tar cf backup.tar.zstd --one-...
0
votes
0
answers
77
views
Ecryptfs directory on USB Drive
I have an encrypted directory on my USB drive that I encrypted using ecryptfs on an old computer. I know the passphrase I used at the time to encrypt this directory but I cant seem to decrypt it on a ...
1
vote
1
answer
328
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 ...
1
vote
0
answers
326
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?
1
vote
1
answer
708
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
...
2
votes
1
answer
131
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 ...
1
vote
1
answer
242
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 ...
3
votes
1
answer
492
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 ...
2
votes
0
answers
218
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 ...
1
vote
0
answers
32
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-...
1
vote
0
answers
108
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 ...
1
vote
1
answer
828
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 ...
3
votes
1
answer
1k
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,...
3
votes
1
answer
125
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 ...
0
votes
1
answer
55
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?...
1
vote
0
answers
162
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,...
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 ...
2
votes
1
answer
702
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 ...
3
votes
1
answer
1k
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 ...
2
votes
0
answers
469
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 ...
1
vote
0
answers
32
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?
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 ...
1
vote
1
answer
119
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 ...
0
votes
0
answers
89
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,...
0
votes
1
answer
391
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 ...
0
votes
1
answer
492
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 ...
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 ...
1
vote
0
answers
307
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 ...
0
votes
2
answers
109
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 ...
0
votes
1
answer
710
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 ...
-1
votes
1
answer
2k
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 ...
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 ...
1
vote
1
answer
440
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 ...
0
votes
1
answer
392
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 ...
5
votes
2
answers
945
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 ...
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 ...
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 ...
0
votes
1
answer
2k
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 ...
2
votes
1
answer
6k
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 ...
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 ...
0
votes
1
answer
2k
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 ...
3
votes
3
answers
6k
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\...
1
vote
0
answers
207
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 ...
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 ...
5
votes
1
answer
3k
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 ...
3
votes
1
answer
9k
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 ...
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 ...