🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87620

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

#87620
From: Michael Bäuerle
Date: Sat, 11 Mar 2017 16:53
78 lines
3915 bytes
Michael Bäuerle wrote:
> Julien ÉLIE wrote:
> > 
> > [Algorithm registry]
> > Note that there is also the "Hash Algorithms" registry there:
> >   https://www.iana.org/assignments/pgp-parameters/
> > 
> > The advantage of the above registry is that it defines "SHA1" and 
> > "SHA256".  The name is consistent with our existing "SHA1" for Netnews 
> > articles :)
> 
> But Cancel-Lock is totally unrelated to PGP.
> 
> > Anyway, I think I would vote for a separate registry for Netnews 
> > articles.  Maybe added to
> >   https://www.iana.org/assignments/nntp-parameters/
> > or another page if we want a "Netnews parameters" instead of "NNTP 
> > parameters".
> > The advantage of a separate registry is that we control the values we 
> > explicitly want to use, and add a comment or an intended usage (that 
> > can change to OBSOLETE when we decide to retire SHA1...).
> > 
> > Any opinion from other people here?
>  
> OK, let's use a separate registry.

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

But please do not take this as the final descision!
As Julien wrote: Other opinions are still welcome.
It's no problem to change this again in Version 3 if somebody presents
a good reason to do so.

> Hmm, adding it to nntp-parameters? Cancel-Locks are in general
> independent of the transport system (not related to NNTP).

I would vote for a new page, because this is not related to NNTP.

Same as above: Nothing is fixed. Other opinions are still welcome.

===============

Third point:
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

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

Please post opinions, new options or simply vote for one of the
three listed above.


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.


[Subject changed to tag the algorithm registry related subthread]

Technical Details
Message-ID: <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
References: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <o9pvj1$8t4$1@news.trigofacile.com> <AABYwsMXE4MAAAm9.A1.flnews@WStation5.stz-e.de>

Show Full Headers
Complete Article Headers
Message-ID: <AABYxCuWb80AAEqU.A1.flnews@WStation4.micha.freeshell.org>
Subject: New draft for Cancel-Lock (Algorithm registry) (was: New draft for Cancel-Lock)
Date: Sat, 11 Mar 2017 16:53:42 -0000
From: Michael Bäuerle <michael.baeuerle@gmx.net>
References: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <o9pvj1$8t4$1@news.trigofacile.com> <AABYwsMXE4MAAAm9.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
Lines: 76
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net KSdH+oTmxNd5RZgj+6khNgb0Lt2S7IKt5Czrjtw4FwDaDe0D81
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:K1Z2Mon4amTKJ0P15kFRwFYyAsw= sha1:CVON7okC4iG9vmhZIiKjErEoNr8=
Injection-Date: Sat, 11 Mar 2017 16:53:42 -0000
User-Agent: flnews/0.14 (for AIX)
X-Received-Body-CRC: 590217084
X-Received-Bytes: 3806