🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88622

Re: RFC 8315 perl hooks for Inn

#88622
From: Michael Bäuerle
Date: Thu, 11 Feb 2021 21:29
22 lines
2501 bytes
Gérald Niel wrote:
> Michael Bäuerle écrivait sur news.software.nntp :
> > 
> > AFAIK the Perl based server implementations do not create MD5 based
> > locks/keys too.
> 
> Yes right, I've adapted the code to use sha256 instead of sha1 for the
> Cancel-Lock/Key as the RFC8315 specification.
> 
> But in cleanfeed.local it take care about sha256, sha1 or md5 for the
> verification.
> I've only added the sha256, sha1 and md5 verifications was already in
> the original code.

Capability to verify SHA512 would be nice to have too.
It is registered with "COMMON" for "Intended Usage":
<https://www.iana.org/assignments/netnews-parameters/netnews-parameters.xhtml#cancel-lock-hash-algorithms>

> I use libcanlock with slrn on linux (Debian buster) and it use sha1.

This is the expected behaviour without patches (via the V2 API emulation
of libcanlock).
Technical Details
Message-ID: <AABgJaGyib0AAAuY.A1.flnews@Server4.micha.freeshell.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
References: <i6fq61Fa3dbU1@mid.individual.net> <rueg47$og$2@neodome.net> <ruenj0$dsl$1@dont-email.me> <ruf1ah$1vtp$1@neodome.net> <rufd7o$6ud$1@dont-email.me> <slrns0nh0v.hh9.gerald.niel+spam@news.gegeweb.org> <AABgDBR4nnEAAAQH.A1.flnews@Server4.micha.freeshell.org> <slrns0qcf0.3c0.gerald.niel+spam@news.gegeweb.org> <rujevf$7hs$1@pasdenom.info> <slrns0qgep.47g.gerald.niel+spam@news.gegeweb.org> <ruk3dr$2hf$1@news.trigofacile.com> <slrns0vtnm.nbf.gerald.niel+spam@news.gegeweb.org> <ruov85$a2f$1@news.trigofacile.com> <slrns21rbm.1jhv.gerald.niel+spam@home.niel.me> <rvsbd0$85q$1@news.trigofacile.com> <slrns24g0n.9n7.gerald.niel+spam@home.niel.me> <AABgI/VzBZMAAALJ.A1.flnews@WStation5.stz-e.de> <slrns289er.10u4.gerald.niel+spam@home.niel.me>

Show Full Headers
Complete Article Headers
Message-ID: <AABgJaGyib0AAAuY.A1.flnews@Server4.micha.freeshell.org>
Subject: Re: RFC 8315 perl hooks for Inn
Date: Thu, 11 Feb 2021 21:29:22 -0000
From: Michael Bäuerle <michael.baeuerle@gmx.net>
References: <i6fq61Fa3dbU1@mid.individual.net> <rueg47$og$2@neodome.net> <ruenj0$dsl$1@dont-email.me> <ruf1ah$1vtp$1@neodome.net> <rufd7o$6ud$1@dont-email.me> <slrns0nh0v.hh9.gerald.niel+spam@news.gegeweb.org> <AABgDBR4nnEAAAQH.A1.flnews@Server4.micha.freeshell.org> <slrns0qcf0.3c0.gerald.niel+spam@news.gegeweb.org> <rujevf$7hs$1@pasdenom.info> <slrns0qgep.47g.gerald.niel+spam@news.gegeweb.org> <ruk3dr$2hf$1@news.trigofacile.com> <slrns0vtnm.nbf.gerald.niel+spam@news.gegeweb.org> <ruov85$a2f$1@news.trigofacile.com> <slrns21rbm.1jhv.gerald.niel+spam@home.niel.me> <rvsbd0$85q$1@news.trigofacile.com> <slrns24g0n.9n7.gerald.niel+spam@home.niel.me> <AABgI/VzBZMAAALJ.A1.flnews@WStation5.stz-e.de> <slrns289er.10u4.gerald.niel+spam@home.niel.me>
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
Lines: 22
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net fnQVclvMEXXTCrisv4WFqAQPkkg3qTM9HzCMZU3n9n5XO+RfZN
X-Orig-Path: not-for-mail
Cancel-Lock: sha256:GCLu9fH4SEkm4vG5bQONr0BiP6Xc2tF/KKm+slvBAm4= sha1:HMWkoFdxvniWRnPB4Ii/+vRzrkw=
Injection-Date: Thu, 11 Feb 2021 21:29:22 -0000
User-Agent: flnews/0.18 (for HP-UX)