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

Eliot Lear <lear@cisco.com> Mon, 21 March 2016 15:30 UTC

Return-Path: <lear@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 BB33212D566; Mon, 21 Mar 2016 08:30:08 -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 QCo6NJRWQRNS; Mon, 21 Mar 2016 08:30:08 -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 20BFC127058; Mon, 21 Mar 2016 08:30:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2636; q=dns/txt; s=iport; t=1458574207; x=1459783807; h=subject:to:references:from:message-id:date:mime-version: in-reply-to; bh=rOTGfE/SmdzjkrXt6mGVCcGMcGI92JlFl6IauvhmJVI=; b=PKqr+/eSipbACNCmPgrgh0ySF5b2h4fxFpDeLhjSQR32czB9BVm48V9c 87Bo//w43AKPkyavSo555By06zliI3EYOLrIX+SKU8toecjj6sONatrbf o/qfsy+0EoSAnag9ojxoZ90AV61XaoC4eM96YUUQj8o63Uty2IShRyPjZ 0=;
X-Files: signature.asc : 481
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0B7AgCVEvBW/xbLJq1evQ6CDw6BcIYNAoFeFAEBAQEBAQFkJ4RCAQEEI1URCxgJFgsCAgkDAgECAUUGAQwIAQGII7ACjxwBAQEBAQEBAwEBAQEBAQERCIpihAwRAYMeglYBBJdXgx6BZokAiTOFVI8GHgFDgjCBNjuJEYEyAQEB
X-IronPort-AV: E=Sophos;i="5.24,372,1454976000"; d="asc'?scan'208";a="676192401"
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; 21 Mar 2016 15:30:05 +0000
Received: from [10.61.216.70] ([10.61.216.70]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id u2LFU4QZ030406; Mon, 21 Mar 2016 15:30:04 GMT
To: Ladislav Lhotka <lhotka@nic.cz>, Stephen Farrell <stephen.farrell@cs.tcd.ie>, The IESG <iesg@ietf.org>, draft-ietf-netmod-yang-json@ietf.org, netmod-chairs@ietf.org, kwatsen@juniper.net, netmod@ietf.org
References: <20160317113347.3650.38937.idtracker@ietfa.amsl.com> <m2d1qnj2ec.fsf@birdie.labs.nic.cz> <20160321151914.GA62880@elstar.local>
From: Eliot Lear <lear@cisco.com>
Message-ID: <56F0137B.3090103@cisco.com>
Date: Mon, 21 Mar 2016 16:30:03 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <20160321151914.GA62880@elstar.local>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="c9soHwVfm6Gq3GmbRLx5ULj6X1VmXMM10"
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/jLM2dPma_v3xBywUd948tHQjWL0>
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: Mon, 21 Mar 2016 15:30:09 -0000


On 3/21/16 4:19 PM, Juergen Schoenwaelder wrote:
> Lada, I think Stephen asks about JSON encoded YANG-defined data that
> is signed, that is, the JSON serialization itself is signed. What
> happens to the signature if you convert the JSON to corresponding XML
> serialization. I think the answer is that the signature is broken in
> this case and I think this is quite natural.
>
> Object signatures so far never came up in the NETCONF/YANG context
> (well not quite correct, I think there is some related discussion
> aroud the zero-config draft) but even if they do, I think we will have
> to accept that signatures are encoding specific. And I think this is
> not a big deal; if I sign my HTML encoded email, then the signature
> likely won't apply to a text-only rendering of the same email.
>

However this goes, it should be well documented somewhere.  This will
not be the first time this comes up (he says, knowingly).

Eliot