I have an encrypted home folder from a 16.04 install that survived an upgrade to 18.04. Later, in 18.04, everything went wrong and now I'm having to recover my home folder from a live USB so I can copy the contents of the home folder to an external hard drive. (I'm recovering with an ubuntu-mate live USB.)
The home drive encryption was done with all the standard options on install.
Using the following command I can mount the drive (with appropriate substitutions for UUID and UNAME):
sudo mount -t ecryptfs /media/ubuntu-mate/UUID/home/.ecryptfs/UNAME/.Private /home/ubuntu-mate/Private
Here is the issue:
If I mount with the option "n" for encrypted file names, it successfully mounts but I clearly have a bunch of folders and files with encrypted names.
If I mount with the option "y" for encrypted file names, there is nothing in the mounting folder (it didn't mount?) and there are no error messages.
It does this for either option of "y" or "n" for plain text passthrough.