Public bug reported: I don't know exactly which change triggers this behavior but now in 17.10, gpg-agent is started automatically. As gpg-agent --homedir /home/xavier/.gnupg --use-standard-socket --daemon is running and it is not what I want. For some reasons, I want to type my password each time I want to decrypt my symmetrically encrypted foo.txt.gpg file. Alternatively, I want at least to be able to setup a timeout to a small value to force the agent to forget my password.
Uninstall gnnpg-agent? Yes it could work but I cannot: sudo apt-get purge gnupg-agent Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libgpgmepp6 : Depends: libgpgme11 (>= 1.8.0) but it is not going to be installed libkwalletbackend5-5 : Depends: libgpgme11 (>= 1.1.2) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. ** Affects: gnupg2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1728431 Title: Usage of gpg-agent should not be enforced To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1728431/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs