ecryptfs-recover-private gives "The key required to access this private data is not available"

Bug #1767647 reported by Mathias Bynke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eCryptfs
New
Undecided
Unassigned

Bug Description

I am in Ubuntu 18.04 trying to mount my encrypted home directory from an old installation using ecryptfs-recover-private.

It looks like this:

mathias@MathiasSU:/media/mathias/**UUID**/.ecryptfs/mathias/.Private$ sudo ecryptfs-recover-private .
INFO: Found [.].
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 [c***************] into the user session keyring
ERROR: The key required to access this private data is not available.

I have attached a screenshot of a couple of other attempts. There is nothing related in /var/log/syslog.

I am not a developer and have little knowledge of how ecryptfs works, but I am under the impression that this is the correct approach, and that it should work. If it isn't, please correct me (but then the correct approach should probably have been communicated more clearly). I will be happy to help in debugging this if you have questions.

It took me a while to figure out how to mount it manually, but in the end it worked using
sudo mount -t ecryptfs /media/mathias/93cabe9f-52c6-4c5f-b1a7-6802a3f2f0a8/mathias/.Private /tmp/home1
so I don't really need help anymore, but this took me quite some time, and I would like to help do something about it.

Revision history for this message
Mathias Bynke (mabynke) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.