Thread View: news.software.readers
1 messages
1 total messages
Started by Michael Bäuerle
Mon, 06 Mar 2017 19:11
New draft for Cancel-Lock
Author: Michael Bäuerle
Date: Mon, 06 Mar 2017 19:11
Date: Mon, 06 Mar 2017 19:11
52 lines
3203 bytes
3203 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]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads