Gnus development mailing list
 help / color / mirror / Atom feed
From: Jesper Harder <harder@ifa.au.dk>
Subject: Re: Problem with Mozilla Thunderbird PGP mails
Date: Tue, 16 Mar 2004 03:43:10 +0100	[thread overview]
Message-ID: <m38yi1341t.fsf@defun.localdomain> (raw)
In-Reply-To: <microsoft-free.87znahr1u8.fsf@eicq.dnsalias.org> (Steve Youngs's message of "Tue, 16 Mar 2004 11:57:03 +1000")

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

Steve Youngs <sryoungs@bigpond.net.au> writes:

> * Jesper Harder <harder@ifa.au.dk> writes:
>
>   > Steve Youngs <sryoungs@bigpond.net.au> writes:
>   >> I've noticed that if someone sends me a cleartext PGP signed (ie
>   >> non-MIME) message from Mozilla Thunderbird, Gnus does not recognise it
>   >> as being signed.
>   >> 
>   >> Has anyone else seen this?  Or know what the problem is?
>
>   > They are probably format=flowed.
>
> So what can we do about it?

Hit the Thunderbird developers with a cluestick?  Using cleartext pgp
in a MIME message that is more complicated than

  Content-Type: text/plain
  Content-Transfer-Encoding: 7bit

is fundamentally broken.

Seriously, to accomodate inapproriate use of inline pgp we have to
look for magic strings inside MIME multiparts (and format=flowed
parts).

For example here's a patch that "fixes" it for format=flowed (it's not
a proper solution -- it just disables f=f treatment completely).


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 684 bytes --]

*** /home/harder/gnus/lisp/mm-decode.el	Wed Mar 10 12:56:07 2004
--- /home/harder/cvsgnus/lisp/mm-decode.el	Tue Mar 16 03:35:35 2004
***************
*** 578,586 ****
  
  (defun mm-dissect-singlepart (ctl cte &optional force cdl description id)
    (when (or force
! 	    (if (equal "text/plain" (car ctl))
! 		(assoc 'format ctl)
! 	      t))
      (mm-make-handle
       (mm-copy-to-buffer) ctl cte nil cdl description nil id)))
  
--- 578,584 ----
  
  (defun mm-dissect-singlepart (ctl cte &optional force cdl description id)
    (when (or force
! 	    (not (equal "text/plain" (car ctl))))
      (mm-make-handle
       (mm-copy-to-buffer) ctl cte nil cdl description nil id)))
 

  reply	other threads:[~2004-03-16  2:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-15 23:46 Steve Youngs
2004-03-16  0:37 ` Jesper Harder
2004-03-16  1:57   ` Steve Youngs
2004-03-16  2:43     ` Jesper Harder [this message]
2004-03-17  2:06       ` Steve Youngs
2004-03-17 14:40         ` Jesper Harder
2004-05-16 14:34       ` Lars Magne Ingebrigtsen
2004-05-16 15:39         ` Jesper Harder
2004-05-16 15:59           ` Lars Magne Ingebrigtsen

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=m38yi1341t.fsf@defun.localdomain \
    --to=harder@ifa.au.dk \
    /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).