[PATCH] gnupg-2.0.1 - gpg-agent-info option fixup

Marcus Brinkmann marcus.brinkmann at ruhr-uni-bochum.de
Sat Feb 3 16:27:27 CET 2007


At Wed, 31 Jan 2007 08:50:47 +0100,
'Werner Koch' wrote:
> 
> On Wed, 31 Jan 2007 03:49, robbat2 at gentoo.org said:
> 
> > 1. Your agent is running.
> > 2. Your previous agent has crashed or is gone for some reason.
> 
> This is a severe bug mich must never happen.  Disguising such a bug by
> restarting the agent is a no-no.  Keep in mind that the agent takes
> care of your secret keys - you wan't it as bug free as possible.

The same problem is faced on an upgrade though.  It's a general issue
in configuration/namespace management, and this particular scenario
points out a defect, or lack of functionality, in the infrastructure
design.  For example, in the GNU/Hurd one can send messages to
processes to update their environment variables at run time.  That's
not a proper solution (at all), but it points into the general
direction of a potential solution here (namely the ability for
processes to communicate and exchange information about changes in the
configuration).  Of course, all projects from a certain size up face
these or similar challenges, and have work-arounds of various degrees
of ugliness.

Thanks,
Marcus




More information about the Gnupg-devel mailing list