using gpg-agent from web server mod_wsgi script

Christian, Mark mark.christian at
Fri Apr 7 01:20:07 CEST 2023

I was hoping to gpg-preset-passphrase a gpg-agent running under the apache WSGI
service account, so that a python gpgme web wsgi/cgi application could access
the gpg-agent's private key in order to run various gpg operations.  It seems
the python mod_wsgi script is not finding the gpg-agent.  I'm wondering if this
is possible?   

I'm using gpg2 2.2.27 and python gpgme_version 1.16.0

Thank you,

More information about the Gnupg-users mailing list