🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87695

Re: New draft for Cancel-Lock (Calculating the key data)

#87695
From: Michael Bäuerle
Date: Mon, 10 Apr 2017 16:01
26 lines
2137 bytes
Julien ÉLIE wrote:
> Michael Bäuerle wrote:
> > 
> > Version 3 now contain the following calculation:
> > |
> > | K = HMAC(uid+mid, sec)
> > 
> > I have used <uid> instead of <login> because this looks more similar to
> > <mid> (both are "id"entifiers).
> > 
> > I have used concatenation with <mid> instead of <sec>, so that the local
> > secret <sec> is still directly feeded as key into HMAC.
> > In addition <uid> may be easily predictable, if it is e.g. the name of
> > the user.
> > Otherwise the length considerations below in the same section may be
> > confusing.
> 
> I agree.
> I also see that you indicated that fact in a question for the security 
> review.  That's great.

In Version 4 I have split up section 5 to make it easier to read and
added an example with nonempty <uid> (suggested by Marcel Logen):
<https://tools.ietf.org/html/draft-baeuerle-netnews-cancel-lock-04>

Technical Details
Message-ID: <AABY66xmeVkAADyr.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
References: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <oajhv3$31l$1@news.trigofacile.com> <AABY2TgsEuAAAAlu.A1.flnews@WStation5.stz-e.de> <obo94k$qbb$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <AABY66xmeVkAADyr.A1.flnews@WStation5.stz-e.de>
Subject: Re: New draft for Cancel-Lock (Calculating the key data)
Date: Mon, 10 Apr 2017 18:01:42 +0200
From: Michael Bäuerle <michael.baeuerle@stz-e.de>
References: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <oajhv3$31l$1@news.trigofacile.com> <AABY2TgsEuAAAAlu.A1.flnews@WStation5.stz-e.de> <obo94k$qbb$1@news.trigofacile.com>
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: 24
Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 64zOupD74TH2ClV5eegcBwAEjQ+tPtfVEYnhvbz35RAZp13TDR
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:zA1niJhoOzEQE5q4PGDwlYYPsws= sha1:KfazLYzN4cwFhvX6vl/VJLsrxcg=
Injection-Date: Mon, 10 Apr 2017 16:01:42 -0000
User-Agent: flnews/0.15pre13 (for NetBSD)
X-Received-Body-CRC: 445473598
X-Received-Bytes: 2028