*** This bug is a security vulnerability ***

You have been subscribed to a public security bug:

The gpg password never expires - not even after reboot.

I tried to set in dconf-editor:

org.gnome.crypto.cache gpg-cache-method 'idle'
org.gnome.crypto.cache gpg-cache-ttl 300

and created the following file:

~/.gnupg/gpg-agent.conf

default-cache-ttl 300


None of these methods help.

In case this could be helpful I add this (from Amir on
https://superuser.com/questions/1347956/gnome-keyring-cant-clear-
passphrase):

user@machine:~$ gpgconf --list-dirs agent-socket
/run/user/1000/gnupg/S.gpg-agent

user@machine:~$ systemctl --user status gpg-agent.socket
Failed to dump process list, ignoring: No such file or directory
● gpg-agent.socket - GnuPG cryptographic agent and passphrase cache
   Loaded: loaded (/usr/lib/systemd/user/gpg-agent.socket; disabled; vendor 
preset: enabled)
   Active: active (running) since Wed 2019-08-21 14:53:28 CEST; 5min ago
     Docs: man:gpg-agent(1)
   Listen: /run/user/1000/gnupg/S.gpg-agent (Stream)
   CGroup: /user.slice/user-1000.slice/user@1000.service/gpg-agent.socket

Aug 21 14:53:28 machine systemd[1726]: Listening on GnuPG cryptographic
agent and passphrase cache.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gpg-agent 2.2.4-1ubuntu1.2
ProcVersionSignature: Ubuntu 4.15.0-58.64-generic 4.15.18
Uname: Linux 4.15.0-58-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 22 14:14:08 2019
InstallationDate: Installed on 2018-08-01 (386 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: gnupg2
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: seahorse (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic
-- 
gpg password cache is never cleared
https://bugs.launchpad.net/bugs/1841051
You received this bug notification because you are a member of Ubuntu Desktop 
Bugs, which is subscribed to seahorse in Ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to