Ubuntu 12.04 Keyring broken "signature not found in user keyring perhaps try the

So, for some reason i cant suddenly log into my main account, so i did alt+ctrl+f1 and saw the message "signature not found in user keyring perhaps try the interactive 'ecryptfs-mount-private'"

I can log into another account such as root without any issue how would i fix this issue?


This happened to me tonight. It happens when you change your user password, but not your encryption passphrase. They are usually in sync.

To fix this, simply run:

ecryptfs-rewrap-passphrase /home/.ecryptfs/$USER/.ecryptfs/wrapped-passphrase

It will prompt you for your old passphrase, then allow you to enter a new one. Then, you will be able to log in normally.