Article View: news.software.nntp
Article #90208Re: Seeking help modifying Diablo source to prevent miscategorization of articles containing PGP
From: Russ Allbery
Date: Tue, 21 Mar 2023 03:09
Date: Tue, 21 Mar 2023 03:09
26 lines
2255 bytes
2255 bytes
Jesse Rehmer <jesse.rehmer@blueworldhosting.com> writes:
> On Mar 20, 2023 at 8:05:58 PM CDT, "Russ Allbery" <eagle@eyrie.org> wrote:
>> Just FYI, by doing it this way you are allowing people to send you
>> arbitrarily large binaries (up to your article size limit) by just
>> adding a line starting with "-----BEGIN PGP " before the encoded
>> binary. This is likely why the code didn't short-circuit analysis of
>> the rest of the article in that case and still flagged messages as
>> binary if there were more than 8 lines of encoded text. (No PGP
>> *signature* should be that long.)
> Most PGP Signatures I'm seeing in NoCeM notices are 11 lines long. See
> <tvatqb$d4n$1@rasp.pasdenom.info> as just one example. These were being
> rejected before.
> My personal PGP Signature is > 8 lines as well.
Ah, yes, indeed, I'm wrong about how long the RSA signatures are (I assume
that's what that is; I didn't check) with a sufficiently large key. It
looks like, back in the day, I used a 40 line cutoff in my binary filter.
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87a606yf4a.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-mailReferences:
<tv8ale$2t9m$1@nnrp.usenet.blueworldhosting.com> <tva4p3$2b2p$1@nnrp.usenet.blueworldhosting.com> <tvapdi$2ade$1@nnrp.usenet.blueworldhosting.com> <87cz5252x5.fsf@hope.eyrie.org> <tvb2cf$1ckd$1@nnrp.usenet.blueworldhosting.com>Show Full Headers
Complete Article Headers
Message-ID: <87a606yf4a.fsf@hope.eyrie.org> Subject: Re: Seeking help modifying Diablo source to prevent miscategorization of articles containing PGP Date: Mon, 20 Mar 2023 20:09:41 -0700 From: Russ Allbery <eagle@eyrie.org> References: <tv8ale$2t9m$1@nnrp.usenet.blueworldhosting.com> <tva4p3$2b2p$1@nnrp.usenet.blueworldhosting.com> <tvapdi$2ade$1@nnrp.usenet.blueworldhosting.com> <87cz5252x5.fsf@hope.eyrie.org> <tvb2cf$1ckd$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 Newsgroups: news.software.nntp Organization: The Eyrie Mime-Version: 1.0 Content-Type: text/plain Injection-Info: hope.eyrie.org; logging-data="28135"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:lnSR9HDJ1Wyj5rWUAKw+7rx2d6U=