Re: [jose] Ted Lemon's No Objection on draft-ietf-jose-json-web-key-33: (with COMMENT)

Mike Jones <Michael.Jones@microsoft.com> Sat, 10 January 2015 22:05 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 AB31F1A03C7; Sat, 10 Jan 2015 14:05:17 -0800 (PST)
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, 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 i-2g9ddVPtG6; Sat, 10 Jan 2015 14:05:14 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0787.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::787]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 73D721A03A9; Sat, 10 Jan 2015 14:05:14 -0800 (PST)
Received: from DM2PR0301MB1214.namprd03.prod.outlook.com (25.160.219.155) by DM2PR0301MB0608.namprd03.prod.outlook.com (25.160.95.24) with Microsoft SMTP Server (TLS) id 15.1.53.17; Sat, 10 Jan 2015 22:04:52 +0000
Received: from BN3PR0301CA0007.namprd03.prod.outlook.com (25.160.180.145) by DM2PR0301MB1214.namprd03.prod.outlook.com (25.160.219.155) with Microsoft SMTP Server (TLS) id 15.1.49.12; Sat, 10 Jan 2015 22:04:51 +0000
Received: from BN1BFFO11FD047.protection.gbl (2a01:111:f400:7c10::1:186) by BN3PR0301CA0007.outlook.office365.com (2a01:111:e400:4000::17) with Microsoft SMTP Server (TLS) id 15.1.53.17 via Frontend Transport; Sat, 10 Jan 2015 22:04:50 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1BFFO11FD047.mail.protection.outlook.com (10.58.145.2) with Microsoft SMTP Server (TLS) id 15.1.49.13 via Frontend Transport; Sat, 10 Jan 2015 22:04:50 +0000
Received: from TK5EX14MBXC287.redmond.corp.microsoft.com ([169.254.2.242]) by TK5EX14MLTC102.redmond.corp.microsoft.com ([157.54.79.180]) with mapi id 14.03.0210.003; Sat, 10 Jan 2015 22:04:11 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Ted Lemon <Ted.Lemon@nominum.com>
Thread-Topic: Ted Lemon's No Objection on draft-ietf-jose-json-web-key-33: (with COMMENT)
Thread-Index: AQHQLNapZt1MrDxVMkCyeGCnIC1a+Zy55WHg
Date: Sat, 10 Jan 2015 22:04:11 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439BC64A74@TK5EX14MBXC287.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739439BC633F2@TK5EX14MBXC287.redmond.corp.microsoft.com> <B0DAC27C-B311-4E4E-A27F-FCF8427974F7@nominum.com>
In-Reply-To: <B0DAC27C-B311-4E4E-A27F-FCF8427974F7@nominum.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: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EOPAttributedMessage: 0
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-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(438002)(24454002)(199003)(13464003)(52604005)(43784003)(377454003)(189002)(19580405001)(46406003)(86612001)(19580395003)(6806004)(104016003)(47776003)(81156004)(97756001)(110136001)(230783001)(54356999)(76176999)(26826002)(50986999)(55846006)(86362001)(87936001)(102836002)(46102003)(68736005)(50466002)(2920100001)(64706001)(106466001)(2950100001)(106116001)(2900100001)(69596002)(66066001)(62966003)(97736003)(33656002)(23726002)(2656002)(77156002)(92566002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB1214; H:mail.microsoft.com; FPR:; SPF:Pass; MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en;
X-DmarcStatus-Test: Passed
X-DmarcAction-Test: None
X-Microsoft-Antispam: UriScan:;UriScan:;
X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(3003003)(3005003); SRVR:DM2PR0301MB1214;
X-O365ENT-EOP-Header: Message processed by - O365_ENT: Allow from ranges (Engineering ONLY)
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004); SRVR:DM2PR0301MB1214;
X-Forefront-PRVS: 0452022BE1
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB1214;
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2015 22:04:50.4678 (UTC)
X-MS-Exchange-CrossTenant-Id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=72f988bf-86f1-41af-91ab-2d7cd011db47; Ip=[131.107.125.37]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB1214
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0608;
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/jose/_QKQhxv26ay_JoPUh-Qcivh8vnk>
Cc: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.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>, "iesg@ietf.org" <iesg@ietf.org>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Ted Lemon's No Objection on draft-ietf-jose-json-web-key-33: (with 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: Sat, 10 Jan 2015 22:05:18 -0000

Hi Ted,

Rather than adding a clarification/disclaimer clause, how about this wording, which keeps things simple and inline?

   UTF8(STRING) denotes the octets of the UTF-8 [RFC3629] representation of STRING, where STRING is a sequence of zero or more Unicode characters.

   ASCII(STRING) denotes the octets of the ASCII [RFC20] representation of STRING, where STRING is a sequence of zero or more ASCII characters.

In particular, I'd rather avoid the description "unspecified" in the specs, which could raise more questions than it answers for implementers.  Also, I believe that the new clauses accomplish the constraining of the character sets that your wording included.

Does that work for you?

				Thanks again,
				-- Mike

-----Original Message-----
From: Ted Lemon [mailto:Ted.Lemon@nominum.com] 
Sent: Saturday, January 10, 2015 5:09 AM
To: Mike Jones
Cc: iesg@ietf.org; jose-chairs@tools.ietf.org; Kathleen Moriarty; draft-ietf-jose-json-web-key@tools.ietf.org; jose@ietf.org
Subject: Re: Ted Lemon's No Objection on draft-ietf-jose-json-web-key-33: (with COMMENT)

On Jan 9, 2015, at 11:52 PM, Mike Jones <Michael.Jones@microsoft.com> wrote:
> If you think that the current notation is unclear, we should sort out how to clarify it.  The best I've come up with is to add the phrase ", where STRING is a sequence of zero or more Unicode characters" to these definitions.  (The language "sequence of zero or more Unicode characters" comes from the introduction to RFC 7159.)  Do you think that would address your questions, or do you have an alternate suggestion?

You could add a note that says something like this:

The specific encoding, ASCII(string) or UTF8(string) specifies how string is encoded as a sequence of octets.   The original encoding of string is unspecified, although the specific encoding does also constrain the set of characters that can appear in string.

> Sorry again for you not receiving a reply to this until now!

I thought you had, but it's no problem either way.   Thanks for checking back on it!