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 02:13:38 +0200	[thread overview]
Message-ID: <ilur8ez6thp.fsf@latte.josefsson.org> (raw)
In-Reply-To: <878z1bic4s.fsf@athene.jamux.com>

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

> Using (mml-signencrypt-style "pgpmime" 'combined) and
> (mml-signencrypt-style "pgp" 'combined) with a cvs gotten about 14:00
> GMT Oct 5:

Shouldn't those things be customized instead of calling functions,
btw?  I made the `mml-signencrypt-style-alist' variable customizable.
Calling the functions should still work though.

> Signed only pgpmime messages look ok when mailed to myself and
> verified by gnus.

Good.

> Encrypted pgpmime (combined) messages mailed to myself show extraneous
> Ctrl-M characters at the end of all body lines.

I can't reproduce this with PGG and GnuPG CVS.  Do you use PGG?  Which
OpenPGP implementation?  Does this patch help?

--- mml2015.el.~6.53.~	2002-10-04 00:56:39.000000000 +0200
+++ mml2015.el	2002-10-10 00:33:58.000000000 +0200
@@ -662,6 +662,9 @@
 	(if (condition-case err
 		(prog1
 		    (pgg-decrypt-region (point-min) (point-max))
+		  (goto-char (point-min))
+		  (while (search-forward "\r\n" nil t)
+		    (replace-match "\n" t t))
 		  (setq decrypt-status 
 			(with-current-buffer mml2015-result-buffer
 			  (buffer-string))))

> 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.

I think I fixed the QP, but I don't see the ^M.

> Encrypted pgp (combined) messages are not encoded, signed, nor
> encrypted.

Or sent, as it generated a elisp error, I presume.  I think I fixed
this.

> I have no experience with mime so perhaps my expectations need
> adjustment, but I would expect to see the same thing _in the message
> body_ in a gnus buffer when reading a mail composed in gnus and sent
> to myself as I see at the command line with something like the
> following (using mh mailboxes, textfile contains only body text).
>
>         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].

Do you still see any differences?

> Other issues
>
> How about a keybinding if not also a menue option for
>
>         gpg option throw-keyid
>
>         sign/encrypt individual mime parts
>
>         snarf keys
>
>         insert public key        
>
> How about a method for adding arbitrary gpg options

I added the second one, patches for the others accepted.




  reply	other threads:[~2002-10-10  0:13 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 [this message]
2002-10-10  4:55                             ` John A. Martin
2002-10-10 14:18                               ` Josh Huber
2002-10-10 15:18                               ` Simon Josefsson
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=ilur8ez6thp.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).