Sometimes, when I kill my browser, reboot, exit the browser normally, etc., basically whenever I restart my WM session (I’m using StumpWM, which by itself has nothing to do with this issue) the browser “forgets” that I was logged in, and that forces me log in back to every website, and some of them have OTP enabled, and that’s utterly annoying and time wasting.
I think this may have to do something with the system keyring, or maybe something else. Where should I be digging?
upd: I found the following thing on Arch wiki.
~/.xinitrc eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) export SSH_AUTH_SOCK
And did that. But I’m a bit skeptical. The hardest thing about it – it doesn’t happen all the time. Only sometimes. I’m not sure what’s causing it and I can’t reproduce it. I’ll watch my system for a few days, maybe this fixes it.
upd: That did not help. It happened again. I’m thinking, maybe there’s some sort of grace period after which things get reset. I’ve also noticed – git no longer recognizes GPG key and
pinentry would ask to enter a password (which normally gets stored). My guess that this has something to do with the keyring?