🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87614

Re: New draft for Cancel-Lock

#87614
From: Michael Bäuerle
Date: Fri, 10 Mar 2017 12:58
38 lines
2392 bytes
Julien ÉLIE wrote:
> 
> [...]
> - Section 2.1:
> Currently:
>       cancel-lock  = "Cancel-Lock:" SP c-lock *(CFWS c-lock) [CFWS]
>       c-lock       = scheme ":" code-string
> 
> Hmm...  CRLF is missing at the end.

Will be corrected in version 2.

> And I think whitespace should be allowed.
> What do you think of:
> 
>       cancel-lock  = "Cancel-Lock:" SP c-lock-list CRLF
>       c-lock-list  = *WSP c-lock *( FWS c-lock ) *WSP
>       c-lock       = scheme ":" code-string

Because you voted against preserving the old syntax in Section 6,
I have backward compatibility concerns if we remove CFWS.
But the comments look like a less important detail and I propose to push
this issue back to the tail of the queue and discuss it later.

> - Section 2.1:
> Couldn't <code-string> be wrapped?  Will it always contain in one line? 
> (998 octets maximum)

I think yes, or do I overlook something?
With SHA2 such overlong <code-string>s cannot occur for the locks (and
IMHO don't make much sense for the keys - if they are not created with
e.g. HMAC-SHA2, otherwise they cannot occur too, even with
HMAC-SHA2-512).

But it is important to not remove the folding option between the
<c-lock>s and <c-key>s, because their number is not limited.

Technical Details
Message-ID: <AABYwqMRE38AAAm9.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.nntp.(19219).mbox.7z!not-for-mail
References: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <o9pu2k$759$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <AABYwqMRE38AAAm9.A1.flnews@WStation5.stz-e.de>
Subject: Re: New draft for Cancel-Lock
Date: Fri, 10 Mar 2017 13:58:57 +0100
From: Michael Bäuerle <michael.baeuerle@stz-e.de>
References: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <o9pu2k$759$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Lines: 36
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 t3lAvZJTGVOl2zKiDrTnSwz2rn1hW/Az2V29hhEpoJgIeWQpW4
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:Xl0t/+12KHJxwTQRCopCMkiBg/A= sha1:QO6srLmTe5a9EpJzlmLL98u3BYk=
Injection-Date: Fri, 10 Mar 2017 12:58:57 -0000
User-Agent: flnews/0.15pre8 (for NetBSD)
X-Received-Body-CRC: 360318268
X-Received-Bytes: 2283