Re: [COSE] cose-countersignatures

Russ Housley <housley@vigilsec.com> Sat, 21 November 2020 17: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 4555A3A0AC6 for <cose@ietfa.amsl.com>; Sat, 21 Nov 2020 09:59:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, 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 QrLmgjWKv1cd for <cose@ietfa.amsl.com>; Sat, 21 Nov 2020 09:59:47 -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 7FFFB3A09BC for <cose@ietf.org>; Sat, 21 Nov 2020 09:59:47 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id DE00E300BB6 for <cose@ietf.org>; Sat, 21 Nov 2020 12:59:44 -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 jafMC2gB9mNQ for <cose@ietf.org>; Sat, 21 Nov 2020 12:59:43 -0500 (EST)
Received: from a860b60074bd.fios-router.home (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id 6A336300A9E; Sat, 21 Nov 2020 12:59:43 -0500 (EST)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <CALhKWgipZRJKip7-ezpZX_sj-XT8oy7br6Grm7Ne8trBAHtZ8Q@mail.gmail.com>
Date: Sat, 21 Nov 2020 12:59:44 -0500
Cc: cose <cose@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <CCE48A92-D4D6-401F-9FCF-6C1C5E10BA37@vigilsec.com>
References: <FD174684-5B5A-4D60-8474-44CD1865B59A@outer-planes.net> <947BBD8D-7BF0-477A-8954-1EFCEBC7170E@vigilsec.com> <10020.1602108879@localhost> <5E50CD24-FA0D-431A-BD1A-CFCFD2441732@vigilsec.com> <6549.1602369371@localhost> <A69CA42A-E5AD-4B12-B462-FB09D17D4061@vigilsec.com> <CALhKWgiqON4+eu_J45is-SdfSCSdkeSen86BQ-qtJ3b-edEmFA@mail.gmail.com> <CALhKWgipZRJKip7-ezpZX_sj-XT8oy7br6Grm7Ne8trBAHtZ8Q@mail.gmail.com>
To: Jonathan Hammell <jfhamme.cccs@gmail.com>
X-Mailer: Apple Mail (2.3445.104.17)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/0Xsjn9Xy_xPTiajow3lxtvy1VME>
Subject: Re: [COSE] cose-countersignatures
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: Sat, 21 Nov 2020 17:59:49 -0000

The PR is waiting.  I will not do a merge until I hear back from you.

Russ


> On Nov 20, 2020, at 7:37 PM, Jonathan Hammell <jfhamme.cccs@gmail.com> wrote:
> 
> An update...
> I was able to extend my COSE parser to verify the countersignature
> examples from the I-D and I recreated the JSON input for the Examples
> repository (https://github.com/cose-wg/Examples/pull/99).
> 
> I wasn't able to compute a few of the intermediate values due to
> limitations of my code.  The intermediate values that I did not
> compute or verify, I removed from the JSON.  But, important to this
> I-D, I generated and included the ToBeSign_hex in countersignatures
> and used this to successfully verify the ECDSA signature.
> 
> As Michael said, it would be nice if there was a second independent
> implementation to validate.
> 
> As I pointed out in my previous message, these examples do not test
> the CounterSignatureV2 structure.  But I think I'm close enough now
> that I should be able to create some new examples.
> 
> Russ, maybe hold off on the PR for removing those Example stubs.
> 
> 
> Jonathan
> 
> On Thu, Nov 19, 2020 at 7:13 PM Jonathan Hammell <jfhamme.cccs@gmail.com> wrote:
>> 
>> Hi Russ,
>> I cannot find the existing examples from the document in the GitHub
>> Examples repository, despite Appendix A saying that they are there.
>> 
>> Furthermore, the existing examples in the document do not cover the
>> COSE_Sign1 case that was deemed to be the problem with the original
>> countersignature.  I realize that the WG is having difficulty finding
>> someone to produce these examples, but I thought that this omission
>> should be pointed out on the list.
>> 
>> Jonathan
>> 
>> On Mon, Nov 16, 2020 at 5:32 AM Russ Housley <housley@vigilsec.com> wrote:
>>> 
>>> Based on the discussion at the meeting earlier today, I put together a PR:
>>> 
>>>        https://github.com/cose-wg/countersign/pull/2
>>> 
>>> Comments are most welcome.
>>> 
>>> Russ
>>> 
>>> _______________________________________________
>>> COSE mailing list
>>> COSE@ietf.org
>>> https://www.ietf.org/mailman/listinfo/cose