--===============8005063844677029726== Content-Type: multipart/signed; boundary="nextPart2734081.xnSlSGclWX"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2734081.xnSlSGclWX Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 cou= ld > access the gpg-agent's private key in order to run various gpg operations= =2E=20 > 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=20 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.] --nextPart2734081.xnSlSGclWX Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEvdlX+cT+D9xYPc1tK3ujv5vDpVQFAmRJFywACgkQK3ujv5vD pVRIuQv/R5CoPHrlFiIXfutQiXPIrTffdpdJQgedTt6Xs9hauEiBudEJ1za/JGJX 0b1jhc0sVGXRIaU7mCscr4pDbkALEJsevuF/pPJgcsj1KsNsVI/68i/MepCfvX5d KnSJFGIveUZj29ivlIDPkHqtkrFWCB4aqf1XmMZrTyorlEy2aXkge/oTJopRVcAa 0tMSmvaX5U/QnJt5X8gsCDrH0kRICzHQjB6xz3jB7q9PecNMhtpR6HE1gNuwIwHq vLjgfe/3sWMV8gi/XxeW5zEpDOH+Unm8w2nVII1CrH3L3X3a8tIyuwY7sXuOrBSz 78oPXxAZGm/G3yWWQTuwmYOKSNL4k82BeMzw5J2zTYp6lPK28dgEwS99vlRe5LDY p8wZnzWftwQMqH1nlP8rT0mZSSnoG8BbHUrfMlYxVUkdE4wUaYDKGvkCBsko3nBr 6gtH8oW1pyTUPGKrZ/opkHNm4BoJMetHfrBbpMQX8i/blj7RaafOjZl1tsFJflIz H++Ed7+E =z8ha -----END PGP SIGNATURE----- --nextPart2734081.xnSlSGclWX-- --===============8005063844677029726== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-users --===============8005063844677029726==--