From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47093 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 10:55:52 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <87adlm737r.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 1034262223 10481 127.0.0.1 (10 Oct 2002 15:03:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 10 Oct 2002 15:03:43 +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 17zeqi-0002ik-00 for ; Thu, 10 Oct 2002 17:03:42 +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 17zelO-0004kN-00; Thu, 10 Oct 2002 09:58:10 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 10 Oct 2002 09:58:52 -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 JAA19574 for ; Thu, 10 Oct 2002 09:57:33 -0500 (CDT) Original-Received: (qmail 22314 invoked by alias); 10 Oct 2002 14:55:54 -0000 Original-Received: (qmail 22309 invoked from network); 10 Oct 2002 14:55:53 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 10 Oct 2002 14:55:53 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17zfXA-0003KZ-00 for ; Thu, 10 Oct 2002 17:47:32 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 96 Original-NNTP-Posting-Host: athene.jamux.com Original-X-Trace: quimby.gnus.org 1034264852 12806 65.222.215.34 (10 Oct 2002 15:47:32 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 10 Oct 2002 15:47:32 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:kfylq0rYHBlopxKEjrpkrxTxbUY= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47093 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47093 -----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> 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)))) With that patch in place my xemacs process disappeared while trying to verify an armored PGP signed message that was also QP encoded. ,----[ On the command line: GnuPG-1.2.0 ] | jam@athene:~/tmp$ cat ~/Mail/gnupg-users/9608|gpg --verify -vv | gpg: armor: BEGIN PGP SIGNED MESSAGE | gpg: armor header: Hash: RIPEMD160 | :packet 63: length 11 - gpg control packet | gpg: armor: BEGIN PGP SIGNATURE | gpg: armor header: Version: GnuPG v1.2.0 (GNU/Linux) | gpg: armor header: Comment: Keys- http://www.geocities.com/burns98/rb_pub_keys.txt | :literal data packet: | mode t, created 0, name="", | raw data: 0 bytes | gpg: original file name='' | gpg: CRC error; a4dfc8 - dc3a4d | :signature packet: algo 17, keyid 84D2DA4D2CECAE1F | version 3, created 1034133720, md5len 5, sigclass 01 | digest algo 3, begin of digest 5e 34 | data: [159 bits] | data: [158 bits] | gpg: quoted printable character in armor - probably a buggy MTA has been used `---- Actually, I think the mail was from a buggy MUA. ,---- | User-Agent: KMail/1.4.1 | MIME-Version: 1.0 | Content-Transfer-Encoding: quoted-printable `---- After reverting the patch a new XEmacs Gnus verified that mail and another similar mail without incident. >>>>> "jam" == John A Martin >>>>> "Re: pgg doesn't seem to like me" >>>>> Thu, 10 Oct 2002 00:55:27 -0400 jam> Since the encrypted messages look OK when decrypted on the jam> command line maybe something wrong is happening after gnus jam> decrypting? Also, I see no extraneous ^M line ending characters when verifying armored signed mail, KMail broken armored mail, or pgpmime signed mail _from the wild_ I see no extraneous ^M in the product of Gnus decryption of armored "PGP MESSAGES" (no mime) from the wild. I don't see mail from the wild pgpmime encrypted to me because, so far, I don't do MIME in public. Another point. When my Gnus decrypts a my Gnus pgpmime signencrypt'ed message that will show extraneous ^M characters, the minibuffer shows something like ,---- | Unknowm encoding quoted printable ^M; defaulting to 8bit `---- I do not see this when decrypting Gnus pgp(no-mime). How can I get closer to this (these) problem(s)? jam -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAj2llKoACgkQUEvv1b/iXy8p5gCePzjoQbnFOvLtB9tO9g5YBEp5 eRYAn1FnWROa7uckr9bSKx5qVSGlToP8 =55V6 -----END PGP SIGNATURE-----