Re: [Anima-bootstrap] new issue in voucher github

Kent Watsen <kwatsen@juniper.net> Thu, 20 April 2017 16:29 UTC

Return-Path: <kwatsen@juniper.net>
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 AD9EC129ADC; Thu, 20 Apr 2017 09:29:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.021
X-Spam-Level:
X-Spam-Status: No, score=-2.021 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=juniper.net
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 6tau9CORXE5u; Thu, 20 Apr 2017 09:29:48 -0700 (PDT)
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0137.outbound.protection.outlook.com [104.47.33.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AA370129AA1; Thu, 20 Apr 2017 09:29:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=lCu69dqeGgYlKj+IKNypU437FtPQ6qq81GueV7YULDg=; b=gRx7osk7Tjx41V4S41UGi7RpfQ765kMlCKn1g0ac4ymwYYRndokqSbW8ARMDTaV8QCYtoGdC/vKjBgcY2lICBI9Jn4bR+9hZxI1XdY4ARjnI+HK9RtvoBH72A+McqmjK/4Dei51vngUKvaREPhq9YYzp5yDWzpYQSIjYHKaODug=
Received: from BN3PR0501MB1442.namprd05.prod.outlook.com (10.160.117.151) by BN3PR0501MB1443.namprd05.prod.outlook.com (10.160.117.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.6; Thu, 20 Apr 2017 16:29:47 +0000
Received: from BN3PR0501MB1442.namprd05.prod.outlook.com ([10.160.117.151]) by BN3PR0501MB1442.namprd05.prod.outlook.com ([10.160.117.151]) with mapi id 15.01.1047.006; Thu, 20 Apr 2017 16:29:47 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: "Max Pritikin (pritikin)" <pritikin@cisco.com>, "anima@ietf.org" <anima@ietf.org>, "anima-bootstrap@ietf.org" <anima-bootstrap@ietf.org>
Thread-Topic: new issue in voucher github
Thread-Index: AQHSuWrzbYD5S8aYJUG0FqsQmxhJYKHOML+A
Date: Thu, 20 Apr 2017 16:29:47 +0000
Message-ID: <D1F9856B-080E-4F33-8310-8DADA2D02F13@juniper.net>
References: <6D5855D6-0F98-41A1-A75F-3681B97BCB07@cisco.com>
In-Reply-To: <6D5855D6-0F98-41A1-A75F-3681B97BCB07@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.20.0.170309
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=juniper.net;
x-originating-ip: [66.129.241.14]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BN3PR0501MB1443; 7:hmN/xnizDPbYpTnkWGwD3oC7huDQg4t9RXWOQOy6zoZQr32ctfCAe62zqJtm+HZkNlY2mibIeC+lpGMxzni0dGybD32On0TyVSjZilKOIRsDpyFJCB3lWXghU6HbZ/d5yk77YfRjCIHAIWSoy2mWhKnsASEHIpvmAdWhw7XvBD+prhKVt3Phl/SujX6mTkyDAQBv7vy4bkWC1hyIbHlrUvVPWBsJJdWSL1TR7JYE3YtslzScST08o9Nr5i4aMm9FeLZ3v36Cubidvnhs3hJK4/4Z0D8uG6zn8HF5w4oJawBwv+yZMVT+yQfCt9ngInYcA88q8/2mv7tdatxnIDIM0w==
x-ms-office365-filtering-correlation-id: 6d92d53e-9fc7-4fbe-d8de-08d4880a7618
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081); SRVR:BN3PR0501MB1443;
x-microsoft-antispam-prvs: <BN3PR0501MB14433C1EEBA4930BE629FD87A51B0@BN3PR0501MB1443.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(166708455590820)(95692535739014)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(20161123564025)(20161123555025)(6072148); SRVR:BN3PR0501MB1443; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0501MB1443;
x-forefront-prvs: 02830F0362
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39450400003)(39410400002)(39400400002)(39850400002)(39860400002)(39840400002)(24454002)(69234005)(377454003)(8936002)(3660700001)(6116002)(102836003)(8676002)(38730400002)(3280700002)(81166006)(6246003)(66066001)(54356999)(76176999)(3846002)(5660300001)(7906003)(6486002)(53936002)(77096006)(6506006)(189998001)(99286003)(6512007)(50986999)(6306002)(54896002)(2201001)(606005)(229853002)(86362001)(2501003)(33656002)(7736002)(236005)(2950100002)(2900100001)(25786009)(2906002)(36756003)(53546009)(122556002)(82746002)(83716003); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0501MB1443; H:BN3PR0501MB1442.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_D1F9856B080E4F3383108DADA2D02F13junipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2017 16:29:47.7342 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0501MB1443
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima-bootstrap/PBLGvt5Ow4t5LC6_A5EabcFvnE8>
Subject: Re: [Anima-bootstrap] new issue in voucher github
X-BeenThere: anima-bootstrap@ietf.org
X-Mailman-Version: 2.1.22
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, 20 Apr 2017 16:29:51 -0000

I don't think that the voucher should also be a voucher request.  There should be another
artifact defined for a voucher request, if needed.  YANG 'grouping' statements can be used
to ensure syntactic alignment between the two artifacts.

K.

On 4/19/17, 8:13 PM, "Max Pritikin (pritikin)" <pritikin@cisco.com<mailto:pritikin@cisco.com>> wrote:


FYI - added the below to capture it but not distract myself from current ‘concise’ branch work. As per the recommendations I’m informing the list as well. I’ll circle back to this

- max


https://github.com/anima-wg/voucher/issues/3

There is some inconsistencies in the existing text that need to be resolved (see below). Additionally if a "voucher" can also be a "voucher request" then the requester can't necessarily populate all the fields. These related issues need to be dealt with.

leaf nonce {
type binary {
length "8..32";
}
must "not(../expires-on)";
description
"A value that can be used by a pledge in some bootstrapping
protocols to enable anti-replay protection. This node is
optional because it is not used by all bootstrapping
protocols.