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

0

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 to have issues over time. I had to run fsck to fix some of the issues on the filesystem, and rebooted and everything was great. However, I did this again after encountering the same issue and now I can no longer mount my home directory.

Output of $ ecryptfs-mount-private

ERROR: Encrypted private directory is not setup properly

Output of $ ecryptfs-recover-private .Private

user@machine:~$ sudo ecryptfs-recover-private
INFO: Searching for encrypted private directories (this might take a while)...
INFO: Found [/home/.ecryptfs/user/.Private].
Try to recover this directory? [Y/n]: Y
INFO: Found your wrapped-passphrase
Do you know your LOGIN passphrase? [Y/n] Y
INFO: Enter your LOGIN passphrase...
Passphrase:
Inserted auth tok with sig [89b584e3b911c2dd] into the user session keyring
sed: can't read /home/.ecryptfs/user/.Private/../.ecryptfs/Private.sig: No such file or directory

And well yes, it appears my signature file is missing. Is there any recourse?

Edit: Posted on AskUbuntu

Zoidberg

Posted 2020-01-02T01:04:59.447

Reputation: 101

No answers