From owner-freebsd-questions@FreeBSD.ORG Fri Apr 8 00:04:46 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07CB316A4CE for ; Fri, 8 Apr 2005 00:04:46 +0000 (GMT) Received: from pandora.afflictions.org (asylum.afflictions.org [64.7.134.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94B4743D53 for ; Fri, 8 Apr 2005 00:04:44 +0000 (GMT) (envelope-from dgerow@afflictions.org) Received: from localhost (localhost [127.0.0.1]) by pandora.afflictions.org (Postfix) with ESMTP id 968DF78C5D for ; Thu, 7 Apr 2005 20:05:35 -0400 (EDT) Received: from pandora.afflictions.org ([127.0.0.1]) by localhost (pandora.afflictions.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 95044-02 for ; Thu, 7 Apr 2005 20:05:30 -0400 (EDT) Received: from dementia.afflictions.org (dementia.afflictions.org [172.19.206.56]) by pandora.afflictions.org (Postfix) with ESMTP id 9506478C35 for ; Thu, 7 Apr 2005 20:05:29 -0400 (EDT) Received: by dementia.afflictions.org (Postfix, from userid 1001) id 7799533C23; Thu, 7 Apr 2005 20:04:36 -0400 (EDT) Date: Thu, 7 Apr 2005 20:04:36 -0400 From: Damian Gerow To: questions@freebsd.org Message-ID: <20050408000435.GB89855@afflictions.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-GPG-Fingerprint: B3D7 D901 A53A 1A99 BFD6 E6DF 9F3B 742B C288 9CC9 User-Agent: Mutt/1.5.9i X-Virus-Scanned: amavisd-new at pandora.afflictions.org Subject: gpg-agent help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 00:04:46 -0000 I'm trying to get gpg-agent to work with mutt, with very little success. I start up the agent in ~/.xinitrc: eval `/usr/local/bin/gpg-agent --daemon -s` Have gnupg configured to use the agent in .gnupg/gpg.conf: use-agent And use what seems to be a pretty standard agent configuration: pinentry-program /usr/local/bin/pinentry-qt no-grab default-cache-ttl 1800 The problem is that GnuPG doesn't seem to want to actually /use/ the agent. When I try to sign something, pinentry-qt launches, I enter my passphrase, and the file is successfully signed. Every time. There's no passphrase caching (which is what gpg-agent does, correct?). The only thing that might be weird is that my signing key is actually a /secondary/ key, but I wouldn't have thought that would cause issues. gpg throws no errors. Nothing about gpg-agent not being available. It just plain doesn't seem to want to work for me, nor tell me why: % gpg -v -as test.txt=20 gpg: using secondary key 9C22B029 instead of primary key C2889CC9 You need a passphrase to unlock the secret key for user: "Damian Gerow " gpg: using secondary key 9C22B029 instead of primary key C2889CC9 1024-bit DSA key, ID 9C22B029, created 2004-04-10 (main key ID C2889CC9) gpg: writing to `test.txt.asc' gpg: DSA/SHA1 signature from: "9C22B029 Damian Gerow " % Any help? Please Cc: me, as I'm not on the list... - Damian