Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Gnus asking for key twice
Date: Wed, 30 Nov 2011 20:45:37 +0900	[thread overview]
Message-ID: <b4md3c9deam.fsf@jpl.org> (raw)
In-Reply-To: <87ipm3ci7f.fsf@earth.home>

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.



  reply	other threads:[~2011-11-30 11:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28 18:02 Adam
2011-11-28 22:22 ` Adam
2011-11-28 22:40   ` Adam
2011-11-29 10:00     ` Katsumi Yamaoka
2011-11-29 10:19       ` Katsumi Yamaoka
2011-11-29 10:56       ` Adam
2011-11-30 11:45         ` Katsumi Yamaoka [this message]
2011-12-01  4:55           ` Katsumi Yamaoka
2011-12-01 11:17             ` Adam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4md3c9deam.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).