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

"Peterson, Jon" <jon.peterson@neustar.biz> Wed, 24 August 2016 07:34 UTC

Return-Path: <prvs=10447d5ef2=jon.peterson@neustar.biz>
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 A190212D1E7 for <stir@ietfa.amsl.com>; Wed, 24 Aug 2016 00:34:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.701
X-Spam-Level:
X-Spam-Status: No, score=-102.701 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_LOW=-0.7, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=neustar.biz
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 0Q41CYzCSb-I for <stir@ietfa.amsl.com>; Wed, 24 Aug 2016 00:34:04 -0700 (PDT)
Received: from mx0b-0018ba01.pphosted.com (mx0a-0018ba01.pphosted.com [67.231.149.94]) (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 717E312B035 for <stir@ietf.org>; Wed, 24 Aug 2016 00:34:03 -0700 (PDT)
Received: from pps.filterd (m0078664.ppops.net [127.0.0.1]) by mx0a-0018ba01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u7O7X3ff018030; Wed, 24 Aug 2016 03:33:59 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=neustar.biz; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=neustar.biz; bh=wNWMYlG8wlpCKCnKWWgARVha5pPuIY1Q9o2IU+CRjUM=; b=Dz2cDpCh3KqciWfI7LYYvtFoZSBEAW+swMAvaQkOWOotg/795lBjd8wn4Du7uICzrH6C U78mo2Sr2yh7hvcxIKvF/CwhMJibPoT1cD9WArhvkp70m7xfMxTwR7d6IH8JmdzlZNWM pAszyR25UbK/iC6ix8Hi7lagzder3i+UKwDF0bz8N+NQXjYZDg4DBi9jMBat2LVZ9sGk pOfIAawaJurLyg9Y0OY7fu1o/Vn57N/Tv+Gv80qXltHERkD1SZRKrrOgrXNH3om7nLyl AXU38jXUcJc9sdWTVA4V0w21HCukWYqoJ5QmQil3o/Tc3NWUqhA3IdSuAii9WPLLDmur LQ==
Received: from stntexhc12.cis.neustar.com ([156.154.17.216]) by mx0a-0018ba01.pphosted.com with ESMTP id 24xhuusgg3-1 (version=TLSv1 cipher=AES128-SHA bits=128 verify=NOT); Wed, 24 Aug 2016 03:33:59 -0400
Received: from STNTEXMB10.cis.neustar.com ([169.254.5.94]) by stntexhc12.cis.neustar.com ([::1]) with mapi id 14.03.0279.002; Wed, 24 Aug 2016 03:33:53 -0400
From: "Peterson, Jon" <jon.peterson@neustar.biz>
To: Christer Holmberg <christer.holmberg@ericsson.com>, "dcrocker@bbiw.net" <dcrocker@bbiw.net>, Eric Rescorla <ekr@rtfm.com>
Thread-Topic: [stir] JWT/JSON (was - Re: Review of: draft-ietf-stir-passport-05)
Thread-Index: AQHR/dncr77vwNs+2UWBNdjjYYBmLQ==
Date: Wed, 24 Aug 2016 07:33:52 +0000
Message-ID: <D3E22A20.1A90A4%jon.peterson@neustar.biz>
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> <CABcZeBNQgsjDOrW2k4WOucTVXSMHjEUjKgGkhYT119Z3yoUv1g@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B4BC29AD9@ESESSMB209.ericsson.se> <72ca2036-610e-2226-ed4f-34efbf0e9552@dcrocker.net> <D3E21244.D708%christer.holmberg@ericsson.com> <31ee21c4-ac59-2dec-3ce2-82ae650ea7c8@dcrocker.net> <7594FB04B1934943A5C02806D1A2204B4BC3506B@ESESSMB209.ericsson.se> <3b89d32f-3090-d883-b0d1-26c021f94ce9@dcrocker.net> <7594FB04B1934943A5C02806D1A2204B4BC35CC8@ESESSMB209.ericsson.se>
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B4BC35CC8@ESESSMB209.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.6.3.160329
x-originating-ip: [10.96.12.17]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <529F9F213363854A8326E4B470B5C4D6@neustar.biz>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-08-24_04:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608240068
Archived-At: <https://mailarchive.ietf.org/arch/msg/stir/1olOCA6fz6j-kSe_7M3_KSKtLD0>
Cc: IETF STIR Mail List <stir@ietf.org>
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
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: Wed, 24 Aug 2016 07:34:05 -0000

>I guess Jon should reply to that question, but one reasons was related to
>the suggestion (I don't think that WG has made a decision, but please
>correct me if I'm wrong) that it should be optional to send the headers
>representation of the JWS, as that information (cipher suite etc) can be
>found in other SIP elements.

What I see minuted from IETF 96 as a decision for this question was "keep
what we have now," in other words, keep "canon" optional. As long as
"canon" is optional, then we need at least to have the ability to convey
"alg" and "ppt" in the Identity header (field!). Practically speaking
though, "alg" exists only to give us some flexibility in case it turns out
in the future that the one algorithm we've specified won't work for us. I
doubt "alg" will be present over the wire much.

> However, Appendix F of RFC 7575 is unclear on whether it's allowed
>remove the headers representation from the JWS - the Appendix seems to
>only talk about not sending the payload representation (which, in the
>case of SIP, can also be found in other SIP elements). So, there could be
>cases were one would only send the signature representation of the JWS.

RFC7515, you mean. And yes, it basically just says "you can have
detachable content" without detailing what that means. The new text in
rfc4474bis-11 will, as promised, go into more detail about this, and
furnish an example.

Jon Peterson
Neustar, Inc.

> 
>
>Regards,
>
>Christer
>
>_______________________________________________
>stir mailing list
>stir@ietf.org
>https://www.ietf.org/mailman/listinfo/stir