🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62621

Re: Power-Post 2003 - requesting input from authorities..

#62621
From: Jeremy
Date: Wed, 01 Jan 2003 00:44
47 lines
3323 bytes
Russ Allbery  <rra@stanford.edu> wrote:

> Yeah, and the control message signing stuff already does all of that,
> although the protocol could probably stand to be reworked into more formal
> language so that all of the edge cases could be flushed out and dealt
> with.  I expect that there are some landmines waiting in the form of line
> ending transformations, weird compatibility issues between versions of
> PGP, and other such things.

I thought of one sticky issue: Usenet posts can end up in email.

Then, From headers can be rewritten by well-meaning relays; Subjects could
have tags added; Message-IDs could be changed.  8-bit bodies could be
recoded into a 7-bit-safe CTE, or simply munged.  Bodies containing things
like trailing spaces could be irreversibly damaged, and lines starting
in "From" could be escaped.  Much of the body stuff could be prevented by
using quoted-printable, but it would be unfortunate to have to require that.

It would sure be nice if servers would send posts to moderators encapsulated
as MIME attachments, but they don't.

> The hardest part would probably be getting the PGP bits right.  The
> control message protocol, and I think PGPMoose, ended up being largely
> defined by "this is what PGP does" rather than by a standard, and now we
> have an OpenPGP standard and all this other stuff about differences
> between detached signatures and attached signatures and the like.  Someone
> who really understands PGP would likely need to sit down and review what's
> going on and help with the specification of what OpenPGP functions and
> formats to use.

I haven't read the OpenPGP standard, myself.  My thought was to generate
a detached signature of the appropriate data, and stick it in a header;
either generate it ascii-armored, or just make a binary one and convert
it to hex.

> I never have understood why mail went the direction that it did, avoiding
> any signing of headers at all.  There's probably some good reason behind
> that that I'd want to know about before fiddling with signing headers.

Headers in email are subject to change.  This is also why email uses
PGP/MIME, or at least should in cases where it doesn't already -- you
can't really sign the headers, and you need to be able to get the body
in some consistent, canonical state.

-- 
Jeremy  |  jeremy@exit109.com
Technical Details
Message-ID: <1041381846.412185@ok-corral.gunslinger.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!saloon!newsbastard
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <yl4r8wgk3o.fsf@windlord.stanford.edu> <1041306764.449735@ok-corral.gunslinger.net> <ylwulqzskw.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1041381846.412185@ok-corral.gunslinger.net>
Subject: Re: Power-Post 2003 - requesting input from authorities..
Date: Wed, 01 Jan 2003 00:44:06 +0000
From: Jeremy <jeremy@exit109.com>
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <yl4r8wgk3o.fsf@windlord.stanford.edu> <1041306764.449735@ok-corral.gunslinger.net> <ylwulqzskw.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.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!saloon!newsbastard
Newsgroups: news.software.nntp
Organization: There Is No Organization
Lines: 46
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
X-Meow: Meow