🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #261349

Re: [tin] .cancelsecret anc cancel-locks

#261349
From: Michael Bäuerle
Date: Mon, 28 Nov 2016 11:24
37 lines
2844 bytes
alb wrote:
> 
> [...]
> I've started using tin as my default newsreader and when posting a message I see
> a warning concerning ~/.cancelsecret file not found (or something similar, the
> warning lasts for a short time).
> 
> I haven't found much except for the manual which points to the cancel-locks,
> which again is something else I've not understood.
> 
> Can someone cast some light on those concepts?

There is currently no standard for Cancel-Locks. They have been used for
over a decade like defined in this draft from Simon Lyall:
<https://tools.ietf.org/html/draft-ietf-usefor-cancel-lock-01>
I'm currently working on an update of this draft, but it's not released
yet.

General summary:
The Cancel-Lock/Cancel-Key scheme provides a method to authenticate
the author (or an agent on the way to network injection of an article).
Knowledge of the secret used for creation of the Cancel-Lock is required
to be able to create a matching Cancel-Key.
If a server require valid Cancel-Lock/Cancel-Key pairs for Cancel and
Supersede operations, it can prevent abuse (forbid delete or modify
operations on other peoples articles).

The message you get from tin says that you have not configured the
secret yet, and therefore tin can not create Cancel-Locks/Cancel-Keys.
Most servers will ignore Cancel and Supersede requests without them.

Supersede:
You are posting via Individual.net and they add Cancel-Locks/Cancel-Keys
to your messages automatically. Letting tin create them too is therefore
not required if you always use only this server, but it doesn't harm (an
article is allowed have multiple Cancel-Locks, it is sufficient for a
Cancel-Key to match one of them).
Technical Details
Message-ID: <AABYPBPqE7QAAAnY.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!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <ea0iiqFn5joU2@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <AABYPBPqE7QAAAnY.A1.flnews@WStation5.stz-e.de>
Subject: Re: [tin] .cancelsecret anc cancel-locks
Date: Mon, 28 Nov 2016 12:24:26 +0100
From: Michael Bäuerle <michael.baeuerle@stz-e.de>
References: <ea0iiqFn5joU2@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Supersedes: <AABYPA74E7EAAAnY.A1.flnews@WStation5.stz-e.de>
Lines: 37
Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
X-Trace: individual.net WLm5n2ahl1Wr5HI+b4xm4QVDNw8m+iFiapAPn3AkdzrLdHlGeu
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:96eGrOkCdhBcmB8NKjwFHarZO6k= sha1:tUP0oiDOFwjjPw62AvaV1GEdCzM=
Cancel-Key: sha1:v+ebh22a99aDWUbtdko6rekubqM= sha1:/2qhetTYCOW2EzYUNMDs4mFPMko=
Injection-Date: Mon, 28 Nov 2016 11:24:26 -0000
User-Agent: flnews/0.14pre58 (for NetBSD)
X-Received-Body-CRC: 2480403502
X-Received-Bytes: 2731