From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.devel Subject: Re: [bug] PGG shows ?? when prompt for passphrase Date: Sun, 17 Dec 2006 13:28:52 +0900 Message-ID: <24f8f24e-36ce-4311-ad35-394020ef999c@well-done.deisui.org> References: <8f26a84d-356a-44f1-ac6a-54792380b76d@well-done.deisui.org> <93fed91b-cb8a-4de7-9a16-62c85654bab6@well-done.deisui.org> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1166329759 20944 80.91.229.10 (17 Dec 2006 04:29:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Dec 2006 04:29:19 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 17 05:29:17 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GvneF-0006t8-2J for ged-emacs-devel@m.gmane.org; Sun, 17 Dec 2006 05:29:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvneE-00068w-Cg for ged-emacs-devel@m.gmane.org; Sat, 16 Dec 2006 23:29:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gvne0-000675-CY for emacs-devel@gnu.org; Sat, 16 Dec 2006 23:29:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gvndz-00066s-Fu for emacs-devel@gnu.org; Sat, 16 Dec 2006 23:28:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gvndz-00066p-By for emacs-devel@gnu.org; Sat, 16 Dec 2006 23:28:59 -0500 Original-Received: from [210.231.96.69] (helo=localhost) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gvndy-0000pS-LS for emacs-devel@gnu.org; Sat, 16 Dec 2006 23:28:59 -0500 Original-Received: from localhost ([127.0.0.1] helo=well-done.deisui.org) by localhost with esmtp (Exim 4.63) (envelope-from ) id 1Gvnds-0007Qw-4A; Sun, 17 Dec 2006 13:28:52 +0900 Original-To: Leo X-Attribution: DU In-Reply-To: (Leo's message of "Sun, 17 Dec 2006 04:18:55 +0000") User-Agent: T-gnus/6.17.2 (based on No Gnus v0.2) EMIKO/1.14.1 (Choanoflagellata) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 EasyPG/0.0.8 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i686-pc-linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63870 Archived-At: >>>>> In >>>>> Leo wrote: > > Second, nowadays gpg-agent is the recommended way to input passphrases. > > In that case, we don't need such a more-than-necessarily-complicated > > stuff at all. > If this is intended, I'd like to move on to use gpg-agent. I found no > document in helping me set this up. Any ideas? * gpg-agent(1) The usual way to run the agent is from the ~/.xsession file: eval `gpg-agent --daemon` * emacs/man/pgg.texi @defvar pgg-gpg-use-agent When using GnuPG (gpg) as PGP scheme you can use @code{gpg-agent} for caching@footnote{Actually @code{gpg-agent} does not cache passphrases but private keys. On the other hand, from a users point of view this technical difference isn't visible.}. If non-@code{nil} try to use a running @code{gpg-agent}. It defaults to @code{nil}. -- Daiki Ueno