Re: [jose] Barry Leiba's No Objection on draft-ietf-jose-json-web-encryption-32: (with COMMENT)

Mike Jones <Michael.Jones@microsoft.com> Sun, 19 October 2014 22:26 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 B5EB11A0273; Sun, 19 Oct 2014 15:26:42 -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, 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 TFGFE6Ge_Ken; Sun, 19 Oct 2014 15:26:40 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0729.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::729]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2F1471A005B; Sun, 19 Oct 2014 15:26:40 -0700 (PDT)
Received: from CH1PR03CA008.namprd03.prod.outlook.com (10.255.156.153) by BL2PR03MB388.namprd03.prod.outlook.com (10.141.91.153) with Microsoft SMTP Server (TLS) id 15.0.1054.13; Sun, 19 Oct 2014 22:26:17 +0000
Received: from BL2FFO11FD016.protection.gbl (10.255.156.132) by CH1PR03CA008.outlook.office365.com (10.255.156.153) with Microsoft SMTP Server (TLS) id 15.0.1054.13 via Frontend Transport; Sun, 19 Oct 2014 22:26:16 +0000
Received: from mail.microsoft.com (131.107.125.37) by BL2FFO11FD016.mail.protection.outlook.com (10.173.160.224) with Microsoft SMTP Server (TLS) id 15.0.1049.20 via Frontend Transport; Sun, 19 Oct 2014 22:26:16 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.93]) by TK5EX14HUBC104.redmond.corp.microsoft.com ([157.54.80.25]) with mapi id 14.03.0210.003; Sun, 19 Oct 2014 22:25:50 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, 'Barry Leiba' <barryleiba@computer.org>
Thread-Topic: [jose] Barry Leiba's No Objection on draft-ietf-jose-json-web-encryption-32: (with COMMENT)
Thread-Index: Ac/nrA4E9oLwr/BIQBOStfxiBOaJIQDVL1AAAAhDXsAAMj4XAAAAJRew
Date: Sun, 19 Oct 2014 22:25:49 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439BB19AE7@TK5EX14MBXC286.redmond.corp.microsoft.com>
References: <4E1F6AAD24975D4BA5B16804296739439BB0D0F1@TK5EX14MBXC286.redmond.corp.microsoft.com> <009a01cfeb00$cbe93760$63bba620$@augustcellars.com> <4E1F6AAD24975D4BA5B16804296739439BB18D9B@TK5EX14MBXC286.redmond.corp.microsoft.com> <014f01cfebea$d1af6080$750e2180$@augustcellars.com>
In-Reply-To: <014f01cfebea$d1af6080$750e2180$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.34]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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)(377454003)(189002)(13464003)(51444003)(51704005)(199003)(46102003)(80022003)(86362001)(99396003)(81156004)(15975445006)(85306004)(93886004)(68736004)(69596002)(104016003)(95666004)(106466001)(44976005)(19580395003)(77096002)(107046002)(6806004)(19580405001)(120916001)(50466002)(84676001)(54356999)(92566001)(76176999)(15202345003)(92726001)(4396001)(85852003)(87936001)(31966008)(230783001)(21056001)(50986999)(85806002)(76482002)(2656002)(97736003)(33656002)(23756003)(55846006)(66066001)(64706001)(20776003)(47776003); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB388; H:mail.microsoft.com; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en;
X-Microsoft-Antispam: UriScan:;
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB388;
X-O365ENT-EOP-Header: Message processed by - O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0369E8196C
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/kNH1H0WC266cvnb_mBYhdHWk78M
Cc: "draft-ietf-jose-json-web-encryption@tools.ietf.org" <draft-ietf-jose-json-web-encryption@tools.ietf.org>, "jose-chairs@tools.ietf.org" <jose-chairs@tools.ietf.org>, 'The IESG' <iesg@ietf.org>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Barry Leiba's No Objection on draft-ietf-jose-json-web-encryption-32: (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: Sun, 19 Oct 2014 22:26:42 -0000

> -----Original Message-----
> From: Jim Schaad [mailto:ietf@augustcellars.com]
> Sent: Sunday, October 19, 2014 3:20 PM
> To: Mike Jones; 'Barry Leiba'
> Cc: draft-ietf-jose-json-web-encryption@tools.ietf.org; jose-
> chairs@tools.ietf.org; 'The IESG'; jose@ietf.org
> Subject: RE: [jose] Barry Leiba's No Objection on draft-ietf-jose-json-web-
> encryption-32: (with COMMENT)
> 
> > -----Original Message-----
> > From: Mike Jones [mailto:Michael.Jones@microsoft.com]
> > Sent: Saturday, October 18, 2014 3:28 PM
> > To: Jim Schaad; 'Barry Leiba'
> > Cc: draft-ietf-jose-json-web-encryption@tools.ietf.org; jose-
> > chairs@tools.ietf.org; 'The IESG'; jose@ietf.org
> > Subject: RE: [jose] Barry Leiba's No Objection on
> draft-ietf-jose-json-web-
> > encryption-32: (with COMMENT)
> >
> > > > The intent is b.  I propose that the words "This member MUST be
> > > > present, even if the array elements contain only the empty JSON
> > > > object "{}"" be changed to "This member MUST be present with
> > > > exactly one array element per recipient, even if some or all of
> > > > the array element values are the empty JSON object {}".  Would that be
> clearer?
> > >
> > > I think that would have helped me.  Again, another small point.
> > >
> > > OK
> > >
> > > [JLS]  I think that this language may not be correct.  Did you mean
> > > to
> imply
> > that the following is a legal value for the "recipients" property.
> "[{},{}]"
> > > It appears that there can be any number of empty array elements can
> > > be
> > present.
> > >
> > > If this is not the case I will try and look at proposing some text.
> >
> > The full text about the recipients array at
> http://tools.ietf.org/html/draft-
> > ietf-jose-json-web-encryption-35#section-7.2 is:
> >
> >    recipients
> >       The "recipients" member value MUST be an array of JSON objects.
> >       Each object contains information specific to a single recipient.
> >       This member MUST be present with exactly one array element per
> >       recipient, even if some or all of the array element values are the
> >       empty JSON object "{}" (which can happen when all Header Parameter
> >       values are shared between all recipients and when no encrypted key
> >       is used, such as when doing Direct Encryption).
> >
> > So it's not that any number of empty array elements can be present.
> > It's
> that
> > exactly one JSON object must be present in the array per recipient,
> > some
> of
> > which may be empty because of the parameter choices made.
> 
> This does not answer my question.  Is it a legal value?

[{},{}] is a legal value in the case that there are exactly two recipients, both of which have no per-recipient header parameter values or encrypted key values.

> Jim
> 
> >
> > 				-- Mike

				-- Mike