multiple instances of gpg-agent

MFPA 2014-667rhzu3dc-lists-groups at riseup.net
Tue May 19 00:54:49 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512



On Monday 18 May 2015 at 11:29:03 AM, in
<mid:87vbfqfac0.fsf at vigenere.g10code.de>, Werner Koch wrote:



> I have only seen two and since the auto-start process
> locking you should never see more than one.  In any
> case the agent checks its own socket and if it is not
> connected to itself it will terminate itself.

I just saw that in action: trying to run the command line shown in
Process Explorer for an already-running agent gives me:-

gpg-agent: a gpg-agent is already running - not starting a new one



> You see different agents for different GNUPGHOMEs and
> users; this is okay.

Ah, that explains why there are so many running. Thank you.

Looking at Process Explorer, it gives the command line for each
instance of agent. Each one I see there at the moment contains a
different path for --homedir.

How long is agent supposed to stay running when it is no longer being
used? It looks like mine last until I reboot. Or specifically
kill them. Or delete the file S.gpg-agent in the relevant GnuPG home
directory.


- --
Best regards

MFPA                  <mailto:2014-667rhzu3dc-lists-groups at riseup.net>

Look, it's a hat! It's not going to hurt you.
-----BEGIN PGP SIGNATURE-----

iQF8BAEBCgBmBQJVWm2/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCM0FFN0VDQTlBOEM4QjMwMjZBNUEwRjU2
QjdDNzRDRUIzMUYyNUYwAAoJEGt8dM6zHyXwnaYH/RJ4ofwixL4IRKIrX3KZuG+1
o7DJnBNtijFvAGZr5zQdEfWLnO0VJxnyQcolA1jMhiHL9rwo6kEAFM3urLopxziM
uYyCoqBLPGDATHE+TjcyLXQNbMhf16Vg+TMH981JVNGti0Gh4jQTVNA0qmb2q+/R
5hZHyrd9vbw3iu8dPBTKKZV4tiW3pMEvcydDBhn18s5r2+pbZARUDkxTEFxp5FKP
PyuakXx4Vb7SLs0cRlQbnO0s01iJOrF68xsKUtEaFm1WMNvfdIp9mKpT6hvvZbFM
nruVP8ORyOOf41BsY9Xny68uXcbMHlGvOiSb1I4Na7P9qyG05gver0oho94ufTGI
vgQBFgoAZgUCVVptzF8UgAAAAAAuAChpc3N1ZXItZnByQG5vdGF0aW9ucy5vcGVu
cGdwLmZpZnRoaG9yc2VtYW4ubmV0MzNBQ0VENEVFOTEzNEVFQkRFNkE4NTA2MTcx
MkJDNDYxQUY3NzhFNAAKCRAXErxGGvd45DxLAQD+65Nd7oq736PIbhryhH93asou
jGyTO1CACUEy85lqHQEA3EuD0THBjyWAfZQS7ZNqY6TJYfRi1K2+PViDPHPzxg0=
=n4DY
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list