🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #41616

Re: the signature separator (-- ) (was Re: NetDirect?.)

#41616
From: Russ Allbery
Date: Sat, 20 Jun 1998 00:00
28 lines
1948 bytes
Jon Ribbens <jon@oaktree.co.uk> writes:

> Err, PGP *doesn't* strip trailing whitespace. At least, not unless
> they've changed it in version 5 to do that.

Yes, it does.  *wry grin*  Discovered from hard experience trying to
figure out why generated detached signatures didn't correctly verify when
they were munged into attached signatures.

PGP removes all whitespace from the ends of lines for the purposes of
generating or checking attached signatures on a file.  The whitespace is
restored in the generated signed document, but you have to munge the
whitespace back out again to check it.  This means that your signature
line still has its space preserved at the end of the line, but if you
generate a detached signature for your post, and then later form a
combined PGP message from that detached signature and your post, it won't
verify.

Evil.

This may be fixed in PGP 5, but given that I can't use PGP 5 it's sort of
irrelevant to me.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <m3d8c45m5p.fsf@windlord.Stanford.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <358c4ab8.375055130@news.demon.co.uk> <35896c6e.1841771@news.btinternet.com> <358c7962.452537804@news.demon.co.uk> <898207695.579416@sparc.tibus.net> <19980619.141954.4i2.rnr.w164w_-_@locutus.ofB.ORG> <slrn6ombtu.n7d.jon@chalk.oaktree.net.uk> <m3ogvowok4.fsf@windlord.Stanford.EDU> <slrn6on5dn.e8o.jon@chalk.oaktree.net.uk>

Show Full Headers
Complete Article Headers
Message-ID: <m3d8c45m5p.fsf@windlord.Stanford.EDU>
Subject: Re: the signature separator (-- ) (was Re: NetDirect?.)
Date: Sat, 20 Jun 1998 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <358c4ab8.375055130@news.demon.co.uk> <35896c6e.1841771@news.btinternet.com> <358c7962.452537804@news.demon.co.uk> <898207695.579416@sparc.tibus.net> <19980619.141954.4i2.rnr.w164w_-_@locutus.ofB.ORG> <slrn6ombtu.n7d.jon@chalk.oaktree.net.uk> <m3ogvowok4.fsf@windlord.Stanford.EDU> <slrn6on5dn.e8o.jon@chalk.oaktree.net.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 364456433
Sender: eagle@windlord.Stanford.EDU
Organization: The Eyrie
Newsgroups: news.software.readers