[gobolinux-users] SignProgram, gnupg and gpg-agent

Jonas Karlsson jonka750 at student.liu.se
Fri Jan 4 13:20:05 NZDT 2008


2008/1/3, Daniele Maccari <gobo.users at gmail.com>:
> Daniele Maccari wrote:
> > Hi all,
> >
> > every time I compile a program I'm asked for my password to unlock the
> > secret key gpg generated to sign the packed recipe. The fact is that
> > every time I get the following message:
> >
> > You need a passphrase to unlock the secret key for
> > user: "Daniele Maccari <daniele.maccari at gmail.com>"
> > 1024-bit DSA key, ID 70B1E2CD, created 2007-12-04
> >
> > can't connect to `/Users/macco/.gnupg/S.gpg-agent': No such file or
> > directory
> >
> > and then the pinentry window appears. So I'm wondering if and how
> > gpg-agent should be configured in order to use it and (as I've
> > understood it) enter the password only once in a session.
> > I added the string `eval gpg-agent --daemon` to my ~/.xinitrc file, but
> > it seems to put the S.gpg-agent temp file in the /tmp dir rather than in
> > my home.
> >
> > Thanks in advance
>
> Hmm, I've just noticed that it works if I laung gpg-agent from the
> shell, so there should be some problem in the boot phase. I'll try to
> put the eval command in zsh's init file.
>
I don't know which version of GoboLinux you have installed, but in 014
there are some commented code in the .zshrc that can be uncommented to
enable gpg-agent, see
http://cvs.savannah.nongnu.org/viewvc/tools/EnhancedSkel/testuser/.zshrc?revision=1.4&root=goboscripts&view=markup

-- 
/Jonas


More information about the gobolinux-users mailing list