As far as I know, gnome-keyring-daemon
caches passphrases for keys by default until I log out. I would like to set the default to something like "cache for 10 minutes". How can I do that in Ubuntu 12.04 Precise?
Thanks a lot!
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityAs far as I know, gnome-keyring-daemon
caches passphrases for keys by default until I log out. I would like to set the default to something like "cache for 10 minutes". How can I do that in Ubuntu 12.04 Precise?
Thanks a lot!
dconf-editor
.gpg-cache-method
to idle
or timeout
.gpg-cache-ttl
to the number of seconds you want the passphrase to be cached.$ gnome-keyring-daemon -r
idle
means that the timer is reset each time you use the key before timeout is reached. timeout
means that simply the time elapsed since entering the passphrase is considered.
This only works for GPG-keys. Passphrases for SSH-keys are still cached until the end of the session. IMHO this is a bug.
timeout
and use 1 second. I reset the keyring and immediately after I had to use the password for my PGP key. However, once entered, the password gets cached again. It survives a reboot/logout. Very frustrating!
gsettings set org.gnome.crypto.cache gpg-cache-method 'timeout'
, gsettings set org.gnome.crypto.cache gpg-cache-ttl 300
, gnome-keyring-daemon -r
.