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?
Solved it with
ecryptfs-rewrap-passphrase /home/my_user/.ecryptfs/wrapped-passphrase
The problem was that when I tried rewrapping the passphrase I was trying to set a passphrase different than my account password. It worked when I set it the same as my account password.
No comments:
Post a Comment