Apps try to create a new keyring entry after each reboot
Edit: Solved!
Solution: after setting up PAM to work with gnome-keyring, I have noticed that there is a new Login keyring generated (before all the apps generated a keyring called Default keyring), I set it as the default using seahorse and now all the apps work with it automatically, hooray!
Hi all! I am using an small arch install (i3wm + ly dm) with gnome-keying as my keyring app. It used to work fine (I had small password I would enter every time), however today I installed seahorse and tried to change the password to be empty (to stop inputting it every time, I do not worry about security of apps that require it too much), something went wrong.
Now, after every reboot, apps that require keyring do not see the existing "Default keyring" which I can see from seahorse and instead prompt to create another "Default keyring" with no regards to the previous one. If you close the app and reopen it during a single session however it seems to be able to use the keyring it has just created no problem.
I checked, I do have both gnome-keyring and libsecret up do date, I also tried creating new keyrings with random passwords, empty password, matching my login password. I have also edited PAM config to attempt automatic unlock. Nothing has seem to change and it is really frustrating since everything worked just fine and I am not sure what exactly I did to break it today.
Edited 10 Jul 2022. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 1 · 67% up
- Kind
- Text
- ID
- vuvls3
2 comments
You can set the keyring password to your login password and have it automatically unlocked when you log in using pam. Details are on the wiki.
Yes, I have read the wiki and followed the PAM section (I mentioned it in the last paragraph), however this didn't make any difference unless I'm reading it wrong. I added two lines to the /etc/pam.d/login as the wiki suggests and created a keyring that matches my login password.
This does not change the main issue though. The applications can't see the existing keyring, every time prompting me to create a new one. I can see multiple instances being created via seahorse.