Re: [Anima-bootstrap] comments on draft-kwatsen-netconf-ownership-voucher
Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 15 September 2016 01:00 UTC
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: anima-bootstrap@ietfa.amsl.com
Delivered-To: anima-bootstrap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 61CD212B107 for <anima-bootstrap@ietfa.amsl.com>; Wed, 14 Sep 2016 18:00:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 ZODknED-LKDD for <anima-bootstrap@ietfa.amsl.com>; Wed, 14 Sep 2016 18:00:37 -0700 (PDT)
Received: from mail-pf0-x22a.google.com (mail-pf0-x22a.google.com [IPv6:2607:f8b0:400e:c00::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ACF0012B0F7 for <anima-bootstrap@ietf.org>; Wed, 14 Sep 2016 17:51:24 -0700 (PDT)
Received: by mail-pf0-x22a.google.com with SMTP id z123so10839272pfz.2 for <anima-bootstrap@ietf.org>; Wed, 14 Sep 2016 17:51:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=PUFFk1lmhQy8XJ9aqUPu0g6gpTLXIHwa+q4Aax67JfQ=; b=gcPBQYvkbg6nZVL1BvlPRdrozHS2li03BrwqYaGJjticKH7O3yU2uTGT+auq8V2r4i dv2kIYVM/Jp+5rbnrIHByDId980rMCpBssVm3AubmSb5CtsHwVLjimtanc3MzS82I99i W6d1o+59ETuUG58XL1tJ06VEM7DnItPG8NsFK1oEmDFOCzx2YaRSKBP1kDj7wUv3yU2Z O/pfOVeJnW11rzfoAHf56O6IV/cDPhu6lVw8RDANQsTf3fQYiaxxNgZ1B7KBVWfDGzsd OFSpwdcuxw6rbc2cQM2VSDagCDo2Y/G3sEiDJ01ty+IIPlw8oVGckSD61HEOVL/ygISP fc/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=PUFFk1lmhQy8XJ9aqUPu0g6gpTLXIHwa+q4Aax67JfQ=; b=RFlL6nWcUbEUWQiXGnuLczXolqO1GVZTiMF++iZlMCaKmG9Q/AY7lLknNh8eYWUNga 12EKDDll27QVPAh84Q5fTcbH/X/GTH3I53FcJD5WYFNKohRzmTBiR/T1I2sPnWzmUGDu gJEGbOQYGC4m0xHy6Be8q6V/yFAknCsGSDOPec2D2ojvXSgXQlDlAlhZ0+1QnF2rEQWW HW9CfKRyHrTqsn+kmbfo9qG82RDBcck7KxBAcHPZzJuMkq/usMNE9tfzlV0/rOiJMcb6 kwcH6YzDSAcP5oBeBmdqb48TPdt36L2njhcxdKomZHWaJFdxrtuUIsrF6NB4xUamAmyO zlfQ==
X-Gm-Message-State: AE9vXwP8ZTzpxWVjVmfDsd6ZwlWzIGtYAfJjeO1SkK3LnkDEt5ZgH/XkXd4KrovMEy7s2Q==
X-Received: by 10.98.51.131 with SMTP id z125mr9686692pfz.109.1473900683928; Wed, 14 Sep 2016 17:51:23 -0700 (PDT)
Received: from [192.168.178.23] ([118.148.126.145]) by smtp.gmail.com with ESMTPSA id bm8sm529462pac.16.2016.09.14.17.51.21 for <anima-bootstrap@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Sep 2016 17:51:22 -0700 (PDT)
To: anima-bootstrap@ietf.org
References: <16280.1473899496@obiwan.sandelman.ca>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <9eaf22f7-2bdf-e196-fd31-4df65590da4e@gmail.com>
Date: Thu, 15 Sep 2016 12:51:27 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <16280.1473899496@obiwan.sandelman.ca>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima-bootstrap/P3vlEnZ1GFKmqiED3EgkZ8P7Cbc>
Subject: Re: [Anima-bootstrap] comments on draft-kwatsen-netconf-ownership-voucher
X-BeenThere: anima-bootstrap@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Mailing list for the bootstrap design team of the ANIMA WG <anima-bootstrap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima-bootstrap>, <mailto:anima-bootstrap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima-bootstrap/>
List-Post: <mailto:anima-bootstrap@ietf.org>
List-Help: <mailto:anima-bootstrap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima-bootstrap>, <mailto:anima-bootstrap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Sep 2016 01:00:39 -0000
On 15/09/2016 12:31, Michael Richardson wrote: > > Kent, I read the quick document you crafted yesterday. I think it captures > most of what matters, thank you! > > module: ietf-ownership-voucher > +--rw voucher > +--rw assertion enumeration > +--rw owner-id string > +--rw unique-id* string > +--rw created-on yang:date-and-time > +--rw expires-on? yang:date-and-time > +--rw nonce? string > +--rw additional-data? > > I think that additional-data is probably undesireable. > I think that we need to say that owner-id is actually a hash of public key. > I don't think we can let it be a DN, as that implies some of connection to > some PKI to verify it, and the only point is that we don't have anything > that the vendor didn't burn in. > > I would appreciate an example mapped out in JSON. How about CBOR diagnostic notation? Won't we want to represent things in CBOR at least as often as in JSON? > Could it really be a JWT? Do we already have such a mapping elsewhere? > Is there any reason we couldn't use the JWT/rfc7519 notation, so that the > mapping just works out? Maybe I'm missing the value of the YANG here. Generality? Brian
- [Anima-bootstrap] comments on draft-kwatsen-netco… Michael Richardson
- Re: [Anima-bootstrap] comments on draft-kwatsen-n… Brian E Carpenter