🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88611

Re: RFC 8315 perl hooks for Inn

#88611
From: Michael Bäuerle
Date: Mon, 08 Feb 2021 10:33
34 lines
2816 bytes
Gérald Niel wrote:
> Julien ÉLIE wrote:
> > 
> > When this feature will be natively integrated into INN, it will be even 
> > easier.  
> 
> Theres is the libcanlock that could be used. 
> Not avaialable yet on FreeBSD ports, but available on Linux Debian
> based  : https://micha.freeshell.org/libcanlock/

There is a NetBSD (pkgsrc) package available too:
<https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/news/libcanlock/README.html>

> Unfortunatly the v3 doesn't works yet with slrn (on client side).

libcanlock V3 can be configured to emulate the V2 API (with the option
"--enable-legacy-api", which is used by default). This is sufficient
for slrn, but the V2 API has no support for SHA2.

There are patches for slrn to use the V3 API:
<https://micha.freeshell.org/libcanlock/#patches>
The hash algorithm can then be configured via "canlock_algo".
Quoted from the patched manual:
| 
| 6.7.1.  canlock_algo
| 
| Type: string
| Default: "SHA256"
| 
| If slrn is configured to put cancel-locks into the articles you post,
| then this variable is used to select the hash algorithm for <scheme>
| and HMAC (used as recommended in Section 4 of RFC 8315).
| 
| The default value is the mandatory hash algorithm defined by RFC 8315.
Technical Details
Message-ID: <AABgIRNoBmwAAAMz.A1.flnews@WStation5.stz-e.de>
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>

Show Full Headers
Complete Article Headers
Message-ID: <AABgIRNoBmwAAAMz.A1.flnews@WStation5.stz-e.de>
Subject: Re: RFC 8315 perl hooks for Inn
Date: Mon, 08 Feb 2021 10:33:12 +0000
From: Michael Bäuerle <michael.baeuerle@stz-e.de>
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>
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: 34
Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net RYp3NEpK95kXnvzXaGUE9QUnyQqQijTam4SAGujMXEjzC017Q3
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:kdlpjTlj2NPd2DsSKK6yKhfapvQ= sha256:nPapbOs7mZB2wVnVXanVmbTh3p5xIOhfSNOwUBWQDpc= sha1:7gMcYRKO7NazoZRm0tgIoauJLAc=
Injection-Date: Mon, 8 Feb 2021 10:33:12 -0000
User-Agent: flnews/1.0pre23 (for NetBSD)