From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47080 Path: main.gmane.org!not-for-mail From: jam@jamux.com (John A. Martin) Newsgroups: gmane.emacs.gnus.general Subject: Re: pgg doesn't seem to like me Date: Thu, 10 Oct 2002 00:55:27 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <87lm56sxj4.fsf@athene.jamux.com> 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 1034225812 1583 127.0.0.1 (10 Oct 2002 04:56:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 10 Oct 2002 04:56:52 +0000 (UTC) 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 17zVNQ-0000PH-00 for ; Thu, 10 Oct 2002 06:56:48 +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 17zVMW-0002Hv-00; Wed, 09 Oct 2002 23:55:52 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 09 Oct 2002 23:56:34 -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 XAA18256 for ; Wed, 9 Oct 2002 23:56:18 -0500 (CDT) Original-Received: (qmail 14700 invoked by alias); 10 Oct 2002 04:55:31 -0000 Original-Received: (qmail 14695 invoked from network); 10 Oct 2002 04:55:30 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 10 Oct 2002 04:55:30 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17zW9x-0005p4-00 for ; Thu, 10 Oct 2002 07:46:57 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 128 Original-NNTP-Posting-Host: athene.jamux.com Original-X-Trace: quimby.gnus.org 1034228817 22385 65.222.215.34 (10 Oct 2002 05:46:57 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 10 Oct 2002 05:46:57 GMT X-Attribution: jam X-Request-PGP: http://www.tux.org/~jam/jam-gpg-keys.html X-PGP-Fingerprint: 5F05 15CF 05D2 E8D3 E7FA 8C6A 504B EFD5 BFE2 5F2F Cancel-Lock: sha1:8O2YKqLOKS6yM/gSmVzFzhIpsUM= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47080 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47080 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>>>> "Simon" == Simon Josefsson >>>>> "Re: pgg doesn't seem to like me" >>>>> Thu, 10 Oct 2002 02:13:38 +0200 Simon> 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: Simon> Shouldn't those things be customized instead of calling Simon> functions, btw? I made the `mml-signencrypt-style-alist' Simon> variable customizable. Calling the functions should still Simon> work though. Somewhere it was stated to use the `mml-signencrypt-style' function. I'm no great fan of custom and neither it seems is the author of the the XEmacs-21.4.8 sample.init.el. :) >> Signed only pgpmime messages look ok when mailed to myself and >> verified by gnus. Still OK using XEmacs-21.4.8 (xemacs21-nomule_21.4.8-2_i386.deb) and the cvs with lisp/ChangeLog/6.1598/Thu Oct 10 01:40:39 2002// with gpg as follows. ,----[ GnuPG-1.2.0 gpg.conf ] | no-greeting | lock-once | no-version | openpgp | default-key 0xbfe25f2f | #no-default-keyring | | keyserver x-hkp://wwwkeys.us.pgp.net | keyserver-options auto-key-retrieve include-disabled include-revoked | | #show-photos | | # "Encrypt to self" | encrypt-to 0xbfe25f2f | | # Non-compliant to OpenPGP rfc2440 | escape-from-lines | | # Read only keyrings | keyring /usr/share/keyrings/debian-keyring.gpg | keyring /usr/share/keyrings/debian-keyring.pgp | | group peon@jamux.com=0xb870dab6 0xd5c296f2 0x7df7d271 `---- >> 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. >> 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. >> 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. >> 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. The pgp(no-mime) signed messages are QP and so not verified by gpg on the command line. 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. Since the encrypted messages look OK when decrypted on the command line maybe something wrong is happening after gnus decrypting? jam -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAj2lCDQACgkQUEvv1b/iXy90AwCfef1m3bl+mmLOUI2yjw8nIk+P K1EAnArCaVEppnyxRUvZ5GSkG3+O1bPC =+9LI -----END PGP SIGNATURE-----