Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@hpc.uh.edu
Subject: Re: I have to enter my passphrase twice?
Date: Mon, 05 May 2003 17:55:29 +0200	[thread overview]
Message-ID: <iluy91lpevi.fsf@latte.josefsson.org> (raw)
In-Reply-To: <873cjt5te4.fsf@pooh.honeypot.net> (Kirk Strauser's message of "Mon, 05 May 2003 10:02:11 -0500")

Kirk Strauser <kirk@strauser.com> writes:

> At 2003-05-05T14:30:26Z, Kirk Strauser <kirk@strauser.com> writes:
>
>> As of recent, I have to enter my GnuPG passphrase twice when signing
>> outgoing messages.
>
> OK, I've narrowed down the trigger behavior slightly.  It happens when I use
> "<#secure method=pgp mode=sign>" to sign my email (instead of
> "method=pgpmime").  When I hit C-c C-c to send my message, I get:
>
>     GnuPG passphrase for kirk@strauser.com: 
>
> After I enter it, I see:
>
>     Sending via mail...
>
> flash briefly across the minibuffer.  Then I get a second prompt:
>
>     GnuPG passphrase for kirk@strauser.com: 
>
> and only after I correctly re-enter my passphrase do I get the "Message
> sent" message.
>
> The supremely annoying part is that if I mis-enter my passphrase at the
> second prompt, which I sometimes do because it's a fairly long phrase, then
> the message gets sent twice.

Do you use GCC?  Perhaps the message that is mailed is signed
correctly, but the second signature (for GCC) fails, and the GCC code
doesn't signal an error.  Can you look in your GCC group?

> Finally, I've set pgg-default-user-id to "8D02A6F1", which is the
> fingerprint for my key.  Why is it now sometimes prompting for the key for
> "kirk@strauser.com", which is something it had never done before?

This problem should be fixed by the patch below.  Please try it and
tell if it works or not.

Index: mml1991.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/mml1991.el,v
retrieving revision 6.22
diff -u -p -u -w -r6.22 mml1991.el
--- mml1991.el	2 May 2003 17:55:20 -0000	6.22
+++ mml1991.el	5 May 2003 15:54:17 -0000
@@ -234,7 +234,7 @@
       (delete-region (point-min) (point)))
     (quoted-printable-decode-region (point-min) (point-max))
     (unless (let ((pgg-default-user-id
-		   (or (message-options-get 'message-sender)
+		   (or (message-options-get 'mml-sender)
 		       pgg-default-user-id)))
 	      (pgg-sign-region (point-min) (point-max) t))
       (pop-to-buffer pgg-errors-buffer)




  reply	other threads:[~2003-05-05 15:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-05 14:30 Kirk Strauser
2003-05-05 14:56 ` Simon Josefsson
2003-05-05 15:02 ` Kirk Strauser
2003-05-05 15:55   ` Simon Josefsson [this message]
2003-05-05 16:22     ` Kirk Strauser
2003-05-05 17:22       ` Simon Josefsson
2003-05-05 19:11         ` Kirk Strauser
2003-05-05 19:32           ` Simon Josefsson
2003-05-05 16:38 ` Steve Youngs
2003-05-05 21:25   ` Kirk Strauser

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=iluy91lpevi.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    --cc=ding@hpc.uh.edu \
    /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).