🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87635

Re: New draft for Cancel-Lock (Comments in CFWS)

#87635
From: Julien ÉLIE
Date: Fri, 17 Mar 2017 15:56
67 lines
3840 bytes
Hi Michael,

> the current syntax would also allow this (semantically equivalent):
>
> Cancel-Lock: sha-256:s/pmK/3grrz++29ce2/mQydzJuc7iqHn1nqcJiQTPMc=
>   (created by poster)
>   sha-256:RrKLp7YCQc9T8HmgSbxwIDlnCDWsgy1awqtiDuhedRo= (
>   sha-256:really?)
>   sha1:bNXHc6ohSmeHaRHHW56BIWZJt+4= (created by injecting agent
>   (for backward compatibility (but nested comments are ugly to parse)))
>   (and comments in general are ugly to parse, e.g. because of
>   "quoted-pair"s like \\\))
>
> I fully agree with Julien, that it would be good to forbid such things.
> The article format is already ugly enough.

Sure.



> Arguments to forbid comments:
> - Easier to parse
> - Comments are not widely used
> - If articles with "Cancel-Key" header field really must be buffered
>   (because the target article has not arrived yet), there is the
>   possibility that such fields are parsed several times (for every
>   accepted article in worst case for a bad implementation).
>   => Easier to parse is faster to parse and consumes less ressources.
> - The document from Simon was only a draft, never a standard
>
> Argument to preserve comments:
> - Backward compatibility
>   As noted in my other article I received many comments from the german
>   hierarchy that backward compatibility should be considered as very
>   important. Therefore we should think twice before removing something
>   that was allowed in the past.
>
> I see no way to solve the backward compatibility problem without
> defining the current syntax as mandatory for the old SHA1 scheme in
> Section 6.

Are there really Cancel-Lock implementations currently sending comments?
I doubt such implementations exist (and therefore comments are manual 
edits of the header field).

So either you could say something like RFC 5536 writes for the 
References header field:

    o  Comments in CFWS between message identifiers can cause
       interoperability problems, so comments SHOULD NOT be generated but
       MUST be accepted.

or use FWS instead of CFWS in the ABNF syntax :)

I would of course vote for FWS if I'm asked.  But I'm also fine with 
your wish to keep the legacy grammar.

However, I prefer that the choice be consistent for all the schemes, and 
not sha1-specific.

-- 
Julien ÉLIE

« Pas besoin d'un grand dessin pour comprendre que les recettes du
   druide sont mal digérées par les Romains ! » (Astérix)

Technical Details
Message-ID: <oah0so$85b$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
References: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <o9pu2k$759$1@news.trigofacile.com> <AABYwvMiE4UAAAm9.A1.flnews@WStation5.stz-e.de> <AABYw+PX0vUAAEqU.A1.flnews@WStation4.micha.freeshell.org>

Show Full Headers
Complete Article Headers
Message-ID: <oah0so$85b$1@news.trigofacile.com>
Subject: Re: New draft for Cancel-Lock (Comments in CFWS)
Date: Fri, 17 Mar 2017 16:56:20 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <o9pu2k$759$1@news.trigofacile.com> <AABYwvMiE4UAAAm9.A1.flnews@WStation5.stz-e.de> <AABYw+PX0vUAAEqU.A1.flnews@WStation4.micha.freeshell.org>
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
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 17 Mar 2017 15:55:04 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb08012ff800296e7881dcc860c6.ipv6.abo.wanadoo.fr:2a01:cb08:12f:f800:296e:7881:dcc8:60c6";
 logging-data="8363"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0)
 Gecko/20100101 Thunderbird/45.8.0
In-Reply-To: <AABYw+PX0vUAAEqU.A1.flnews@WStation4.micha.freeshell.org>
X-Received-Body-CRC: 2776519813