🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87675

Re: New draft for Cancel-Lock (Algorithm registry)

#87675
From: Michael Bäuerle
Date: Mon, 27 Mar 2017 17:30
99 lines
4629 bytes
Julien ÉLIE wrote:
> 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".

Fixed in Version 3.
 
> > 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).

Words currently in Version 3:
| 
| [...] is not considered unsafe (see Section 7 for details), or already
| marked as OBSOLETE in the Netnews Cancel-Lock hash algorithm registry
| (Section 8.1)

I have used "or already marked" instead of "therefore marked" to
indicate that own evaluation should be done too (not simply follow the
registry updates - that may be delayed due to lack of manpower in the
future).

> 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

Fixed in Version 3.
 
> > 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.

Option b) is now used in Version 3.

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

Case sensitivity now removed again from Version 3 (scheme case-
insensitive as in Simons draft).

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

Added to Version 3.

> Incidentally, is there a reason to prefer sha256 over sha512 as the 
> mandatory algorithm hash?
> Couldn't both sha256 and sha512 be registered?

Version 3 now defines both algorithms, but "sha256" still as the
mandatory one ("sha512" as mandatory looks like overkill).

Other opinions to this topic?

Technical Details
Message-ID: <AABY2UwxEucAAAlu.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
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> <oahjrt$t29$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <AABY2UwxEucAAAlu.A1.flnews@WStation5.stz-e.de>
Subject: Re: New draft for Cancel-Lock (Algorithm registry)
Date: Mon, 27 Mar 2017 19:30:25 +0200
From: Michael Bäuerle <michael.baeuerle@stz-e.de>
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> <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-mail
Newsgroups: news.software.nntp
Lines: 97
Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net umxttvj3orY9Sh29gd/pFAoiOUu4Wk5bpe13xe3J4ky70xJVdT
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:gcPd3Q9u7iluOMzgahjGl3ikYsw= sha1:k6vL8mqD+w14VxzDr9Ti0FOEf58=
Injection-Date: Mon, 27 Mar 2017 17:30:25 -0000
User-Agent: flnews/0.15pre8 (for NetBSD)
X-Received-Body-CRC: 3469702983
X-Received-Bytes: 4520