Julien Cristau <firstname.lastname@example.org> reports:
Justification: user security hole
At some point gnome-keyring seemed to obey the configuration asking it
to stop caching passphrases after a while. It no longer does.
$ gsettings list-recursively org.gnome.crypto.cache
org.gnome.crypto.cache gpg-cache-authorize false
org.gnome.crypto.cache gpg-cache-method 'idle'
org.gnome.crypto.cache gpg-cache-ttl 600
Yet I'm never asked for the passphrase again.
I have tested this on Fedora 17, trying "idle", "timeout" and "session" int he org.gnome.crypto.cache gpg-cache-method value. The "idle" and "timeout" values do not appear to work as they should, after the timeout I was able to use GPG without entering my password. To test:
gsettings set org.gnome.crypto.cache gpg-cache-method 'idle'
gsettings set org.gnome.crypto.cache gpg-cache-ttl 60
then use gpg/gpg2 to sign something, you should be prompted for your gpg password. Then leave it idle, the session should timeout after 60 seconds. Try signing something again, you are not prompted for the password.
Upstream patches available at:
Created gnome-keyring tracking bugs for this issue
Affects: fedora-all [bug 846904]
Not Vulnerable. This issue does not affect the version of gnome-keyring as shipped with Red Hat Enterprise Linux 5 and 6.