Article View: news.software.nntp
Article #87638Re: New draft for Cancel-Lock (Algorithm registry)
From: Julien ÉLIE
Date: Fri, 17 Mar 2017 21:20
Date: Fri, 17 Mar 2017 21:20
80 lines
3951 bytes
3951 bytes
Hi Michael,
In Section 5, you speak of "Calculation of Base64(K)" and
"Base64(SHA256(Base64(K)))". You should then use "Base64" in first
uppercase letter in Sections 2.1 and 2.2.
Typo "canceling" -> "cancelling".
> I have included it like this in Version 2 to show how it would look
> like. I agree with Julien that the advantage of being able to obsolete
> SHA1 in the future without rewriting the text would really be "nice to
> have".
In Section 6, you could even mention that:
Serving agents
SHOULD still accept it for a transition period as long as the
corresponding hash function is not considered unsafe, and therefore
marked as OBSOLETE in the Netnews Cancel-Lock hash algorithm
registry (Section 8.x of this document).
In Section 8.2:
Netnews hash algorithm name: sha1
-> Netnews Cancel-Lock hash algorithm name: sha1
Contact for further information: Authors of this document
-> Author in singular
> I would vote for a new page, because this is not related to NNTP.
I agree.
> If we eventually should decide to create a new registry (instead using
> an existing one) then we can choose names freely. As Julien noted "sha1"
> must stay for backward compatibility and "sha256" would look more
> similar than "sha-256".
>
> Three possible options:
> a) sha1 / sha-256
> b) sha1 / sha256
> c) sha1 / sha2-256
>
> My personal opinion:
> Option b) looks best (my preference)
> Option c) is long, but would be consistent with SHA3 (e.g. SHA3-256)
> Option a) is worst
Option b) also for me.
I assume we'll then have sha3-256.
> And there is the option to define all that in uppercase.
> I would vote for lowercase, because this is dominant in existing
> implementations. Other variants may create backward compatibility
> issues (or it is at least more likely that this happens).
Works for me.
> PS: Looks like I have forgotten a dash:
> Version 2 of the draft is inconsistent and use a) in ABNF and b)
> in the proposed new registry entry. Must be changed in any case.
No need to add "/" to the available chars for schemes?
I see that "SHA-512/224" exists (which would be "sha512/224" for our
registry) but maybe it is useless, and "sha512" will be used.
Incidentally, is there a reason to prefer sha256 over sha512 as the
mandatory algorithm hash?
Couldn't both sha256 and sha512 be registered?
--
Julien ÉLIE
« La femme ne voit jamais ce que l'on fait pour elle ; elle ne voit
que ce que l'on ne fait pas. » (Georges Courteline)
Technical Details
Message-ID:
<oahjrt$t29$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-mailReferences:
<AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <o9pvj1$8t4$1@news.trigofacile.com> <AABYwsMXE4MAAAm9.A1.flnews@WStation5.stz-e.de> <AABYxCuWb80AAEqU.A1.flnews@WStation4.micha.freeshell.org>Show Full Headers
Complete Article Headers
Message-ID: <oahjrt$t29$1@news.trigofacile.com> Subject: Re: New draft for Cancel-Lock (Algorithm registry) Date: Fri, 17 Mar 2017 22:20:15 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <o9pvj1$8t4$1@news.trigofacile.com> <AABYwsMXE4MAAAm9.A1.flnews@WStation5.stz-e.de> <AABYxCuWb80AAEqU.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 21:18:53 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb08012ff800413f546242aa4cd1.ipv6.abo.wanadoo.fr:2a01:cb08:12f:f800:413f:5462:42aa:4cd1"; logging-data="29769"; 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: <AABYxCuWb80AAEqU.A1.flnews@WStation4.micha.freeshell.org> X-Received-Body-CRC: 3844737498