Re: [COSE] Review of draft-ietf-cose-hash-sig-00

Russ Housley <housley@vigilsec.com> Wed, 06 March 2019 14:59 UTC

Return-Path: <housley@vigilsec.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3BB4E127287 for <cose@ietfa.amsl.com>; Wed, 6 Mar 2019 06:59:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level:
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bBd0hKlCYZZR for <cose@ietfa.amsl.com>; Wed, 6 Mar 2019 06:59:00 -0800 (PST)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D2B1A124BA8 for <cose@ietf.org>; Wed, 6 Mar 2019 06:59:00 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 35D1B300AAF for <cose@ietf.org>; Wed, 6 Mar 2019 09:40:43 -0500 (EST)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Q_srgCdIvXjI for <cose@ietf.org>; Wed, 6 Mar 2019 09:40:42 -0500 (EST)
Received: from [172.27.4.75] (unknown [75.104.69.145]) by mail.smeinc.net (Postfix) with ESMTPSA id 8CB673009FB; Wed, 6 Mar 2019 09:40:38 -0500 (EST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <00ea01d4c5c0$ac81d6d0$05858470$@augustcellars.com>
Date: Wed, 06 Mar 2019 09:58:49 -0500
Cc: cose <cose@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <C38C303A-B109-454C-BD70-7199A4330326@vigilsec.com>
References: <00ea01d4c5c0$ac81d6d0$05858470$@augustcellars.com>
To: Jim Schaad <ietf@augustcellars.com>
X-Mailer: Apple Mail (2.3445.102.3)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/xUFyi0sAHXONif08Wk40QzSlSmA>
Subject: Re: [COSE] Review of draft-ietf-cose-hash-sig-00
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Mar 2019 14:59:02 -0000

Jim:

I have updated the I-D, and I just posted it.  I also updated the GitHub repository.  I think that all of your comments are resolved by the update.  Of course, the first comment actually has nothing to do with this I-D, so I have not done anything with that.

Russ


> On Feb 16, 2019, at 1:27 AM, Jim Schaad <ietf@augustcellars.com> wrote:
> 
> Russ,
> 
> I don't remember when the last time I looked at this was, but since I have
> been reviewing the version over in lamps, look at all of those things and
> apply here.  I tried not to duplicating them below.  Please copy forward as
> is reasonable.
> 
> 1.  I am trying to create an example message for you, but I am having
> problems with getting a running implementation based on the ID in CFRG.  One
> of my biggest issues is that the test vectors are completely insufficient if
> there are problems, and apparently I have a problem.
> 
> 2.  The following statement seems a bit weird:  "The hash-based signature
> algorithm supports five values for this parameter: h=5; h=10; h=15; h=20;
> and h=25".  Would it not be better to say it along the lines of "Currently
> there are five values registered for this parameter:..."
> 
> 3.  You do not seem to have consistency between section 4 and the IANA
> considerations wrt 'HSS-LMS' vs 'HASHSIG-HSS-LMS'
> 
> 4.  I find it very interesting that in this document you do not have the
> extra hash step that is present in the lamps document.  Specifically this
> always uses the "direct" signature algorithm that I proposed over there.
> 
> Jim