Article View: news.software.nntp
Article #87600Re: New draft for Cancel-Lock
From: Michael Bäuerle
Date: Tue, 07 Mar 2017 22:44
Date: Tue, 07 Mar 2017 22:44
82 lines
4092 bytes
4092 bytes
Richard Kettlewell wrote:
> Michael Bäuerle <michael.baeuerle@stz-e.de> writes:
> >
> > [...]
> > Some points that should be discussed:
> >
> > - SHA2-256 was choosen to make things future-proof for decades
> > (for today SHA1 would be still good enough, but look at the date of
> > the former version of the draft).
> > Is SHA2-256 in general a good choice?
> > (it was chosen because SHA3 is very new and not supported by e.g.
> > OpenSSL yet).
>
> It seems to be a work in progress. However even when it’s in OpenSSL
> it’ll be some time before applications can adopt it. I think SHA256 is a
> perfectly good choice for today.
>
> > The name with hyphen ("sha-256") was chosen because there is already
> > an IANA registry with hash algorithm names using this format:
> > <http://www.iana.org/assignments/hash-function-text-names/>
> > Is this format a good idea or should we create (need we?) a new
> > separate registry with e.g. "sha256"?
>
> I think it’s better to re-use the existing registry.
I'm not sure if such sharing is allowed. Must be verified.
> > - Is the case-sensitivity and length limitation of <scheme> a good idea?
> > The intention was to make it possible to cut the lists into elements
> > and check every element with a single octet-based compare operation
> > (once support for the obsolete syntax is removed someday in the
> > future).
>
> The case sensitivity seems like a useful simplication. I’m not sure the
> length limit adds much - parsers must still cope with arbitrary lengths,
> even if only to reject them (i.e. instead of crashing).
Agreed. I mark it for remove in the next version.
> > - CFWS is still allowed between <c-lock> and <c-key> elements.
> > Maybe comments should be forbidden?
>
> I don’t see why a comment would be useful in these headers, so
> forbidding them seems sensible.
Maybe - if there are multiple elements - something like "(from
moderator)".
> > - Remove MD5 completely, even from the obsolete syntax definition?
> > (Looks like nobody use it anymore for this purpose)
>
> If nobody uses it then making it a SHOULD seems onerous. So I think it
> should be removed. At the very least it should be demoted to a MAY.
In <news:de.test> there are some statistics that confirm it is unused
(or at least has no relevant use):
<news:ei8jp8Fscn2U1@mid.individual.net>
<news:d64a59d2-889f-7973-24e6-7350f14f64a5@peter.faust-stockholm.user.spray.se>
I mark it for remove in the next version.
If somebody has data of relevant use in other groups: Please post
a comment.
> Other comments:
>
> 1. I suggest adding a more formalized description of the code-string
> values in sections 2.1 and 2.2. For instance:
>
> c-lock-code-string = base64(hash(base64(K)))
> c-key-code-string = base64(K)
Yes, that looks good. Will make it more clear how things work.
Noted for next version.
> [Key length considerations]
Let's wait for further opinions on this topic.
Thanks for your comments!
Technical Details
Message-ID:
<AABYvze1FxMAAAuF.A1.flnews@Server4.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-mailReferences:
<AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <87o9xdnp0o.fsf@LkoBDZeT.terraraq.uk>Show Full Headers
Complete Article Headers
Message-ID: <AABYvze1FxMAAAuF.A1.flnews@Server4.micha.freeshell.org> Subject: Re: New draft for Cancel-Lock Date: Tue, 7 Mar 2017 22:44:05 -0000 From: Michael Bäuerle <michael.baeuerle@gmx.net> References: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <87o9xdnp0o.fsf@LkoBDZeT.terraraq.uk> 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: 80 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net BFvsg2SS1rAvTBTulHw74wENqw+vZS8xE7FnwdcPJ3V2wRKgkJ X-Orig-Path: not-for-mail Cancel-Lock: sha1:C8XgwDLC/Vf6C3V5NuQJ7KLcA3k= Injection-Date: Tue, 7 Mar 2017 22:44:05 -0000 User-Agent: flnews/0.14 (for HP-UX) X-Received-Body-CRC: 1223495281 X-Received-Bytes: 4014