Re: [jose] Stephen Farrell's Discuss on draft-ietf-jose-json-web-key-33: (with DISCUSS and COMMENT)

Mike Jones <Michael.Jones@microsoft.com> Mon, 20 October 2014 15:39 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 DB7761A0AF8; Mon, 20 Oct 2014 08:39:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, 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 PaCVr7Dn1EEk; Mon, 20 Oct 2014 08:39:31 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0106.outbound.protection.outlook.com [65.55.169.106]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D9A21A1B2F; Mon, 20 Oct 2014 08:37:55 -0700 (PDT)
Received: from CH1PR03CA004.namprd03.prod.outlook.com (10.255.156.149) by BN1PR03MB282.namprd03.prod.outlook.com (10.255.200.21) with Microsoft SMTP Server (TLS) id 15.0.1054.13; Mon, 20 Oct 2014 15:37:53 +0000
Received: from BN1AFFO11FD038.protection.gbl (10.255.156.132) by CH1PR03CA004.outlook.office365.com (10.255.156.149) with Microsoft SMTP Server (TLS) id 15.0.1054.13 via Frontend Transport; Mon, 20 Oct 2014 15:37:53 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1AFFO11FD038.mail.protection.outlook.com (10.58.52.242) with Microsoft SMTP Server (TLS) id 15.0.1049.20 via Frontend Transport; Mon, 20 Oct 2014 15:37:52 +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; Mon, 20 Oct 2014 15:37:23 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Thread-Topic: [jose] Stephen Farrell's Discuss on draft-ietf-jose-json-web-key-33: (with DISCUSS and COMMENT)
Thread-Index: AQHP3jI0y2YQdh1++ku2NamIZ5KlrpwiPARQgAFPwQCAAAGVAIAADBaAgAAB+ACAAAMNgIAAAq0AgAA3FFCAABWNAIAAAScggACEiYCAACB4gIAAAjAQgAA+RICAAIpOIIAAEB0AgBPLjAA=
Date: Mon, 20 Oct 2014 15:37:22 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439BB1ADC3@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <20141002111501.6046.52416.idtracker@ietfa.amsl.com> <4E1F6AAD24975D4BA5B16804296739439BAF0C1E@TK5EX14MBXC286.redmond.corp.microsoft.com> <00c601cfe1a4$15d32900$41797b00$@augustcellars.com> <7ABF79CB-61C8-490B-A727-465530222F0B@nominum.com> <00dd01cfe1aa$eba7db10$c2f79130$@augustcellars.com> <54330888.4090605@cs.tcd.ie> <00f101cfe1ad$6dc9fea0$495dfbe0$@augustcellars.com> <54330D56.507@cs.tcd.ie> <4E1F6AAD24975D4BA5B16804296739439BAF2783@TK5EX14MBXC286.redmond.corp.microsoft.com> <011b01cfe1d5$17f6d610$47e48230$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739439BAF321C@TK5EX14MBXC286.redmond.corp.microsoft.com> <5433BDC3.2050404@cs.tcd.ie> <CALaySJ+cDNPGc6orsJqwnhx-p3puRH_q1E4=vx0Vcodv-Npz+Q@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439BAF4627@TK5EX14MBXC286.redmond.corp.microsoft.com> <CALaySJLEPU0TifJ6j5o66gD_=kxefoKzPzo-LYz5NutSF0pZ3A@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439BAF5B05@TK5EX14MBXC286.redmond.corp.microsoft.com> <5434909A.8000806@cs.tcd.ie>
In-Reply-To: <5434909A.8000806@cs.tcd.ie>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.33]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
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)(6009001)(438002)(199003)(189002)(24454002)(164054003)(13464003)(479174003)(377454003)(15202345003)(20776003)(97736003)(66066001)(64706001)(47776003)(23676002)(15975445006)(84676001)(26826002)(110136001)(76482002)(33656002)(6806004)(2656002)(87936001)(92726001)(50466002)(69596002)(85806002)(44976005)(68736004)(86362001)(19580405001)(19580395003)(92566001)(86612001)(104016003)(31966008)(85852003)(55846006)(107046002)(230783001)(99396003)(4396001)(106116001)(106466001)(81156004)(77096002)(95666004)(50986999)(93886004)(46102003)(21056001)(80022003)(85306004)(54356999)(120916001)(76176999); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR03MB282; H:mail.microsoft.com; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en;
X-Microsoft-Antispam: UriScan:;
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB282;
X-O365ENT-EOP-Header: Message processed by - O365_ENT: Allow from ranges (Engineering ONLY)
X-Exchange-Antispam-Report-Test: UriScan:;
X-Forefront-PRVS: 03706074BC
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/EgKc3yKeWKKYDY-9622UTeKhL7I
Cc: Jim Schaad <ietf@augustcellars.com>, "jose-chairs@tools.ietf.org" <jose-chairs@tools.ietf.org>, "draft-ietf-jose-json-web-key@tools.ietf.org" <draft-ietf-jose-json-web-key@tools.ietf.org>, The IESG <iesg@ietf.org>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Stephen Farrell's Discuss on draft-ietf-jose-json-web-key-33: (with DISCUSS and COMMENT)
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: Mon, 20 Oct 2014 15:39:35 -0000

Hi Stephen,

Could you take a look at the text changes made and responses your DISCUSS positions in the next few days?  We’re down to a week left to submit new drafts and if we need to make further changes for you, it would be good to know what they are before that.

For your DISCUSS on JWK, this text was added in http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-35#section-5.3:

   Some applications may include case-insensitive information in a case-
   sensitive value, such as including a DNS name as part of a "kid" (key
   ID) value.  In those cases, the application may need to define a
   convention for the canonical case to use for representing the case-
   insensitive portions, such as lowercasing them, if more than one
   party might need to produce the same value so that they can be
   compared.  (However if all other parties consume whatever value the
   producing party emitted verbatim without attempting to compare it to
   an independently produced value, then the case used by the producer
   will not matter.)

For your DISCUSS on JWA about the "oth" RSA private key parameters.  I'd responded to that on the list, but didn't delete it.

For your (3) on JWT, I did add this text in http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-29#section-12:

   Of course, including
   only necessary privacy-sensitive information in a JWT is the most
   basic means of minimizing any potential privacy issues.

The proposed resolutions were applied in response to your COMMENT positions too.

                                                            Thanks,
                                                            -- Mike

-----Original Message-----
From: Stephen Farrell [mailto:stephen.farrell@cs.tcd.ie] 
Sent: Tuesday, October 07, 2014 6:17 PM
To: Mike Jones; Barry Leiba
Cc: jose-chairs@tools.ietf.org; Jim Schaad; Ted Lemon; jose@ietf.org; draft-ietf-jose-json-web-key@tools.ietf.org; The IESG
Subject: Re: [jose] Stephen Farrell's Discuss on draft-ietf-jose-json-web-key-33: (with DISCUSS and COMMENT)



On 08/10/14 01:47, Mike Jones wrote:
> The real rule is "always case sensitive unless otherwise specified".
> I think the right fix is to be clear on that point.  Stephen and 
> Barry, can I proceed on that basis and have you review the proposed 
> edits?

I'm not clear what edits you are proposing but I do think that submitting an updated draft is fine and we can look at that and see how it maps to the various discuss/comment points more easily than fully process this many threads in parallel.

That said, I don't agree that the "rule" you state above is universal - messy as it may be, reality requires dealing with both case sensitive and case insensitive identifiers as well as i18n for string comparisons. In the case of key ids, I don't think there's a generic i18n issue, but there is a real issue that DNS names will be used as part of key ids. That real issue cannot be wished away via specification language no matter how smart or subtle so any updated text that does not have some level of messiness will unfortunately likely not be fit for purpose. (If however your edits are pretty much along the lines of the text previously discussed, then as I've said, I'll be fine to clear the discuss.)

S.