🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #336548

Re: n2usenet - pseudonymous identity + anti-impersonation for Usenet posts

#336548
From: Gabx
Date: Mon, 03 Aug 2026 15:20
28 lines
3272 bytes
Just shipped a small but overdue fix to n2usenet.

Until now, messages composed through the web form were sent exactly as
typed, with no reflow. Fine on a modern wide screen, but it ignores the
old Usenet convention (RFC 1855, Netiquette Guidelines) of wrapping
plain-text body lines at roughly 65-70 columns, for compatibility with
classic terminal-based newsreaders (slrn, tin, trn, and similar). It was
overdue, so today I fixed it.

The change lives entirely client-side, in a new wrapUsenetText()
function that runs in the browser right before the message is signed:

- Greedy word-wrap at 72 columns.
- Blank lines and lines already starting with '>' (quotes) are left
untouched.
- It runs *before* the Ed25519 signature is computed, not after, so the
signature covers exactly the wrapped bytes that end up posted to the
group. Wrapping server-side, after verification, would have silently
broken signature checks for anyone verifying it against the posted
body.

Ok?

Gabx

--- Digital Signature ---
X1SCGAkKMVznyAgrOCqcJeNDNPzRA6Cc4T09wdH6R2GVtMxDjy50t/iCi9ULgxTHm1tp9wXKg3HKLCnOgYGPBA==
Technical Details
Message-ID: <1785770385.40F585368B9127D8@domain.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news-fra.pugleaf.net!news.tcpreset.net!.POSTED!not-for-mail
References: <1785761701.707DB07D2E19ADDE@domain.invalid>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news-fra.pugleaf.net!news.tcpreset.net!.POSTED!not-for-mail
From: Gabx <victor@virebent.invalid>
Newsgroups: alt.privacy.anon-server
Subject: Re: n2usenet - pseudonymous identity + anti-impersonation for Usenet posts
Date: Mon, 03 Aug 2026 15:20:16 +0000
Organization: Victor Usenet Postings
Message-ID: <1785770385.40F585368B9127D8@domain.invalid>
References: <1785761701.707DB07D2E19ADDE@domain.invalid>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: news.tcpreset.net;
	logging-data="633238"; mail-complaints-to="abuse@tcpreset.net"
User-Agent: n2usenet-https-nym/0.1
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAADFBMVEUAAAAAv5P/VQAAAADwKHRLAAAABHRSTlMA//8Ani+vBQAAADhJREFUeNpi+I8E6Mi5Ghpa/zc0NJw6nP9/Q0NDQ+v/U4dDXbdRmRO2av+/VVOpxKF/1AMCAAD//6gR0jzkTw1rAAAAAElFTkSuQmCC
X-Spamd-Result: default: False [1.20 / 150.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[virebent.invalid]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RBL_NIXSPAM_FAIL(0.00)[158.69.194.94:server fail]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[victor@virebent.invalid,n2usenet@n2usenet.virebent.art]; RCVD_COUNT_ZERO(0.00)[0]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:158.69.0.0/16, country:FR]; FROM_NEQ_ENVFROM(0.00)[victor@virebent.invalid,n2usenet@n2usenet.virebent.art]
X-Rspamd-Server: news.tcpreset.net
X-Ed25519-Sig: X1SCGAkKMVznyAgrOCqcJeNDNPzRA6Cc4T09wdH6R2GVtMxDjy50t/iCi9ULgxTHm1tp9wXKg3HKLCnOgYGPBA==
X-Gateway-Info: mail2news
X-No-Archive: yes
Received-Spf: None (mailfrom) identity=mailfrom; client-ip=158.69.194.94; helo=n2usenet.virebent.art; envelope-from=n2usenet@n2usenet.virebent.art; receiver=<UNKNOWN>
X-Ed25519-Pub: WAErvcSjItahAHMUuOc7dShKNOfQ7uM3j1Vfe6dy18M=
X-Rspamd-Queue-Id: 9F08D47A01
In-Reply-To: <1785761701.707DB07D2E19ADDE@domain.invalid>