From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64348 Path: news.gmane.org!not-for-mail From: Michael Piotrowski Newsgroups: gmane.emacs.gnus.general Subject: Re: epg and expired recipient keys Date: Mon, 26 Feb 2007 11:37:08 +0100 Organization: dynalabs Network Research Unit Message-ID: References: <87649ro899.fsf@wheatstone.g10code.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1172486725 12764 80.91.229.12 (26 Feb 2007 10:45:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Feb 2007 10:45:25 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M12872@lists.math.uh.edu Mon Feb 26 11:45:18 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1HLdM6-0003Ug-7z for ding-account@gmane.org; Mon, 26 Feb 2007 11:45:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1HLdJA-0001lT-NN; Mon, 26 Feb 2007 04:42:16 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HLdJ7-0001l6-M4 for ding@lists.math.uh.edu; Mon, 26 Feb 2007 04:42:13 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1HLdJ1-0002Zv-2c for ding@lists.math.uh.edu; Mon, 26 Feb 2007 04:42:13 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HLdIz-0001FW-00 for ; Mon, 26 Feb 2007 11:42:05 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HLdFu-0008Ok-39 for ding@gnus.org; Mon, 26 Feb 2007 11:38:56 +0100 Original-Received: from dslb-088-072-043-221.pools.arcor-ip.net ([88.72.43.221]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Feb 2007 11:38:54 +0100 Original-Received: from mxp by dslb-088-072-043-221.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Feb 2007 11:38:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dslb-088-072-043-221.pools.arcor-ip.net User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (berkeley-unix) X-Face: %OvAx]kKl`N,i?yQ+$^p9w2oy)Yg|O}a_~6wtRQ@UTZ*(jSPubbonT]m++M>YBtJqkZZa!W"y5`aI.FoKO%$JHz=ws|i?y^o2bds(+pcp>gcX]H}?-tCzL^ABzJUWYzS{"!_hFg:JD)`kxRKLsNp X-Operating-System: NetBSD Content-Language: en X-Now-Playing: - (djradio.ch ) Cancel-Lock: sha1:vzfO6XaZF6Y6T1v3OLCUGgbF8BE= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64348 Archived-At: On 2007-02-24, Werner Koch wrote: >> GnuPG automatically selects the right key to use, and avoids the >> expired ones. >> >> If this is a bug in epg, I'd think that someone must have run into it >> before--or could this be a local problem? > > I had the same problem and discussed this with Ueno. The reason is > that epg uses --list-keys to get a list of macthing recinpients and > picks the first one. This is obviously not correct, as it should skip > all revoked and expired keys. I thought so :-) > However, as this is a general problem I am thinking about adding a new > list mode which selects a useful key the same way gpg does when called > directly with -r. I have not come to a conclusion as there are valid > reasons for MUAs to do their own selection. For example a MUA might > keep a list of former contacts and use a fingerpritn directly to > select a key. Hmm, while this is perhaps convenient, I'm not sure whether it is really needed: As far as I can see, --list-keys already gives the necessary information, and it seems to be trivial to check for "e", "r", etc. in the appropriate fields. But maybe I'm missing something. Greetings -- Michael Piotrowski, M.A. Public key at