From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.54)
	id 1FYLDP-0003vY-3n
	for garchives@archives.gentoo.org; Tue, 25 Apr 2006 10:56:19 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k3PAtHji006843;
	Tue, 25 Apr 2006 10:55:17 GMT
Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.233])
	by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k3PApEaA004822
	for <gentoo-user@lists.gentoo.org>; Tue, 25 Apr 2006 10:51:15 GMT
Received: by wproxy.gmail.com with SMTP id i5so1263667wra
        for <gentoo-user@lists.gentoo.org>; Tue, 25 Apr 2006 03:51:13 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=ejnSZXUMq/NBOmRXEmEpYFUKtS1JZFvR981R2SCv9SJWYFnwtiQBfuB4y+BF+JQSxiqykVbG2JOLUuaYSMkFg6gFMMB50vFsGs4jUNMQPLJHOpgLbWcZbvTpDab8Jtx8IyWFmxF7sjZhvwIgGB2o3gZdYv9hyuHI0oNOetCfopw=
Received: by 10.65.141.20 with SMTP id t20mr1661143qbn;
        Tue, 25 Apr 2006 03:51:13 -0700 (PDT)
Received: by 10.65.185.4 with HTTP; Tue, 25 Apr 2006 03:51:13 -0700 (PDT)
Message-ID: <358eca8f0604250351q4228db0ei90883ea37bdae1a1@mail.gmail.com>
Date: Tue, 25 Apr 2006 11:51:13 +0100
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] GnuPG Trouble - Found Problem, Need Solution
In-Reply-To: <200604242332.36576.lordsauronthegreat@gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <200604222306.10794.lordsauronthegreat@gmail.com>
	 <358eca8f0604231417o3b78aeddvd6303b0b02fd2a1f@mail.gmail.com>
	 <200604242332.36576.lordsauronthegreat@gmail.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k3PApEaA004822
X-Archives-Salt: 5c5c581a-bf9b-4ec7-b1e5-6cf7f023389c
X-Archives-Hash: 16839d2193c3b22ac5c7e45716ab727f

On 25/04/06, lordsauronthegreat@gmail.com <lordsauronthegreat@gmail.com> wrote:
> More news:
>
> I successfully got GnuPG 1.9 installed, and then a new problem arose.
> Configuration.
>
> I went to http://kmail.kde.org/kmail-pgpmime-howto.html#gnupg and followed the
> instructions to the best of my ability, and yet I still get this:
>
> lsauron@localhost ~/.gnupg $ eval "$(gpg-agent --daemon)"
> gpg-agent[10716]: /home/lsauron/.gnupg/gpg-agent.conf:1: invalid option
>
> so, ~lsauron/.gnupg/gpg-agent.conf looks like this:
>
> lsauron@localhost ~ $ cat ~lsauron/.gnupg/gpg-agent.conf
> gpg-agent /usr/bin/gpg-agent
> no-grab
> default-cache-ttl 1800
>
> I'm totally stumped.  I didn't find anything in /usr/local/bin like
> kmail.kde.org said, however, /usr/bin/gpg-agent is really odd in that it's
> not actually there (I don't think - I can't cd to it):
>
> lsauron@localhost ~ $ cd /usr/bin
> lsauron@localhost /usr/bin $ ls | find gpg-agent
> gpg-agent
> lsauron@localhost /usr/bin $ cd gpg-agent
> bash: cd: gpg-agent: Not a directory
>
> I'm rather confused.  Any help?  I know I did something wrong, but I'm too
> close to the solution to even entertain the thought of giving up!
>
> Oh, and the dialog that prompted for gnupg 1.9, it now says that it detected
> the install but gpg-agent isn't running.  That's why I'm happy - I'm very
> very close to getting this thing to work!

I only have a couple of minutes so I apologise for not writing a
complete answer.  FWIW the gpg-agent was hard masked (yesterday?) and
just adding it to your /etc/portage/package.keywords won't work.  You
need to use package.mask instead.

However, I'm not sure why the hard masking was put in place - there
may be a good reason to stop using gpg-agent and instead switch to
another package.  What should we use instead guys?

To have gpg-agent starting automatically you need to enter  eval
"$(gpg-agent --daemon)" in the appropriate desktop manager startup
file(s).  Check the gentoo document on this topic (I can't remember if
I saw it in the wiki).  There was also an answer to one of my posts in
this mailing list on gpg.

To get it started immediately just run eval "$(gpg-agent --daemon)"
from a terminal.

More later.
--
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list