🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90220

Re: Seeking help modifying Diablo source to prevent miscategorization of articles containing PGP

#90220
From: Jesse Rehmer
Date: Tue, 21 Mar 2023 03:48
28 lines
2810 bytes
On Mar 20, 2023 at 10:39:35 PM CDT, "Russ Allbery" <eagle@eyrie.org> wrote:

> Jesse Rehmer <jesse.rehmer@blueworldhosting.com> writes:
> 
>> I did take your advice, reverted to the original code, and increased the
>> base64 line count. Should have realized it was that simple in the first
>> place, but I wasn't sure if that 8 line reference was a standard or
>> arbitrary from back in the day.
> 
> I'm fairly sure it's just arbitrary.  Definitely not a formal standard.
> 
> My theory was that you can't pack a binary that would cause any real
> trouble into only 40 lines of base64.  I'm not 100% sure that's true
> depending on whether implementations allow very long lines, but meh, this
> stuff is all kind of fiddly anyway.
> 
> I suspect that Diablo code may be too old to detect yEnc, so you may still
> be getting binaries.  (I assume yEnc is still a thing people use; I am
> very out of touch with anything that's happening over in binary land.)

It's very good at detecting yEnc (still the most popular format).

Not sure how much I care about alt.anonymous.messages and similar groups, but
I see quite a few PGP messages that I accepted while running pyClean and
Cleanfeed in my spool that are >1,000 lines. Not sure how safe it would be to
modify the Diablo base64 filter to allow that many lines. I guess if I cared
about getting those messages (currently I do not) I could add a delgroupany
statements for those specific groups to the IFILTER feed label.
Technical Details
Message-ID: <tvb9en$2g78$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <tv8ale$2t9m$1@nnrp.usenet.blueworldhosting.com> <87a606yf4a.fsf@hope.eyrie.org> <tvb7hh$1b5o$1@nnrp.usenet.blueworldhosting.com> <87lejqwz60.fsf@hope.eyrie.org>

Show Full Headers
Complete Article Headers
Message-ID: <tvb9en$2g78$1@nnrp.usenet.blueworldhosting.com>
Subject: Re: Seeking help modifying Diablo source to prevent miscategorization of articles containing PGP
Date: Tue, 21 Mar 2023 03:48:39 +0000
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
References: <tv8ale$2t9m$1@nnrp.usenet.blueworldhosting.com> <87a606yf4a.fsf@hope.eyrie.org> <tvb7hh$1b5o$1@nnrp.usenet.blueworldhosting.com> <87lejqwz60.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 21 Mar 2023 03:48:39 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="82152"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:0G5V1XlYbuc8Vvl27cZgSF1w29w= sha256:n7jqyfFG0a3CQg8djEwrh2wKihoSuoMDnfH0+6Iz8os= sha1:w9+1wwA3x7ziM0GoVx4HPvIj8Pw= sha256:zXH3gZbM/+WV2fwxZT9QeDiNisyot7Y2qn0Lj+S1v7U=
X-Usenapp: v1.26.3/d - Full License
Lines: 27