From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63616 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.gnus.general Subject: Re: Please add pgg-discard-passphrase-cache Date: Fri, 01 Sep 2006 23:43:55 +0900 Message-ID: <7f79e650-62c2-4830-aad4-2496f25a38a3@well-done.deisui.org> References: <7isljcsgqx.fsf@lanthane.pps.jussieu.fr> <94dbb93a-f189-4ab0-80b7-c4f067fb2ed7@well-done.deisui.org> <87sljcaro9.fsf@latte.josefsson.org> <5595f934-8d29-456b-8e01-35ad426df461@well-done.deisui.org> <87veo8ymjf.fsf@latte.josefsson.org> <066b5281-8ea9-46df-986c-b0c4df6e5cb3@well-done.deisui.org> <87mz9jzyvu.fsf@latte.josefsson.org> <87ac5jzsv9.fsf@latte.josefsson.org> <484a6815-315a-4c35-8458-e41ace7181da@well-done.deisui.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1157121910 22265 80.91.229.2 (1 Sep 2006 14:45:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Sep 2006 14:45:10 +0000 (UTC) Cc: Juliusz Chroboczek , ding@gnus.org Original-X-From: ding-owner+m12143@lists.math.uh.edu Fri Sep 01 16:45:04 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GJAGK-000329-Ir for ding-account@gmane.org; Fri, 01 Sep 2006 16:44:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1GJAGG-0001gk-00; Fri, 01 Sep 2006 09:44:48 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1GJAFU-0001gf-00 for ding@lists.math.uh.edu; Fri, 01 Sep 2006 09:44:00 -0500 Original-Received: from quimby.gnus.org ([80.91.227.211]) by mx1.math.uh.edu with esmtp (Exim 4.52) id 1GJAFS-0005Da-VL for ding@lists.math.uh.edu; Fri, 01 Sep 2006 09:44:00 -0500 Original-Received: from g96069.scn-net.ne.jp ([210.231.96.69] helo=localhost) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1GJAFQ-00075k-00 for ; Fri, 01 Sep 2006 16:43:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=well-done.deisui.org) by localhost with esmtp (Exim 4.62) (envelope-from ) id 1GJAFP-0001HP-Ml; Fri, 01 Sep 2006 23:43:55 +0900 Original-To: "Georg C. F. Greve" X-Attribution: DU In-Reply-To: (Georg C. F. Greve's message of "Fri, 01 Sep 2006 16:15:26 +0200") 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.1 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i686-pc-linux) X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63616 Archived-At: >>>>> In >>>>> "Georg C. F. Greve" wrote: > du> It looks strange. (setq epg-debug t) and could you send me the > du> contents of the " *epg-debug*" buffer (please notice that the > du> first character is SPC)? > I just tried this, with strange results. > When epg-debug is set, the " *epg-debug*" buffer is only created when > I look at my own encrypted emails. It is not created for encrypted > emails by others, and it is not created for signed emails by myself or > others. > When looking at signed emails, I have found a few cases in which it > seems to check the signature correctly. In others -- including my own > emails -- I see the "PGP Signed Part" button expand to: > [[PGP Signed Part:Failed] > (pgg-epg-lookup-key)] Does the following change fix it? diff -u -r1.24 pgg-epg.el --- pgg-epg.el 28 Jul 2006 02:59:23 -0000 1.24 +++ pgg-epg.el 1 Sep 2006 14:35:31 -0000 @@ -265,6 +265,12 @@ "From unknown user"))) "From unknown user")) +(defun pgg-epg-lookup-key (string &optional type) + "Search keys associated with STRING." + (mapcar (lambda (key) + (epg-sub-key-id (car (epg-key-sub-key-list key)))) + (epg-list-keys (epg-make-context) string (not (null type))))) + (provide 'pgg-epg) ;;; pgg-epg.el ends here If so, I'm sorry that pgg-epg.el is not well maintained since Gnus CVS has a native EPG binding and pgg-epg.el is not necessary with that version. Regards, -- Daiki Ueno