Why is the gpg-agent PID part of GPG_AGENT_INFO?

Hauke Laging mailinglisten at hauke-laging.de
Sun Aug 10 16:49:01 CEST 2014


Hello,

echo $GPG_AGENT_INFO 
/home/hl/.gnupg/S.gpg-agent:22684:1

why is the gpg-agent PID part of GPG_AGENT_INFO? I just made a test: I 
killed gpg-agent and started it again. The applications still connect to 
it though the PID is obviously wrong then.

The only effect I can see is that you can (relatively certainly) 
determine whether gpg-agent has been restarted. But is that of any use? 
Or what is the "official" reason?


Hauke
-- 
Crypto für alle: http://www.openpgp-schulungen.de/fuer/unterstuetzer/
http://userbase.kde.org/Concepts/OpenPGP_Help_Spread
OpenPGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20140810/d5c73db2/attachment.sig>


More information about the Gnupg-users mailing list