🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87603

Re: New draft for Cancel-Lock

#87603
From: Julien ÉLIE
Date: Wed, 08 Mar 2017 21:47
239 lines
9363 bytes
Hi Michael,

First of all, thanks for your document and having taken time to write 
it.  Here is my review:


Questions or technical issues
-----------------------------

- Section 2:
code-string  = 1*base64-octet
base64-octet = ALPHA / DIGIT / "+" / "/" / "="

Shouldn't something like RFC 3977 specifies be used?

      base64 = *(4base64-char) [base64-terminal]
      base64-char = UPPER / LOWER / DIGIT / "+" / "/"
      base64-terminal = 2base64-char "==" / 3base64-char "="


- 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.  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


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


- Section 2.2:  same remark as above for the ABNF syntax of Cancel-Key.


- Section 3.2:  "No more than one <c-lock> element SHOULD be added by 
each agent that processes the proto-article."

What is the aim of that restriction?
I believe it does not cope with the following two use cases:
* (short) transition period when <sec> is changed;
* (long) transition period when the posting or injecting agent adds both 
a sha1 and a sha-256 signature for backward compatibility.


- Section 7 (or 4):  I suggest to encourage a regular change of <sec>. 
(And maybe to describe how it can be handled smoothly...  keeping the 
previous <sec> during a few weeks, and generating Cancel-Keys with the 
two <sec>s during that transitional period?)


- Section 8:
You'll have to update the Permanent Message Header Field Repository like 
Section 6 of RFC 5536 does.





Editorial nits or minor issues
------------------------------

- I believe the document does not update RFC 5536.  (For instance, RFC 
6857 defines new header fields without updating RFC 5322.  The same 
thing as NNTP extensions do not update RFC 3977.)
Regarding RFC 5537, it is not clear where the document really updates 
it.  If you want to update it, I think you should clearly states how the 
manipulation and interpretation of Netnews articles described in RFC 
5537 is updated (which sections, and how they are impacted).  Otherwise, 
I would just drop the mention of the update.


- Abstract (and also throughout the document):  "the removal or 
replacement of existing articles"
Should the terms "removal" and "replacement" be used?  Are they defined 
somewhere in RFC 5536 or 5537 with that sense?
Section 3.2.5 of RFC 5536 speaks of removal for the expiry process.
Section 5.4 of RFC 5537 says that the presence of a Supersedes header 
field requests a withdrawal.  I therefore think that cancelling and 
superseding are the common terms to use (or withdrawing).
If other people here have an opinion about the terms to use, do not 
hesitate to speak up.


- Section 1:  maybe reference Sections 5.3 and 5.4 of RFC 5537 either in 
parenthesis after "removes or replaces" or in a separate sentence to 
give the reader the reference for that process.


- Section 1:  I believe a reference to a document for "OpenPGP 
signature" would be useful.


- Section 1:  reference Section 5.2 of RFC 5537 for "control messages to 
add or remove newsgroups".


- Section 2:  scheme-char  = LOWER / DIGIT / "-"
Are you sure LOWER is properly defined?
It is not used in RFC 5536, and Section 3.1 of RFC 5322 explicitly 
reference RFC 5234... which does not seem to reference LOWER...
You can of course add:  "LOWER = %x61-7A ; lowercase characters [a-z]"


- Section 2:  I would add a mention that the syntax of these two new 
header fields follow the rules described in Section 2.2 of RFC 5536.


- Section 2 :  "This section describes the formal syntax of the new 
header fields using ABNF [RFC5234]"
As case-sensitivity is used, it should be "ABNF [RFC5234] and [RFC7405]".


- Section 2:  "This value is mandatory to implement"
"scheme" rather than "value"?  Missing dot at the end of the sentence.


- Section 2.1:  "before injection"
Or before relaying?  Injecting agents can add Cancel-Lock header fields.


- Section 2.2:  "The <code-string> in <c-key> is the Base64 encoded key 
that was used to create the Cancel-Lock header field as defined in 
Section 2.1 of the original article."
Rewording suggestion:  "the Cancel-Lock header field (as defined in 
Section 2.1 of this document) of the original article."


- Titles of Subsections 3.x and Section 4:  missing initial uppercase 
letters.


- Section 3.1:  "If the poster or posting agent doesn't add a 
Cancel-Lock header field to an article, then an injecting-agent"
"a proto-article" rather?  No dash in "injecting agent" (global remark).


- Section 3.1:  "The injecting- agent (or moderator) MUST NOT add this 
header to an article unless it is able to authenticate all remove or 
replace attempts from the poster and automatically add a working 
Cancel-Key header field for such articles."

Wording "authenticate all withdrawal attempts"?  (or "all cancelling or 
superseding attempts")


- Section 3.2:  maybe explain the use case of extending the Cancel-Lock 
header field.  For instance, a news administrator would wish to have the 
ability to cancel articles (for its abuse policy), even if the author 
uses the Cancel-Lock facility.


- Section 3.3:  "The Cancel-Key header field MAY be added"
"A Cancel-Key" instead of "The Cancel-Key"?  (like in Section 3.1)


- Section 3.3:  "(with "cancel" command as defined in [RFC5537])"
Suggestion to mention "in Section 5.3 of [RFC5537]".  And add "a" before 
"cancel", as you did in Section 3.4.


- Section 3.3:  "a <c-key> element that correspond to those article."
"corresponds to that article"


- Section 3.4:  "For the authentication check every supported"
Comma after "check".  (Maybe other sentences in the document would be 
more easily readable with commas.)


- Section 4:  "where HMAC is outlined in [RFC2104]. <sec>"
You can add one &nbsp; in the XML source after dot+space so as to have 
two spaces.


- Section 4:  "HMAC(mid+sec)"
Maybe say somewhere that <mid> is concatenated with <sec>? (sense of "+")


- Section 4:  "An agent that verifies a Cancel-Key simply check whether 
it matches one of the Cancel-Locks."
Wouldn't it be better like:
"An agent that verifies a Cancel-Key header field simply checks whether 
it matches one of the <c-lock> elements with the same <scheme> in the 
Cancel-Lock header field of the original article."


- Section 5:
Could you please add an example that follows the suggestion of Section 
4?  Take for instance <12345@example.com> as <mid> and a 32-byte long 
<sec>, compute HMAC, and then the related Cancel-Lock and Cancel-Key 
header fields.

Could you please also add an example of Cancel-Lock header field 
containing several entries?  (one sha1 and *two* sha-256 for instance)
You can of course re-use the previous examples of already computed values.

Hmm, also, an example of several entries in the Cancel-Key header field 
could be useful.


- Section 6:  there is only one obsolete scheme (sha1) but the paragraph 
is in plural ("the following values", etc.).


- Section 7:  "Finding two Cancel-Keys that matches an arbitary"
"match an arbitrary"


- Section 7:  you can remove the mention of MD5.


- Section 7:  "The reasons why this document specify" / "extremly 
slowly" / "by e.g.  OpenSSL"
"specifies" / "extremely" / superfluous space


- Appendix A:  I suggest to make draft-ietf-usefor-cancel-lock an 
informative reference (in Section 9.2).  This way, you could reference 
it easily here in Appendix A, and also in Section 7 for "the last draft".



Thanks Michael,

-- 
Julien ÉLIE

« Un petit pås pøur møi, un grånd bønd pøur l'humanité ! »
   (Kerøzen)

Technical Details
Message-ID: <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
References: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de>

Show Full Headers
Complete Article Headers
Message-ID: <o9pu2k$759$1@news.trigofacile.com>
Subject: Re: New draft for Cancel-Lock
Date: Wed, 8 Mar 2017 22:47:15 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <AABYvbRwKe8AABT3.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
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 8 Mar 2017 21:45:56 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb08012ff800bc3c5312efa56a22.ipv6.abo.wanadoo.fr:2a01:cb08:12f:f800:bc3c:5312:efa5:6a22";
 logging-data="7337"; 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.7.1
In-Reply-To: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de>
X-Received-Bytes: 9251
X-Received-Body-CRC: 305550993