Re: [stir] JWT/JSON (was - Re: Review of: draft-ietf-stir-passport-05)

Dave Crocker <dhc@dcrocker.net> Mon, 08 August 2016 21:22 UTC

Return-Path: <dhc@dcrocker.net>
X-Original-To: stir@ietfa.amsl.com
Delivered-To: stir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2842612D196 for <stir@ietfa.amsl.com>; Mon, 8 Aug 2016 14:22:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.999
X-Spam-Level:
X-Spam-Status: No, score=-0.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=dcrocker.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 IoSm5x62v1d4 for <stir@ietfa.amsl.com>; Mon, 8 Aug 2016 14:22:11 -0700 (PDT)
Received: from simon.songbird.com (unknown [72.52.113.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0736412D17E for <stir@ietf.org>; Mon, 8 Aug 2016 14:22:11 -0700 (PDT)
Received: from [192.168.1.168] (76-218-8-128.lightspeed.sntcca.sbcglobal.net [76.218.8.128]) (authenticated bits=0) by simon.songbird.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u78LM70b025324 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Mon, 8 Aug 2016 14:22:07 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dcrocker.net; s=default; t=1470691327; bh=3L2eUl8kgSljPFi2otyE4rHFABndiBgl3Vxk+esXjAQ=; h=Subject:To:References:Cc:From:Reply-To:Date:In-Reply-To:From; b=dgkMgW+zf9dNwt1JJ333ie1kUyitICzZ0o0u2sHsjC97SfYXmNibrbbIkAxGupSql TwjWPjd7hW/WpOwXcZkVjDTO56XFKvk41Xp6BMG5GvEPKH/X++/XlEpVWtabC3AZxB XhoRJ6XMcM7EC4WjaIBL+2G/hXqgOIGbWQDostxE=
To: "Peterson, Jon" <jon.peterson@neustar.biz>, Christer Holmberg <christer.holmberg@ericsson.com>
References: <07e0eb16-6758-cdf1-c571-1f1ed768e741@dcrocker.net> <D3C152B2.1A69BA%jon.peterson@neustar.biz> <b096b541-c8af-9617-c9d7-5a1beb5230e8@dcrocker.net> <D3C16040.1A6A09%jon.peterson@neustar.biz> <d66d91f0-9ea2-6295-e749-e48ea37b4892@dcrocker.net> <cfd714ce-6145-1b60-aca2-ae702a8c133d@dcrocker.net> <7594FB04B1934943A5C02806D1A2204B4771FF73@ESESSMB209.ericsson.se> <5fdf4ad3-1528-3d79-6bdb-b5eb350e5c2a@alum.mit.edu> <dbb24381-55fd-fa64-d32b-fcc50265ccab@dcrocker.net> <7594FB04B1934943A5C02806D1A2204B47723C55@ESESSMB209.ericsson.se> <503738d8-c166-dfc1-d153-338d56b844c1@dcrocker.net> <7594FB04B1934943A5C02806D1A2204B4BBB1D69@ESESSMB208.ericsson.se> <51D45AE5-67D2-4120-BCA2-7BFC845E2126@neustar.biz>
From: Dave Crocker <dhc@dcrocker.net>
Organization: Brandenburg InternetWorking
Message-ID: <fe9c9960-55f3-1187-f093-9adf13aaf841@dcrocker.net>
Date: Mon, 08 Aug 2016 14:21:41 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <51D45AE5-67D2-4120-BCA2-7BFC845E2126@neustar.biz>
Content-Type: text/plain; charset="windows-1256"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/sAQOPqnxMQBHNvQhnNfravMbAIM>
Cc: "stir@ietf.org" <stir@ietf.org>, Paul Kyzivat <pkyzivat@alum.mit.edu>
Subject: Re: [stir] JWT/JSON (was - Re: Review of: draft-ietf-stir-passport-05)
X-BeenThere: stir@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: dcrocker@bbiw.net
List-Id: Secure Telephone Identity Revisited <stir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stir>, <mailto:stir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/stir/>
List-Post: <mailto:stir@ietf.org>
List-Help: <mailto:stir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stir>, <mailto:stir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Aug 2016 21:22:12 -0000

On 8/6/2016 10:50 AM, Peterson, Jon wrote:
> Briefly, there is and always has been a "bare minimum" set of headers
> and claims that are mandatory for PASSporT. Ultimately, the question of
> what headers and claims are mandatory in PASSporT is a stir-passport
> question. SIP as a using protocol of PASSporT defines only which fields
> in a SIP request will populate those mandatory components of a PASSporT
> object, and that information is given in considerable detail in RFC
> 4474bis today.
>
> Extensions may propose additional claims that will appear in PASSporT
> objects. The extensibility model of PASSporT is similarly a matter for
> the PASSporT spec rather than RFC 4474bis, though we anticipate that
> extensions may want to specify some initial using protocol behavior as
> well. We should have a few examples of that soon.


I've read through the above a few times, to make sure I understood it. 
(Really, it did take more than once.)


The role being played by passport is to aid in authentication of the SIP 
caller-id information.  In terms of STIR's charter and the current round 
of specifications, that's is sole role. (I've phrased it with a generic 
term like 'caller-id' in order to encompass the variations that provide 
the value to be validated.)

In spite of having carefully read the passport spec and slogging through 
the rfc4474bis spec, I had not fully appreciated the level of 
indirection and complexity being introduced with the passport construct, 
until your note above.

This isn't just an encoding abstraction.  It's an entirely independent 
layer of complex mechanism, where the actual job that needs to be done 
is just finding a key and then hashing and signing some SIP header 
information.

The aggregate complexity and indirection of the specs developed so far 
seem to make it essentially impossible to determine a specific usage 
scenario that is viable.  And from what I can tell, this includes an 
inability to determine what details are yet to be specified, before 
there is core, usable capability that can operate over the Internet.

d/
-- 

   Dave Crocker
   Brandenburg InternetWorking
   bbiw.net