🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes.announce
Article #502

Proper type handling for NoCeM

#502
From: Retro Guy
Date: Mon, 08 Apr 2024 13:06
12 lines
1866 bytes
I have pushed two commits today regarding nocem.

One is for the tool (in tools) to generate nocem, which now has a config variable for they 'type'. Previously, you would have needed to edit the code.

The other is for applying nocem in rslight. While rslight already supported nocem, it did not read the 'type', and would apply any nocem as long as the signature passed (so you had imported the key).

Now it checks the issuer and type before applying (you still need the public key, of course). The config file (nocem.conf) is very similar to the inn nocem config file. An example copy is provided.

I've tried to test this as best I can, but if you find bugs, please let me know.

-- 
Retro Guy
Technical Details
Message-ID: <c882b316696925fae110772f91c1de47@www.rocksolidbbs.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!news.usenet.farm!..!..!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <c882b316696925fae110772f91c1de47@www.rocksolidbbs.com>
Subject: Proper type handling for NoCeM
Date: Mon, 8 Apr 2024 13:06:18 +0000
From: Retro Guy <retroguy@novabbs.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: rocksolid.nodes.announce
Organization: RetroBBS
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
 logging-data="500515"; mail-complaints-to="usenet@i2pn2.org";
 posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$LBLjU9GVbqODalw6DdMAgO9DxJ4aAord.0Ln.CylbZJ4k/yX2oKAK
X-Rslight-Posting-User: 470b25edab282a455f83b37c76e8728963cc19ae
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
 ?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
 H0=hZt'[%)4kG|