From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ken Manheimer" Newsgroups: gmane.emacs.devel Subject: Re: allout patch to workaround discrepancies with new pgg interface (gpg-agent provisions) Date: Thu, 28 Dec 2006 11:50:37 -0500 Message-ID: <2cd46e7f0612280850le36cee2g7d6baf64391ddef9@mail.gmail.com> References: <2cd46e7f0612231002x72ab9446rbcdb956749038cc0@mail.gmail.com> <2cd46e7f0612251023t4bbd0509q1410028f5010c032@mail.gmail.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167324694 4054 80.91.229.10 (28 Dec 2006 16:51:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Dec 2006 16:51:34 +0000 (UTC) Cc: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 28 17:51:30 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 1GzyTY-0002Tz-WC for ged-emacs-devel@m.gmane.org; Thu, 28 Dec 2006 17:51:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzyTY-00031Z-Hm for ged-emacs-devel@m.gmane.org; Thu, 28 Dec 2006 11:51:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GzySr-0002QE-6f for emacs-devel@gnu.org; Thu, 28 Dec 2006 11:50:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GzySm-0002KU-Kx for emacs-devel@gnu.org; Thu, 28 Dec 2006 11:50:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzySm-0002KB-Fp for emacs-devel@gnu.org; Thu, 28 Dec 2006 11:50:40 -0500 Original-Received: from [66.249.92.174] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GzySl-0003sf-Cp for emacs-devel@gnu.org; Thu, 28 Dec 2006 11:50:39 -0500 Original-Received: by ug-out-1314.google.com with SMTP id j3so4667523ugf for ; Thu, 28 Dec 2006 08:50:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=B/rHg9jsVK+RtL/XIHAI9uN7BVbtMMfE5qb41oZXmX0NrAjn2GhJghrKYazz8EIH8gSopHGZLRhoXrERHPwlGoZH7Luuxy0LiOlar3kWWxsnQ8J2WIhaxfp0nxDJZavw5OhPziEwqYxyKijzXLdOuFd8sMy/+DYyN3fWmLxRm60= Original-Received: by 10.78.201.10 with SMTP id y10mr466427huf.1167324637959; Thu, 28 Dec 2006 08:50:37 -0800 (PST) Original-Received: by 10.78.198.10 with HTTP; Thu, 28 Dec 2006 08:50:37 -0800 (PST) Original-To: emacs-devel@gnu.org In-Reply-To: <2cd46e7f0612251023t4bbd0509q1410028f5010c032@mail.gmail.com> Content-Disposition: inline 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:64400 Archived-At: as i mentioned, i'm going to have online access only intermittently over the next few weeks. it looks like daiki ueno has submitted a patch that may repair the underlying pgg problem that provoked the patch i submitted in a prior message in this thread, but the patch is still an important improvment in the way allout uses pgg, even with the pgg problem fixed. i hope my patch will be applied, and also daiki ueno's pgg patch, if sascha wilde checks and oks it. (i won't need to suppress pgg-gpg-use-agent at all, if the pgg passphrase problem is fixed, but the suppression won't hurt, and the other parts of my patch are crucial. if the timing works out and the pgg problem gets settled i'll submit a new patch removing the suppression, on jan 1 or 2.) -- ken http://myriadicity.net On 12/25/06, Ken Manheimer wrote: > as i said in the other thread ("Documenting gpg-agent"), i do think > there's a problem in that passed-in passphrases seem to be > disregarded. i also think, however, that allout is better off not > handling keypair passphrases, though it must continue to handle > symmetric-key passphrases (which i explain in detail in the other > thread). so the attached patch does exactly that - allout will > continue to handle symmetric-key passphrases, but defer to pgg for > keypair passphrases. i think this is a win all around. > > -- > ken > ken.manheimer@myriadicity.net > > 2006-12-25 Ken Manheimer > > * allout.el (allout-encrypt-string): Handle symmetric-key > passphrase caching but leave keypair catching to pgg.