From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80627 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus asking for key twice Date: Wed, 30 Nov 2011 20:45:37 +0900 Organization: Emacsen advocacy group Message-ID: References: <87sjl8dt6t.fsf@earth.home> <878vmz7uvi.fsf@earth.home> <8762i36fig.fsf@earth.home> <87ipm3ci7f.fsf@earth.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1322653576 25531 80.91.229.12 (30 Nov 2011 11:46:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2011 11:46:16 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28909@lists.math.uh.edu Wed Nov 30 12:46:12 2011 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.69) (envelope-from ) id 1RVic6-0003eS-Ul for ding-account@gmane.org; Wed, 30 Nov 2011 12:46:11 +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 1RViav-00018r-RB; Wed, 30 Nov 2011 05:44:57 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RViau-00018h-IG for ding@lists.math.uh.edu; Wed, 30 Nov 2011 05:44:56 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RViat-0000E9-CY for ding@lists.math.uh.edu; Wed, 30 Nov 2011 05:44:56 -0600 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RViar-0003gN-Ej for ding@gnus.org; Wed, 30 Nov 2011 12:44:53 +0100 Original-Received: from localhost ([127.0.0.1]:57997) by orlando.hostforweb.net with smtp (Exim 4.69) (envelope-from ) id 1RViam-0006BK-NP for ding@gnus.org; Wed, 30 Nov 2011 05:44:49 -0600 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (i686-pc-cygwin) Cancel-Lock: sha1:qv2kY7lSlNUBM3z/vQG8s8P8Xwg= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80627 Archived-At: Adam wrote: > The passphrase is not the problem. In fact I do not protect my keys > with passphrases. It is the actual key (say the key that should be used > to sign the message) selection dialogue that pops up twice. I overlooked you wrote `mm-sign-option is set to guided', sorry. That you are prompted twice seems to be due to a bug of `mml2015-epg-sign'. The encrypting function might have it, too. There are two issues in the following section: (or (message-options-get 'mml2015-epg-signers) (message-options-set 'mml2015-epg-signers ...)) The second line tries to save a signer to the `message-options' variable and the first line gets it back in the next time. However, `message-options' is always buffer-local and those are done in a temporary buffer. So, this save-and-back plan goes wrong. In addition, `epa-select-keys', that passes a signer to the second line from the selection menu, always returns nil as far as I can observe. It seems hard to fix.