Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: pgg-signed messages and hyphens
Date: Mon, 10 Nov 2003 20:13:46 +0100	[thread overview]
Message-ID: <ilur80gkped.fsf@latte.josefsson.org> (raw)
In-Reply-To: <vzu15c172l.fsf@redqueen.bytechase.cx> (Norbert Koch's message of "Mon, 10 Nov 2003 18:12:18 +0100")

Norbert Koch <viteno@xemacs.org> writes:

> Hi!
>
> I take it, it's a feature that lines beginning with a couple of
> hyphens are changed if I pgg-sign a message, ie
>
> --------- other stuff
>
> becomes
>
> - ------- other stuff
>
> so that the end marker can be searched for?

Yes, it is called dash escaping, see RFC 2440.

It is an open question whether Gnus should instead use QP for these
message, and rewrite your line before signing into:

%2d-------- other stuff

This would prevent the PGP implementation of dash escape the message.

The advantage is that the PGP output will be compatible with RFC 1991
and pre-OpenPGP implementations.  The disadvantage is that QP is used,
which is ugly and might potentially invalidate the signature if there
is any MUA out there that perform QP decoding before PGP verification.




      reply	other threads:[~2003-11-10 19:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-10 17:12 Norbert Koch
2003-11-10 19:13 ` Simon Josefsson [this message]

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=ilur80gkped.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    /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).