From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Fix needed for communication with gpg-agent Date: Mon, 19 Feb 2007 20:59:16 -0500 Message-ID: <87wt2dk2rv.fsf@stupidchicken.com> References: <87irdzs6pp.fsf@stupidchicken.com> <87fy91g1pl.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1171936792 975 80.91.229.12 (20 Feb 2007 01:59:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Feb 2007 01:59:52 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 20 02:59:46 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HJKID-0003OW-VH for ged-emacs-devel@m.gmane.org; Tue, 20 Feb 2007 02:59:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJKID-0006Ql-Lf for ged-emacs-devel@m.gmane.org; Mon, 19 Feb 2007 20:59:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HJKI2-0006PN-1k for emacs-devel@gnu.org; Mon, 19 Feb 2007 20:59:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJKI0-0006PF-Nb for emacs-devel@gnu.org; Mon, 19 Feb 2007 20:59:32 -0500 Original-Received: from south-station-annex.mit.edu ([18.72.1.2]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HJKI0-0000hW-5v; Mon, 19 Feb 2007 20:59:32 -0500 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id l1K1xU1p010686; Mon, 19 Feb 2007 20:59:31 -0500 (EST) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by central-city-carrier-station.mit.edu (8.13.6/8.9.2) with ESMTP id l1K1xJlP003535; Mon, 19 Feb 2007 20:59:21 -0500 (EST) Original-Received: from localhost (MAIN-TWELVE-TWO-TWENTY-SEVEN.MIT.EDU [18.19.5.227]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id l1K1xGxW013987; Mon, 19 Feb 2007 20:59:18 -0500 (EST) Original-Received: from cyd by localhost with local (Exim 3.36 #1 (Debian)) id 1HJKHk-0002VL-00; Mon, 19 Feb 2007 20:59:16 -0500 In-Reply-To: <87fy91g1pl.fsf@catnip.gol.com> (Miles Bader's message of "Tue\, 20 Feb 2007 08\:35\:50 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: -2.599 X-detected-kernel: Solaris 9.1 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:66546 Archived-At: Miles Bader writes: > One possible way might be to have emacs start its own gpg-agent daemon, > specifying a custom pinentry program that uses emacs itself for > interaction (Emacs would set the GPG_AGENT_INFO environment variable to > communicate that to invocations of gpg). That seems a wee-bit > heavyweight, since Emacs generally doesn't know whether you're going to > run gpg, but I suppose it might be a reasonable option for people that > use a long-running Emacs session. > > [This is all post-release stuff though, obviously...] Another solution might be to cannibalize the ansi-term code, and have the pinentry program run in an elisp terminal. I looked into this, and concluded that it is a big job. It should be left till after the release.