Had some problems with my laptop a few days ago and I had to reinstall the system. I used the same password for the same user when I installed it and, after the installation finished, when I got to the login screen and entered my password, I got bounced back. I switched to tty1 and after logging in I got this:
Signature not found in user keyring
Perhaps try the interactive 'ecryptfs-mount-private'
I ran the command and entered my passphrase, but it didn't work. I did know my passphrase. I thought that the encryption files got corrupted somehow. I don't know how, but after lots of tries, system reinstallations and restarts (over a few hours), it worked eventyally (the same passphrase that initially didn't). I then rewrapped a new passphrase.
The problem I am encountering now is that every time I restart my computer the partition doesn't decrypt automatically when I enter my password on login.
I always have to switch to tty1 and run ecryptfs-mount-private
from there.
I tried many ecryptfs commands (unwraping and rewraping the passphrase), but nothing seems to work:
ecryptfs-unwrap-passphrase
, ecryptfs-rewrap-passphrase
, ecryptfs-insert-wrapped-passphrase-into-keyring
.
The passphrase seems to be inserted in the keyring only for the session.
Is there any way I can make this permanent?
ecryptfs-rewrap-passphrase
and gets the error message "Passphrase is too long. Use at most 64 characters long passphrase.", this solution won't work and means that the problem is that the new password is too long and the encrypted directory is still encrypted with the old password (which should be less than 64 characters). Simply usingpasswd
to change the password back to the previous password should make it possible to log in via the GUI. – Patrick Dark May 01 '18 at 21:21