Article View: news.software.nntp
Article #87623Re: New draft for Cancel-Lock (Key length)
From: Michael Bäuerle
Date: Sun, 12 Mar 2017 19:32
Date: Sun, 12 Mar 2017 19:32
55 lines
3645 bytes
3645 bytes
Richard Kettlewell wrote:
> Michael Bäuerle <michael.baeuerle@gmx.net> writes:
> > Richard Kettlewell wrote:
> > >
> > > 2. I think there should be a statement about the length of the key. One
> > > is already present in s4 for the master key, but similar considerations
> > > apply to the per-article keys.
> > >
> > > This statement should certainly apply to posting agents choosing cancel
> > > keys, but maybe also to serving agents. If you receive a 1-byte cancel
> > > key then you don’t have any real assurance that it’s from the originator
> > > of the article.
> > >
> > > Given the (comparatively) low value of forging a cancel, insisting on
> > > 256-bit keys (i.e. matching the output length of the hash function) may
> > > be overkill. For legacy use, with sha1, it may also have backwards
> > > compatibility problems. A 128-bit limit may be more appropriate?
> >
> > Not in Version 2 yet.
> > Please post your opinions related to key length to this subthread.
>
> I suggest that the recommendation on posting agents should be
> > =128 bit keys with SHA256, and >=80 bit keys with SHA1, on the basis
> that it’s common to use SHA256 in 128-bit ciphersuites and SHA1 in
> 80-bit ciphersuites; and that this should be a SHOULD not a MUST.
>
> On reflection I think there should be no firm restriction (in the draft)
> on what serving agents will accept.
>
> Underlying logic: if someone wants to make it easy to cancel their
> articles, they should be allowed to do that.
I agree that it should be specified separate for posting and serving
agents, with no restriction for serving agents.
Currently the words are:
|
| The local secret <sec> should have a length of at least the output
| size of the hash function that is used by HMAC (32 octets for SHA-
| 256). If the secret is not a random value, but e.g. some sort of
| human readable password, it should be much longer. In any case it is
| important that this secret can not be guessed.
Your values above are the "good enough" approach. I would prefer to not
delete the current words, that specify what is required to make full
use of the strength the hash function can provide.
What about using words for both ("good enough" and "more doesn't
add much additional strength")?
About SHOULD/MUST respectively:
Currently the words quoted above are in a section marked informative.
Such keywords are not allowed there.
@Julien: Can you confirm this?
Technical Details
Message-ID:
<AABYxaIxgbQAAAnT.A1.flnews@WStation7.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-mailReferences:
<AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <87o9xdnp0o.fsf@LkoBDZeT.terraraq.uk> <AABYxDEgWwQAAEqU.A1.flnews@WStation4.micha.freeshell.org> <8760jeac7r.fsf@LkoBDZeT.terraraq.uk>Show Full Headers
Complete Article Headers
Message-ID: <AABYxaIxgbQAAAnT.A1.flnews@WStation7.micha.freeshell.org> Subject: Re: New draft for Cancel-Lock (Key length) Date: Sun, 12 Mar 2017 20:32:01 +0100 From: Michael Bäuerle <michael.baeuerle@gmx.net> References: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <87o9xdnp0o.fsf@LkoBDZeT.terraraq.uk> <AABYxDEgWwQAAEqU.A1.flnews@WStation4.micha.freeshell.org> <8760jeac7r.fsf@LkoBDZeT.terraraq.uk> 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: 53 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net eJ2d1/2XwTiyoK5c5CSGqgt3+CA/ZFwS0w2tzLRXMN2muN5tNR X-Orig-Path: not-for-mail Cancel-Lock: sha1:CD8akvYX2QR+ZGp6AzsgP8Awtos= sha1:tP+mNJolHpkf/e2s+YvwsU8LtsU= Injection-Date: Sun, 12 Mar 2017 19:32:01 -0000 User-Agent: flnews/0.15pre7 (for GNU/Linux) X-Received-Bytes: 3456 X-Received-Body-CRC: 3137264793