🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87636

Re: New draft for Cancel-Lock

#87636
From: Julien ÉLIE
Date: Fri, 17 Mar 2017 15:19
74 lines
3581 bytes
Hi Michael,

>> Maybe K could be used in Section 4 as K = HMAC(mid+sec) if you want.
>
> Done.
>
> Or was your intention to move all the explaining stuff (that uses "K")
> as informational to Section 4 and leave only the pure formal definitions
> in Section 2?

I have no objection to the wording of -02 (in Sections 2 and 4) related 
to "K".  Thanks for it.



>> I would then suggest:
>>
>>   c-lock          = scheme ":" c-lock-string
>>   c-lock-string   = *(4base64-char) [base64-terminal]
>>   base64-char     = ALPHA / DIGIT / "+" / "/"
>>   base64-terminal = 2base64-char "==" / 3base64-char "="
>>
>>
>>   c-key         = scheme ":" c-key-string
>>   c-key-string  = 1*base64-octet
>>   base64-octet  = ALPHA / DIGIT / "+" / "/" / "="
>>
>>
>> It is consistent with both Simon's draft and yours.
>
> Looks like a good compromise to me.

Just a typo in -02 (c-lock instead of c-key) here:
   c-key-list   = c-lock *(CFWS c-lock) [CFWS]


I'm just wondering whether

       c-key-string = 1*base64-octet
       base64-octet = ALPHA / DIGIT / "+" / "/" / "="

or

       c-key-string     = c-lock-string / obs-c-key-string
       obs-c-key-string = 1*base64-octet
       base64-octet     = ALPHA / DIGIT / "+" / "/" / "="

is the better way to render the ABNF syntax, with regards to the 
comments in Section 2.2 about the relaxed syntax.

I would slightly reword:

    The relaxed syntax definition of <c-key-string> above is required for
    backward compatibility.  New implementations always SHOULD generate
    valid Base64.

to:

    The relaxed syntax definition of <c-key-string> above is required for
    backward compatibility with implementations that are not compliant
    with this specification.  Compliant implementations SHOULD generate
    valid Base64 (that is to say the syntax of <c-lock-string>) and
    MUST accept strings of base64-octets (that is to say the syntax of
    <obs-c-key-string>).

Feel free to reword; it is only a suggestion.

-- 
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: <oagump$5qa$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> <AABYwYYoBNgAAAJq.A1.flnews@WStation5.stz-e.de> <o9sf8o$35n$1@news.trigofacile.com> <AABYwpgPE30AAAm9.A1.flnews@WStation5.stz-e.de>

Show Full Headers
Complete Article Headers
Message-ID: <oagump$5qa$1@news.trigofacile.com>
Subject: Re: New draft for Cancel-Lock
Date: Fri, 17 Mar 2017 16:19:07 +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> <AABYwYYoBNgAAAJq.A1.flnews@WStation5.stz-e.de> <o9sf8o$35n$1@news.trigofacile.com> <AABYwpgPE30AAAm9.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=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 17 Mar 2017 15:17:45 -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="5962"; 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: <AABYwpgPE30AAAm9.A1.flnews@WStation5.stz-e.de>
X-Received-Body-CRC: 3732334000
X-Received-Bytes: 3593