From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Werner Koch Newsgroups: gmane.emacs.devel Subject: Re: Fix needed for communication with gpg-agent Date: Thu, 22 Feb 2007 19:04:59 +0100 Message-ID: <87ps82ukz8.fsf@wheatstone.g10code.de> References: <87irdzs6pp.fsf@stupidchicken.com> <87fy91g1pl.fsf@catnip.gol.com> <87wt2dk2rv.fsf@stupidchicken.com> <873b4yt7xx.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1172248838 27097 80.91.229.12 (23 Feb 2007 16:40:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Feb 2007 16:40:38 +0000 (UTC) Cc: Sascha Wilde , Daiki Ueno , Miles Bader , rms@gnu.org, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 23 17:40:31 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 1HKdTC-0002sY-6p for ged-emacs-devel@m.gmane.org; Fri, 23 Feb 2007 17:40:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKdTB-0004aI-SK for ged-emacs-devel@m.gmane.org; Fri, 23 Feb 2007 11:40:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HKIJi-0003rc-PX for emacs-devel@gnu.org; Thu, 22 Feb 2007 13:05:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HKIJh-0003rJ-1G for emacs-devel@gnu.org; Thu, 22 Feb 2007 13:05:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKIJg-0003rD-Py for emacs-devel@gnu.org; Thu, 22 Feb 2007 13:05:16 -0500 Original-Received: from kerckhoffs.g10code.com ([217.69.77.222]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HKIJf-0003Fv-W1 for emacs-devel@gnu.org; Thu, 22 Feb 2007 13:05:16 -0500 Original-Received: from uucp by kerckhoffs.g10code.com with local-rmail (Exim 4.50 #1 (Debian)) id 1HKIRp-0006bx-7e for ; Thu, 22 Feb 2007 19:13:41 +0100 Original-Received: from wk by localhost with local (Exim 4.62 #1 (Debian)) id 1HKIJQ-0008UZ-1o; Thu, 22 Feb 2007 19:05:00 +0100 Organisation: g10 Code GmbH OpenPGP: id=5B0358A2; url=finger:wk@g10code.com In-Reply-To: <873b4yt7xx.fsf@stupidchicken.com> (Chong Yidong's message of "Thu\, 22 Feb 2007 12\:31\:54 -0500") User-Agent: Gnus/5.110006 (No Gnus v0.6) X-detected-kernel: Linux 2.2 (2) X-Mailman-Approved-At: Fri, 23 Feb 2007 11:39:02 -0500 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:66677 Archived-At: On Thu, 22 Feb 2007 18:31, cyd@stupidchicken.com said: > Admittedly, it is a rather naughty solution: GPG is called through an > elisp terminal (as implemented by `make-term' in term.el), with a > modified process filter whose purpose is to send GPG the string to be The design goal of pinnetry is to keep it small and thus more secure than a huge application. The GUI versions take additional care to assemble the passphrase only in locked-from-swapping memory. With all that code running in emacs, I doubt that it makes sense at all to use the curses versions of Pinentry. Here is another idea: Is it possible to enhance server-start/emacsclient so that it does not edit a file but asks for string and returns that one? Pinentry could then use this feature for user interaction. Salam-Shalom, Werner