🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87598

New draft for Cancel-Lock

#87598
From: Michael Bäuerle
Date: Mon, 06 Mar 2017 19:11
52 lines
3279 bytes
Here is a first version of a new draft:
<https://tools.ietf.org/html/draft-baeuerle-netnews-cancel-lock-00>
that could update the (now nearly two decades old)
draft-ietf-usefor-cancel-lock-01 from Simon Lyall:
<https://tools.ietf.org/html/draft-ietf-usefor-cancel-lock-01>

Basically it replaces the hash algorithm with SHA2-256 and defines the
<scheme> element case-sensitive.

Thanks in advance for comments.


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

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

- CFWS is still allowed between <c-lock> and <c-key> elements.
  Maybe comments should be forbidden?

- Remove MD5 completely, even from the obsolete syntax definition?
  (Looks like nobody use it anymore for this purpose)

Note that the current syntax is marked obsolete, but still defined
unchanged ("sha1" without hyphen and case-insensitive) and that it
SHOULD still be accepted by serving agents (and MUST be parsed the
same way as long as the deprecated hash algorithms are supported).
It is not intended that existing client software need updates until SHA1
can do the job. SHA2 should prepare the path on the server side for
the day in the future when SHA1 can't be safely used anymore.


[Xpost to news.software.readers because it involves client and server
side. Fup2 set to news.software.nntp because the discussions of other
recent news related RFC drafts were located there]

Technical Details
Message-ID: <AABYvbRwKe8AABT3.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

Show Full Headers
Complete Article Headers
Message-ID: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de>
Subject: New draft for Cancel-Lock
Date: Mon, 6 Mar 2017 20:11:44 +0100
From: Michael Bäuerle <michael.baeuerle@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,news.software.readers
Followup-To: news.software.nntp
Lines: 50
Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
X-Trace: individual.net AWXU5bHSmquvBVo/3NL2+gl613WZdDCXx4NWflE28Dg/t/s1Az
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:sw9/HZ1wNU2oGeS/8VnIx+tFr64= sha1:Tcy21LYg/6F26zmf9McmIBVlTro=
Injection-Date: Mon, 6 Mar 2017 19:11:44 -0000
User-Agent: flnews/0.15pre7 (for NetBSD)
X-Received-Body-CRC: 307502959
X-Received-Bytes: 3141