From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [bug] PGG shows ?? when prompt for passphrase Date: Sun, 17 Dec 2006 20:12:17 -0500 Message-ID: References: <8f26a84d-356a-44f1-ac6a-54792380b76d@well-done.deisui.org> <93fed91b-cb8a-4de7-9a16-62c85654bab6@well-done.deisui.org> <24f8f24e-36ce-4311-ad35-394020ef999c@well-done.deisui.org> Reply-To: rms@gnu.org NNTP-Posting-Host: dough.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1166404358 10173 80.91.229.10 (18 Dec 2006 01:12:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Dec 2006 01:12:38 +0000 (UTC) Cc: sdl.web@gmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 18 02:12:34 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 1Gw73Q-0008T7-DJ for ged-emacs-devel@m.gmane.org; Mon, 18 Dec 2006 02:12:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gw73P-0004OO-OR for ged-emacs-devel@m.gmane.org; Sun, 17 Dec 2006 20:12:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gw73C-0004Nv-VH for emacs-devel@gnu.org; Sun, 17 Dec 2006 20:12:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gw73C-0004NU-Kt for emacs-devel@gnu.org; Sun, 17 Dec 2006 20:12:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gw73C-0004NF-Dy for emacs-devel@gnu.org; Sun, 17 Dec 2006 20:12:18 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gw73C-0001LL-Dy for emacs-devel@gnu.org; Sun, 17 Dec 2006 20:12:18 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.52) id 1Gw73B-000521-DN; Sun, 17 Dec 2006 20:12:17 -0500 Original-To: Daiki Ueno In-reply-to: <24f8f24e-36ce-4311-ad35-394020ef999c@well-done.deisui.org> (message from Daiki Ueno on Sun, 17 Dec 2006 13:28:52 +0900) 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:63911 Archived-At: * 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}. If we tell the users put eval `gpg-agent --daemon` in your file ~/.xsession and in your file ~/.bash_profile, and customize pgg-gpg-use-agent to t in Emacs. that seems insufficient. We need to also tell people how to specify a passphrase to gpg-agent, right? What should they do?