Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: pgg doesn't seem to like me
Date: Thu, 10 Oct 2002 17:18:33 +0200	[thread overview]
Message-ID: <iluhefu5nli.fsf@latte.josefsson.org> (raw)
In-Reply-To: <87lm56sxj4.fsf@athene.jamux.com> (jam@jamux.com's message of "Thu, 10 Oct 2002 00:55:27 -0400")

jam@jamux.com (John A. Martin) writes:

>     >> Encrypted pgpmime (combined) messages mailed to myself show
>     >> extraneous Ctrl-M characters at the end of all body lines.
>
>     Simon> I can't reproduce this with PGG and GnuPG CVS.  Do you use
>     Simon> PGG?  Which OpenPGP implementation?  Does this patch help?
>
>     Simon> --- mml2015.el.~6.53.~ 2002-10-04 00:56:39.000000000 +0200
>     Simon> +++ mml2015.el 2002-10-10 00:33:58.000000000 +0200
>     Simon> @@ -662,6 +662,9 @@
>     Simon>  	(if (condition-case err
>     Simon>  		(prog1
>     Simon>  		    (pgg-decrypt-region (point-min)
>     Simon>  		    (point-max))
>     Simon> + (goto-char (point-min))
>     Simon> + (while (search-forward "\r\n" nil t)
>     Simon> + (replace-match "\n" t t))
>     Simon>  		  (setq decrypt-status
>     Simon>  			(with-current-buffer
>     Simon>  			mml2015-result-buffer
>     Simon>  			  (buffer-string))))
>
> pgg gives no change from before with the setup above with or without
> the patch.  As before, the same messages decrypted by gpg on the
> command line or by mhe/mailcrypt are OK.

Hm. Can you make a proper bug report (M-x gnus-bug) so I can see which
emacs, operating system, etc you use, and other settings?  Or send me
an encrypted mail, then I can see if it is encrypting or decrypting
that is buggy.

>     >> Signed only pgp messages mailed to myself are QP encoded and
>     >> show extraneous Ctrl-M characters at the end of all body lines
>     >> when verified and displayed by gnus.
>
>     Simon> I think I fixed the QP, but I don't see the ^M.
>
> Still same as before with or without the patch above.

Probably same bug.  Is the message properly verified otherwise?

>     >> Encrypted pgp (combined) messages are not encoded, signed, nor
>     >> encrypted.
>
>     Simon> Or sent, as it generated a elisp error, I presume.  I think
>     Simon> I fixed this.
>
> Before, no elisp error and the messages were sent plaintext!
>
> Now encrypted pgp (combined) messages are signed and encrypted but
> when decrypted in gnus show extraneous Ctrl-M characters at the end of
> all body lines.  The same messages decrypted by gpg on the command
> line or by mhe/mailcrypt are OK.

That's probably good then, only the ^M bug left.

>     >> cat textfile|gpg -sat|/usr/sbin/sendmail myself; cat inbox/1
>     >>
>     >> cat textfile|gpg -seatr myself|/usr/sbin/sendmail myself
>     >> cat inbox/1|gpg
>     >>
>     >> In other words, why should gnus pgp muck with pgp not mime?
>     >> Mhe/mailcrypt does not.  Gnus/mailcrypt does not[1].
>
>     Simon> Do you still see any differences?
>
> No change from before except that the pgp(no-mime) encrypted messages
> are signed and encrypted but gnus shows the ^M.  

Ok, maybe this is due to some combination of OS and emacs version that
I don't use.

> The pgp(no-mime) signed messages are QP and so not verified by gpg
> on the command line.

I recall some discussion about whether cleartext armored OpenPGP
messages should be QP'd or not when mml1991.el was added, and that the
outcome was that they should.  It seems ugly to me, and I don't see
why it would be necessary, but maybe I forgot.

> Is there an easy way to tell for sure that the messages are being
> processed by pgg and not by anyone else that should not be involved.

Other than checking the configuration or edebugging everything, I
don't know.

> Since the encrypted messages look OK when decrypted on the command
> line maybe something wrong is happening after gnus decrypting?

Yup.  Or your terminal is simply hiding the ^M's...




  parent reply	other threads:[~2002-10-10 15:18 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-01 17:27 John A. Martin
2002-10-01 18:56 ` John A. Martin
2002-10-01 19:16   ` Josh Huber
2002-10-01 20:11     ` John A. Martin
2002-10-01 20:58       ` Josh Huber
2002-10-01 21:21         ` John A. Martin
2002-10-01 21:38           ` Josh Huber
2002-10-01 21:50             ` Jesper Harder
2002-10-01 23:32             ` John A. Martin
2002-10-02 18:36         ` John A. Martin
2002-10-02 19:20           ` John A. Martin
2002-10-03  0:22             ` Clemens Fischer
2002-10-03 23:00           ` Simon Josefsson
2002-10-03 23:04             ` Simon Josefsson
2002-10-05  4:45               ` John A. Martin
2002-10-05 11:24                 ` Simon Josefsson
2002-10-05 15:12                   ` John A. Martin
2002-10-05 21:22                     ` Raymond Scholz
2002-10-06  0:03                       ` Simon Josefsson
2002-10-06 10:14                         ` Raymond Scholz
2002-10-09 21:59                           ` Simon Josefsson
2002-10-10  0:15                             ` Simon Josefsson
2002-10-10 17:36                               ` Raymond Scholz
2002-10-06 19:46                         ` John A. Martin
2002-10-10  0:13                           ` Simon Josefsson
2002-10-10  4:55                             ` John A. Martin
2002-10-10 14:18                               ` Josh Huber
2002-10-10 15:18                               ` Simon Josefsson [this message]
2002-10-10 14:55                             ` John A. Martin
2002-10-10 15:54                               ` Simon Josefsson
2002-10-07 16:23                         ` Andreas Fuchs
2002-10-07 23:58                           ` Clemens Fischer
2002-10-10  0:34                             ` Simon Josefsson
2002-10-10  0:32                           ` Simon Josefsson
2002-10-10 10:42                             ` Andreas Fuchs
2002-10-10 15:00                               ` Simon Josefsson
2002-10-10 18:28                                 ` Andreas Fuchs
2002-10-10 23:24                                   ` Simon Josefsson
2002-10-08  2:11                         ` John A. Martin
2002-10-10  0:42                           ` Simon Josefsson
2002-10-08 13:37                         ` John A. Martin
2002-10-08 14:18                           ` Simon Josefsson
     [not found]             ` <gd.y1yr8f6yp8y.fsf@fly.verified.de>
     [not found]               ` <iluofa94z60.fsf@latte.josefsson.org>
2002-10-05 11:58                 ` Raymond Scholz
2002-10-05 14:17                   ` John A. Martin
2002-10-05 21:21                     ` Raymond Scholz
2002-10-01 22:54 ` Simon Josefsson

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=iluhefu5nli.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    --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).