Re: [jose] Gen-ART review of draft-ietf-jose-json-web-signature-33

Mike Jones <Michael.Jones@microsoft.com> Tue, 14 October 2014 12:44 UTC

Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 869241A87A9; Tue, 14 Oct 2014 05:44:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 vmwCziommBv4; Tue, 14 Oct 2014 05:44:22 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0707.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:707]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6D99E1A87A0; Tue, 14 Oct 2014 05:44:21 -0700 (PDT)
Received: from CO2PR03CA0047.namprd03.prod.outlook.com (10.141.194.174) by BY1PR0301MB1205.namprd03.prod.outlook.com (25.161.203.154) with Microsoft SMTP Server (TLS) id 15.0.1054.13; Tue, 14 Oct 2014 12:43:57 +0000
Received: from BN1BFFO11FD008.protection.gbl (2a01:111:f400:7c10::1:103) by CO2PR03CA0047.outlook.office365.com (2a01:111:e400:1414::46) with Microsoft SMTP Server (TLS) id 15.0.1049.19 via Frontend Transport; Tue, 14 Oct 2014 12:43:57 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD008.mail.protection.outlook.com (10.58.144.71) with Microsoft SMTP Server (TLS) id 15.0.1039.16 via Frontend Transport; Tue, 14 Oct 2014 12:43:56 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.93]) by TK5EX14MLTC101.redmond.corp.microsoft.com ([157.54.79.193]) with mapi id 14.03.0210.003; Tue, 14 Oct 2014 12:43:17 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Russ Housley <housley@vigilsec.com>, "draft-ietf-jose-json-web-signature.all@tools.ietf.org" <draft-ietf-jose-json-web-signature.all@tools.ietf.org>
Thread-Topic: Gen-ART review of draft-ietf-jose-json-web-signature-33
Thread-Index: Ac/nrGOPpq9ioxHAQ3a70yn/C19ASQ==
Date: Tue, 14 Oct 2014 12:43:16 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439BB0D1E9@TK5EX14MBXC286.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.36]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739439BB0D1E9TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(438002)(189002)(43784003)(377454003)(13464003)(199003)(377424004)(31966008)(84676001)(85806002)(20776003)(16236675004)(86612001)(64706001)(4396001)(107046002)(2656002)(87936001)(50986999)(95666004)(21056001)(84326002)(561944003)(230783001)(120916001)(66066001)(33656002)(86362001)(19300405004)(15975445006)(99396003)(85306004)(76482002)(44976005)(19580405001)(68736004)(69596002)(92566001)(15202345003)(512954002)(92726001)(97736003)(46102003)(80022003)(19617315012)(6806004)(19580395003)(19625215002)(54356999)(85852003)(81156004)(77096002)(106466001)(55846006)(104016003)(71186001)(26826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB1205; H:mail.microsoft.com; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en;
X-Microsoft-Antispam: UriScan:;
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY1PR0301MB1205;
X-O365ENT-EOP-Header: Message processed by - O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 03648EFF89
Received-SPF: Pass (protection.outlook.com: domain of microsoft.com designates 131.107.125.37 as permitted sender) receiver=protection.outlook.com; client-ip=131.107.125.37; helo=mail.microsoft.com;
Authentication-Results: spf=pass (sender IP is 131.107.125.37) smtp.mailfrom=Michael.Jones@microsoft.com;
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/rrCGTEv78s2ZNDmVS67F9-vYVok
Cc: IETF Gen-ART <gen-art@ietf.org>, IETF <ietf@ietf.org>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Gen-ART review of draft-ietf-jose-json-web-signature-33
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Oct 2014 12:44:26 -0000

These comments have been addressed in the -34 draft, other than the one about "why is TLS required to fetch digitally signed X.509 certificates".  There still seems to be working group discussion on that topic and objections have been expressed to changing the semantics.  More discussion is probably needed on that topic.



                                                            Thanks again,

                                                            -- Mike

From: jose [mailto:jose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Tuesday, September 30, 2014 11:11 AM
To: Russ Housley; draft-ietf-jose-json-web-signature.all@tools.ietf.org
Cc: IETF Gen-ART; IETF; jose@ietf.org
Subject: Re: [jose] Gen-ART review of draft-ietf-jose-json-web-signature-33


Thanks again for your comments, Russ.  I'm adding the working group to the thread so they're aware of them.  Responses are inline below...



-----Original Message-----
From: ietf [mailto:ietf-bounces@ietf.org] On Behalf Of Russ Housley
Sent: Saturday, September 27, 2014 8:32 AM
To: draft-ietf-jose-json-web-signature.all@tools.ietf.org<mailto:draft-ietf-jose-json-web-signature.all@tools.ietf.org>
Cc: IETF Gen-ART; IETF
Subject: Gen-ART review of draft-ietf-jose-json-web-signature-33



I am the assigned Gen-ART reviewer for this draft. For background on Gen-ART, please see the FAQ at <http://wiki.tools.ietf.org/area/gen/trac/wiki/GenArtfaq>.



Please resolve these comments along with any other Last Call comments you may receive.



Document: draft-ietf-jose-json-web-signature-33

Reviewer: Russ Housley

Review Date: 2014-08-24

IETF LC End Date: 2014-09-03

IESG Telechat date: 2014-10-02



Summary:  Ready.  Some issues could be resolved to improve the document.



Thank you for addressing my comments on -31.



Major Concerns:



- None.



Minor Concerns:



- Section 10.5 should state that validation of a MAC means provides

  corroboration that the message was generated by one of the parties

  that knows the symmetric MAC key.  This could potentially be many

  parties.



OK



- In Section 4.1.4, should the value match the subject key identifier

  if an X.509 certificate is used?



No, it's not expected that these values would match.  For instance, if a JWK contains both bare public key representation of a key and an X.509 representation of the same key, then the "kid" would be expected to match the "kid" in the JWK, which is likely unrelated to the subject key identifier value in the X.509 certificate.  (There's nothing preventing particular applications from using the subject key identifier as the "kid" value, but it's not a requirement, or even necessarily recommended.)



Also note that that certificate thumbprints can be used as identifiers for X.509 certifications, rather than Key ID values - something that's already supported in the spec.



- In Section 4.1.5, why is TLS required to fetch digitally signed

  X.509 certificates?



This question was explicitly discussed by the working group at IETF 87.  The discussion is recorded in the minutes<http://www.ietf.org/proceedings/87/minutes/minutes-87-jose> as follows:



If there is an x5u pointing to a certification issued by a major CA, is TLS required for the HTTP query used to retrieve this certificate?  TLS shouldn't be needed since the certificate is a signed object.  Therefore, the "MUST" use TLS for cert retrieval should be changed to "SHOULD".  This is an application decision.  Mike Jones doesn't want removal of TLS in the case where there's no external means to verify the retrieved key.  Matt Miller: agrees with the jku case, but argues that for x5u, there is a class of applications where it isn't known if the retrieved object is self-protecting (like a certificate) until after it is retrieved.  Even if the object appears to be self-protecting, if the retriever doesn't have a trusted root for that object, it might not be able to verify the protection anyhow.  So it use of TLS might still be preferable instead of having to potentially retrieve an object twice, once over HTTP and then over HTTPS.  Joe Hildebrand wanted to know what the upside of this proposal is.  Richard says it saves on TLS handshakes; Hildebrand envisions a world where TLS is ubiquitous.  Paul Hoffman said that a similar issue in DANE ended up being dropped after a couple of months of discussion.  Richard agreed to drop the TLS MUST to SHOULD proposal.



Russ is certainly right that for certs that chain back to a known root of trust, integrity protection isn't necessary.  It's also the case that this is not true of all certificates that might be used - especially self-signed certificates intended only to carry a key value.  One possibility is to say that TLS MUST be used unless the certificate chains back to a known trust root accepted by the application.  Of course, just requiring TLS is simpler. Do people in the working group want to re-open this issue or are people content with the current requirements?



                                                            -- Mike