Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: Trailing whitespace and PGP/MIME
Date: Wed, 31 Dec 2003 01:05:34 +0100	[thread overview]
Message-ID: <ilur7ylyhpt.fsf@latte.josefsson.org> (raw)
In-Reply-To: <87n099yil9.fsf@windlord.stanford.edu> (Russ Allbery's message of "Tue, 30 Dec 2003 15:46:42 -0800")

Russ Allbery <rra@stanford.edu> writes:

> Simon Josefsson <jas@extundo.com> writes:
>
>> Ah.  Hm.  Er.  So what IS the right thing?  The MUST above is for
>> PGP/MIME, yes, but the _reason_ the MUST is there in the document is
>> about as valid for plain PGP as it is for PGP/MIME, I think, arguing
>> that the obvious approach is the right.
>
> It shouldn't be as valid for inline PGP.  PGP implementations generally
> handle trailing spaces without difficulty when processing attached
> signatures (by stripping them before processing the message).

Even pre-OpenPGP implementations?  E.g., PGP 2.x.  RFC 1991 does not
mention "whitespace", "trailing", or "strip".  Gnus currently claim to
support them, although I'm not sure this is a good idea, nor if anyone
actually uses PGP 2.x.

>> One (non-)solution is to warn the user whenever the message content
>> may not work reliably with plain PGP and ask the user if she wants to
>> continue, or use PGP/MIME instead.
>
> This is going to get really annoying for people who use inline signatures
> with a sig delimiter.
>
> The real solution is for people to stop using the broken inline PGP
> signature standard and switch to PGP/MIME so that the true structure of
> their messages is exposed to software, but it's so hard to convince people
> of that....

So maybe an annoying blurb showing up every time users try to use
inline PGP with non-ASCII, trailing whitespace, or dash escaped text,
is the best we can hope to do.  If we annoy people with the blurb,
maybe they stop annoying us by using inline PGP.

For pure-ASCII, no trailing whitespace, no possibly dash escaped text,
use of inline isn't that bad, especially for announcements stored in
files -- PGP/MIME is too e-mail specific to be used in that case.




  reply	other threads:[~2003-12-31  0:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-30  2:15 Jesper Harder
2003-12-30  9:04 ` Ivan Boldyrev
2003-12-30 11:31   ` Simon Josefsson
2003-12-30 13:12     ` Ivan Boldyrev
2003-12-30 11:05 ` Simon Josefsson
2003-12-30 13:02   ` Jesper Harder
2003-12-30 20:56     ` Simon Josefsson
2003-12-30 23:29       ` Jesper Harder
2003-12-30 23:52         ` Simon Josefsson
2003-12-31  0:01           ` Russ Allbery
2003-12-30 23:46       ` Russ Allbery
2003-12-31  0:05         ` Simon Josefsson [this message]
2003-12-31  2:26           ` Russ Allbery

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=ilur7ylyhpt.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).