Am Freitag 07 April 2023 01:20:07 schrieb Christian, Mark via Gnupg-users: > 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?
apache and mod_wsgi are most likely controlling the environment variables for the python process closely and running on a different user and thus directory than your gpg-agent. So the mod_wsgi process may not be able to access the agent's socket > I'm using gpg2 2.2.27 and python gpgme_version 1.16.0 Other solution approach: Use a private key without passphrase. Best, Bernhard [Answering an elder question where I haven't seen an answer to.]
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-users