Skip to content

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.

1 points2 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
1 · 67% up
Kind
Text
ID
vuvls3

Author

6
posts
27
comments
0
media
View profile

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.

1 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.