You are not logged in.
I use `pass` for storing passwords.
I like its simplicity and that I can use it from the commandline.
When I started using it, to retrieve a password, e.g.
`pass server/root`
it would prompt me for my password (which I guess is the password in `gnome-keyring`. This is quite a complex rabbit hole as I never understood how all pieces work together).
At some point, it stopped asking my password.
Maybe in one of those prompts, some checkbox was set to "never ask again" - I don't know.
Fact is - I don't like that.
As a matter of fact, now just typing
`pass server/root` will print my password on the command line in plain text.
I want pass to prompt me again every time or at least for some cached time.
Is this `gpg-agent`?
I set `default-cache-ttl 300` in `~/.gnupg/gpg-agent.conf` but this does not seem to have any effect.
If I kill the running `gpg-agent`, as soon as I run `pass` it automatically gets started again.
I use i3 as DE.
Any idea?
Last edited by phonky (2020-09-05 00:38:45)
Offline
Something keeping the agent alive and polling for passwords?
Idk what could do that and you aren’t giving details, what have you done in the gnupg config files?
Do you use any service that also uses the gpg-agent?
Did you take a peek at the wiki?
Offline
Hey @GaKu999 thanks for chiming in.
I will provide any details requested.
`./.gnupg/gpg-agent.conf` only contains the ttl entry.
What other gnupg config file should I check?
I read lots of the wiki,like the GnuPG page or the gnome keyring page, and even PAM - which is where I started to get lost in the rabbit hole.
I don't know what other service I could be using which interacts with `gpg-agent`....I don't even know how to check that.
`.ssh/config` starts with `AddKeysToAgent yes` but I would assume that to be `ssh-agent`
Offline
I also have this in my `.i3/config`:
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
Offline
If I kill all `gnome-kerying-daemon` instances I get back the prompt....
Offline