From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47074 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: pgg doesn't seem to like me Date: Thu, 10 Oct 2002 02:13:38 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <20021001172713.05F1E3B8CE@athene.jamux.com> <87d6quugw5.fsf@athene.jamux.com> <87adly6kck.fsf@mail.paradoxical.net> <874rc5vs16.fsf@athene.jamux.com> <874rc57u6e.fsf@mail.paradoxical.net> <873croy9g1.fsf@athene.jamux.com> <87elb5qyrx.fsf@athene.jamux.com> <87adlskjh3.fsf@athene.jamux.com> <878z1bic4s.fsf@athene.jamux.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034208952 17308 127.0.0.1 (10 Oct 2002 00:15:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 10 Oct 2002 00:15:52 +0000 (UTC) Cc: ding@gnus.org Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17zQzW-0004V2-00 for ; Thu, 10 Oct 2002 02:15:51 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17zQxp-00010y-00; Wed, 09 Oct 2002 19:14:05 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 09 Oct 2002 19:14:47 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id TAA17801 for ; Wed, 9 Oct 2002 19:14:29 -0500 (CDT) Original-Received: (qmail 8158 invoked by alias); 10 Oct 2002 00:13:41 -0000 Original-Received: (qmail 8153 invoked from network); 10 Oct 2002 00:13:41 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 10 Oct 2002 00:13:41 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id g9A0DdFt012596; Thu, 10 Oct 2002 02:13:39 +0200 Original-To: jam@jamux.com (John A. Martin) Mail-Copies-To: nobody X-Hashcash: 0:021010:jam@jamux.com:21d83b3d8769a398 X-Hashcash: 0:021010:ding@gnus.org:3286df23b7062335 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47074 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47074 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.