🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87625

Re: New draft for Cancel-Lock (Key length)

#87625
From: Richard Kettlewell
Date: Sun, 12 Mar 2017 19:40
52 lines
3676 bytes
Michael Bäuerle <michael.baeuerle@gmx.net> writes:

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

I’m talking about the size of the cancel keys. Those words are about how
cancel keys are produced, and does not discuss what size they are.

-- 
http://www.greenend.org.uk/rjk/

Technical Details
Message-ID: <87zigq8esh.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
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> <AABYxaIxgbQAAAnT.A1.flnews@WStation7.micha.freeshell.org>

Show Full Headers
Complete Article Headers
Message-ID: <87zigq8esh.fsf@LkoBDZeT.terraraq.uk>
Subject: Re: New draft for Cancel-Lock (Key length)
Date: Sun, 12 Mar 2017 19:40:14 +0000
From: Richard Kettlewell <invalid@invalid.invalid>
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> <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-mail
Newsgroups: news.software.nntp
Organization: terraraq NNTP server
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: mantic.terraraq.uk; posting-host="mantic.terraraq.uk:46.235.226.39";
 logging-data="13274"; mail-complaints-to="news@terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
  F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
  +r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
Cancel-Lock: sha1:2RuvZ05shWr5kIDxzTWdQqeCcrM=
X-Received-Bytes: 3574
X-Received-Body-CRC: 3434866372