edA-qa mort-ora-y Asked: 2018-09-14 12:34:04 +0800 CST2018-09-14 12:34:04 +0800 CST 2018-09-14 12:34:04 +0800 CST Disable gpg-agent 772 How can I disable gpg-agent? I don't wish to have any service retaining passwords and want to enter them every time. I recall disabling this service once before, but I'm not having any luck on the newer distribution. kubuntu gnupg 18.04 1 Answers Voted cnd 2018-11-08T21:18:20+08:002018-11-08T21:18:20+08:00 This worked for me:- cat ~/sensitive_archive.tgz | gpg2 --passphrase-fd 0 --pinentry-mode loopback -c > sensitive_archive.tgz.gpg Note that you do not get the password prompt - you just type the password, and press enter (not ^Z or ^D - just enter). I had already killed the agent process - not sure if that was necessary.
This worked for me:-
Note that you do not get the password prompt - you just type the password, and press enter (not ^Z or ^D - just enter).
I had already killed the agent process - not sure if that was necessary.