I set up a ~/Private directory, but now i want to change the passphrase i used. I moved all files out of that folder in order to start from scratch. So far i tried with:
~ $ cd /
/ $ ecryptfs-umount-private
/ $ ecryptfs-setup-private --force
I change to root because otherwise i would be unable to unmount. ecryptfs-setup-private then asks me to logout and login agan, but after doing that, i still cannot use my new passphrase to unmount and mount the directory again:
~ $ cd /
/ $ ecryptfs-umount-private
/ $ ecryptfs-mount-private
Enter your login passphrase:
Error: Unwrapping passphrase and inserting into the user session keyring failed [-5]
Info: Check the system log for more information from libecryptfs
ERROR: Your passphrase is incorrect
I think that the new passphrase was actually not adopted by ecryptfs, for some reason.
Note about duplication:
This question is a duplicate of this one, but i found the latter unclear and not helpful, because it is focusing about wrapping and unwrapping the passphrase, which is not related to this problem as far as i understand