Re: [netmod] Stephen Farrell's No Objection on draft-ietf-netmod-yang-json-09: (with COMMENT)

Benoit Claise <bclaise@cisco.com> Tue, 22 March 2016 14:54 UTC

Return-Path: <bclaise@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D02612DA17; Tue, 22 Mar 2016 07:54:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.522
X-Spam-Level:
X-Spam-Status: No, score=-14.522 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 yUZTqeGip5un; Tue, 22 Mar 2016 07:54:40 -0700 (PDT)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0A0F212D9EF; Tue, 22 Mar 2016 07:54:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2063; q=dns/txt; s=iport; t=1458658480; x=1459868080; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=UeHUQuTTO/u6ZqClQiGskf3awy3KySx9Ho0tWZiStOA=; b=ZOPw0HMQzRb6VL0VBIZ4vOBdY6JIWKJT10dz0eaj5izceJVpnNYv1tsB nzZhFivftcCMUnWKjjrKanMvrpvKAY0l89wgxsirEb++dDiXgWAsYWHCk tPWLwYBwqGJFt+k3pDBNJhe6ykH5NBiG14KkqmKJ35sKVjRocIdejA+9x 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DPAQAkXPFW/xbLJq1ehAZ6uDaCDwENgXAhhSJKAoF8FAEBAQEBAQFkJ4RCAQEEODMNARALIRYPCQMCAQIBRQYBCQMGAgEBiCMOwHIBAQEBAQEBAQEBAQEBAQEBAQEBAQERBIYehESEHQEBhXMBBIdgj3eOBIFlhEyDBIVUjwceAQFCggMZFIE2Oy4BiFOBMgEBAQ
X-IronPort-AV: E=Sophos;i="5.24,377,1454976000"; d="scan'208";a="676222640"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Mar 2016 14:54:37 +0000
Received: from [10.60.67.86] (ams-bclaise-8915.cisco.com [10.60.67.86]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id u2MEsbZc000786; Tue, 22 Mar 2016 14:54:37 GMT
To: Ladislav Lhotka <lhotka@nic.cz>, Stephen Farrell <stephen.farrell@cs.tcd.ie>, The IESG <iesg@ietf.org>
References: <20160317113347.3650.38937.idtracker@ietfa.amsl.com> <m2d1qnj2ec.fsf@birdie.labs.nic.cz>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <56F15CAD.2010406@cisco.com>
Date: Tue, 22 Mar 2016 15:54:37 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <m2d1qnj2ec.fsf@birdie.labs.nic.cz>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/RF0GcNGGsuwTNyGdPrHTCezCKTg>
Cc: netmod-chairs@ietf.org, draft-ietf-netmod-yang-json@ietf.org, netmod@ietf.org
Subject: Re: [netmod] Stephen Farrell's No Objection on draft-ietf-netmod-yang-json-09: (with COMMENT)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Mar 2016 14:54:54 -0000

Dear all,
> Hi Stephen,
>
> thanks for your comments, please see my responses inline.
>
> Stephen Farrell <stephen.farrell@cs.tcd.ie> writes:
>
>> ----------------------------------------------------------------------
>> COMMENT:
>> ----------------------------------------------------------------------
>>
>>
>> - I would have thought that it'd be useful to point out any
>> issues with round-tripping, e.g. going from XML to JSON and
>> back to XML or vice-versa. But I didn't see any mention of
>> that. How come?
> I believe fifth paragraph in sec. 3 is what you are asking for:
>
>     With the exception of anyxml and schema-less anydata nodes, it is
>     possible to map a JSON-encoded data tree to XML encoding as defined
>     in [I-D.ietf-netmod-rfc6020bis], and vice versa.  However, such
>     conversions require the YANG data model to be available.
Thanks.
>> - I'm not sure if anyone has considered XMLDSIG or use of JOSE
>> with YANG. If one did, then this kind of mapping would not
>> allow one to preserve digital signatures without a lot of
>> work. I assume that that's considered ok. (Which it can be,
>> depending on how one does object level security, if one does
>> object level security.)
> I am not an expert on digital signatures and their representations, but
> I'd say they could be modelled as YANG's "binary" type (and transferred
> base64-encoded). This should work equally well in XML and JSON,
> including round trips.
I skipped this point above for now as the thread goes on.
>
>> - It's not clear to me if the discussion of the secdir review
>> [1] concluded. It seemed to just stall. Is there more to be
>> said? (If so, be great if the shepherd would kick that
>> discussion.)
> I don't have much more to say without seeing alternative proposals.
I re-reviewed the security directory review, and from my vantage point, 
I believe that Lada addressed the review.

Regards, Benoit
>
> Lada
>
>>     [1] https://www.ietf.org/mail-archive/web/secdir/current/msg06408.html
>>
>>