Problem Solved (was Re: [darcs-users] Re: darcs and GnuPG)

Nimrod A. Abing nimrod.abing at gmail.com
Sun Dec 12 14:09:21 UTC 2004


On Sat, 11 Dec 2004 09:19:26 -0500, David Roundy
<droundy at abridgegame.org> wrote:
> On Sat, Dec 11, 2004 at 11:09:34AM +0800, Nimrod A. Abing wrote:
> ...
> > Yay!!! :)
> >
> > I edit ~/.gnupg/gpg.conf and change the line use-agent to no-use-agent
> > just in case SuSE version of gpg has it hard coded to use-agent by
> > default.
> 
> Aha.  It's odd that use-agent would cause gpg to return an exit code even
> if it succeeds! I see that my gpg.conf has a commented out line saying
> use-agent, but I certainly don't get this error.  I wonder if it is a
> SuSE-specific setting?

It seems that gpg-agent is not installed. Since it returns error code
2, I would guess that even though gpg succeeds, it returns an
indication that something failed, namely it didn't find a runnable
gpg-agent.

I think that the gpg.conf setting for use-agent is a SuSE specific
thing, since I also tried the same on Conectiva 9 and Fedora Core 3
but there was no use-agent setting in my gpg.conf (FC3 does not even
have a gpg.conf). Maybe they patched the gpg sources to automatically
create the config file when you first invoke gpg on SuSE.

> > Perhaps this should be mentioned in the darcs documentation?
> > Particularly in the part where you setup GnuPG?
> 
> That sounds like a good idea.  Would you be willing to contribute a
> documentation patch?

I already made a coulple of entries in the darcs Wiki regarding this,
it's in here:

http://www.scannedinavian.org/DarcsWiki/HintsAndTips

I will send you a patch soon...
-- 
_nimrod_a_abing_




More information about the darcs-users mailing list