[Anima] appendix C changes for draft-ietf-anima-constrained-voucher-04.txt

Michael Richardson <mcr+ietf@sandelman.ca> Thu, 04 July 2019 21:18 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5134120165 for <anima@ietfa.amsl.com>; Thu, 4 Jul 2019 14:18:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-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 rqkRDsT1q0b8 for <anima@ietfa.amsl.com>; Thu, 4 Jul 2019 14:18:31 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4E4CC1200C1 for <anima@ietf.org>; Thu, 4 Jul 2019 14:18:30 -0700 (PDT)
Received: from sandelman.ca (unknown [IPv6:2607:f0b0:f:2:56b2:3ff:fe0b:d84]) by tuna.sandelman.ca (Postfix) with ESMTP id 00BA238194 for <anima@ietf.org>; Thu, 4 Jul 2019 17:16:33 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 3FBB6BA4 for <anima@ietf.org>; Thu, 4 Jul 2019 17:18:29 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: anima@ietf.org
In-Reply-To: <156227366073.12024.15876738877597643030.idtracker@ietfa.amsl.com>
References: <156227366073.12024.15876738877597643030.idtracker@ietfa.amsl.com>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Date: Thu, 04 Jul 2019 17:18:29 -0400
Message-ID: <26733.1562275109@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/5qXCuum4kqtLyN_Y3VK8nVQWRxk>
Subject: [Anima] appendix C changes for draft-ietf-anima-constrained-voucher-04.txt
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jul 2019 21:18:34 -0000

    > URL:            https://www.ietf.org/internet-drafts/draft-ietf-anima-constrained-voucher-04.txt

Appendix C is updated.
Jim found that I had done the COSE SIGN1 body wrong.
Specifically, my code did not CBOR encode the content before signing.
(Naturally, my code interoperated with itself)
I have corrected this and updated the examples.

Now that the contents are CBOR encoding, one can not in the DIAG format
easily the voucher(request) object embedded.   I have thus far included
the CBOR DIAG output as well as the base64 encoding of the CBOR.

I think that there is little value in including the DIAG format output
as there is little one can see directly.  I could artifically decode
the inner content as an examplar; I'd have to think about if I can
automate this easily, otherwise things will get out of sync.

The -04 version has some unfortunate formatting oops, which I'll fix
before monday and repost.   I don't expect to make any other substantive
changes other than a few grammar typos I noticed.

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-