Re: [COSE] AD review of draft-ietf-cose-hash-sig-03

Jim Schaad <ietf@augustcellars.com> Fri, 11 October 2019 00:23 UTC

Return-Path: <ietf@augustcellars.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 6027A12007C for <cose@ietfa.amsl.com>; Thu, 10 Oct 2019 17:23:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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 LseVcSlrxf1T for <cose@ietfa.amsl.com>; Thu, 10 Oct 2019 17:23:42 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3168712003E for <cose@ietf.org>; Thu, 10 Oct 2019 17:23:42 -0700 (PDT)
Received: from Jude (192.168.1.159) by mail2.augustcellars.com (192.168.1.201) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 10 Oct 2019 17:23:35 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Laurence Lundblade' <lgl@island-resort.com>, 'Russ Housley' <housley@vigilsec.com>
CC: "'Roman D. Danyliw'" <rdd@cert.org>, 'Ivaylo Petrov' <ivaylo@ackl.io>, 'Ben Kaduk' <kaduk@mit.edu>, 'cose' <cose@ietf.org>
References: <157072789599.20442.12089124445445995749.idtracker@ietfa.amsl.com> <67AC8C51-9650-4864-8D42-C10A5D56DAC6@vigilsec.com> <F28D499D-A4F2-410C-8DAA-1E8ED3B977B7@island-resort.com>
In-Reply-To: <F28D499D-A4F2-410C-8DAA-1E8ED3B977B7@island-resort.com>
Date: Thu, 10 Oct 2019 17:23:33 -0700
Message-ID: <000001d57fca$1fbb5630$5f320290$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01D57F8F.735E04D0"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQH0J6XExm1ebiz8FIK3yuh9o09PmwJBbKINAa21ojSm98tn0A==
Content-Language: en-us
X-Originating-IP: [192.168.1.159]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/vIM7jXxSTmavjzftCH-p0YJ-60w>
Subject: Re: [COSE] AD review of draft-ietf-cose-hash-sig-03
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: Fri, 11 Oct 2019 00:23:45 -0000

No that would be the format that I use in the examples with all of the inputs as well.  You should just use the cbor_diag field, and read section 8 of the CBOR draft for how multiple lies are done.

 

From: COSE <cose-bounces@ietf.org> On Behalf Of Laurence Lundblade
Sent: Thursday, October 10, 2019 4:05 PM
To: Russ Housley <housley@vigilsec.com>
Cc: Roman D. Danyliw <rdd@cert.org>; Ivaylo Petrov <ivaylo@ackl.io>; Ben Kaduk <kaduk@mit.edu>; cose <cose@ietf.org>
Subject: Re: [COSE] AD review of draft-ietf-cose-hash-sig-03

 

 

On Oct 10, 2019, at 1:24 PM, Russ Housley <housley@vigilsec.com <mailto:housley@vigilsec.com> > wrote:

 

  This appendix provides an example of a COSE full message signature
  and an example of a COSE_Sign0 message.  The display format includes
  "\" to indicate that the same field continues on the next line, and it
  includes "|" to separate items within a field.

 

Doesn’t COSE only have a COSE_Sign1?  COSE_Sign0 is mentioned as wrong in errata.

 

The example in A.2 doesn’t look like a COSE_Sign1 at all.

 

LL