Re: How to prevent passphrase-caching from within a gpgme-based Python script?

2019-04-16 Thread Peter Lebbing
On 16/04/2019 23:23, Ángel wrote: > Of course, you could instead run gpg-agent from python and set > GPG_AGENT_INFO there. The gpg python package is calling gpg under the > hood, so it should pick the GPG_AGENT_INFO variable from the > environment. GPG_AGENT_INFO is obsolete and unused in GnuPG

Re: How to prevent passphrase-caching from within a gpgme-based Python script?

2019-04-16 Thread Ángel
On 2019-04-12 at 07:12 -0400, Kynn Jones wrote: > Hi everyone! > > The following short Python script takes three command-line arguments: > a passphrase, an input path, and an output path. Then it uses the > passphrase to decrypt the contents of the input path, and puts the > decrypted content in