Wednesday, March 13, 2019

Note to Self- No Personal Home Directory Encryption

As of Ubuntu 16.04 LTS  on my Dell

bjha@bjha-Latitude-3460:~$ uname -a
Linux bjha-Latitude-3460 4.15.0-46-generic #49~16.04.1-Ubuntu SMP Tue Feb 12 17:45:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

home directory encryption using ecryptfs doesn't work cleanly. It interferes with hibernation and suspend, weird login behaviour (correct password doesn't work in Gnome after wakeup) etc. Some of the issues are well discussed over the internet. The pain involved to get it right is not worth the return. Better off with full-disk encryption or something similar if a strong security measure is needed.

How to stop using this feature?

Following link discusses some steps. However, it didn't work for me cleanly. Had to rebuild my home directory from a secondary backup. Also, refer this link how to stop using encrypted swap.