Re: [jose] JWK member names, was: SECDIR review of draft-ietf-jose-json-web-key-31

John Bradley <ve7jtb@ve7jtb.com> Tue, 16 September 2014 20:13 UTC

Return-Path: <ve7jtb@ve7jtb.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 4AC541A00E8 for <jose@ietfa.amsl.com>; Tue, 16 Sep 2014 13:13:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 E2y81YUClIy3 for <jose@ietfa.amsl.com>; Tue, 16 Sep 2014 13:13:02 -0700 (PDT)
Received: from mail-qc0-f175.google.com (mail-qc0-f175.google.com [209.85.216.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DBD081A00D2 for <jose@ietf.org>; Tue, 16 Sep 2014 13:13:01 -0700 (PDT)
Received: by mail-qc0-f175.google.com with SMTP id w7so597652qcr.20 for <jose@ietf.org>; Tue, 16 Sep 2014 13:13:00 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=S/0g2Tn/IQkWWo+2UhJd2i1AdP9sP3HUXPQraV67sLA=; b=VqxBlOPF+9Pu4WD1eeMHReSU0lcxc3/nDo0scEvvlexNTXR7K//COSXRJ8gRpHfWDT SZ0ZpaWtkWr1b7Ys7KxWLhXltNMhStFLAnbQAoDyce+1o2TyjnvwsWcHNq1YKy8NK8OP 9fHc9sqhA8FkIk8WKnxcXY24o93K0odtVYdTb/CmSrLREaoHKhJjhP7DVahc2Q2RDR4b XXOOYIHWJILPR4mZhOFb5FXPh/PVDghnP0aE7ty/Zwtt8RLZmFZkRm/g22Jc3B1vBtLE E09CcUOgw1Zr2Su996c+KkU4acGwxqUwqoXsVnlBGY8ZGMkeIql2tlEfhymDyslcJ2gn BUzw==
X-Gm-Message-State: ALoCoQnYAFQ72CJs1BRGiUQZU95TxUajAGLrrSX3JYQA5m1afS1Xt9yhwtunX3YgNqh03nRWWQSD
X-Received: by 10.224.15.201 with SMTP id l9mr44242419qaa.27.1410898380817; Tue, 16 Sep 2014 13:13:00 -0700 (PDT)
Received: from [107.18.148.173] ([107.18.148.173]) by mx.google.com with ESMTPSA id o94sm12584913qge.11.2014.09.16.13.12.57 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Sep 2014 13:12:58 -0700 (PDT)
Content-Type: multipart/signed; boundary="Apple-Mail=_68ACEB12-DA4D-450D-A5C9-5826B3813F07"; protocol="application/pkcs7-signature"; micalg="sha1"
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <5418987E.1060307@bbn.com>
Date: Tue, 16 Sep 2014 17:12:56 -0300
Message-Id: <CFD36394-E707-4D51-9689-DD8B1FD320D5@ve7jtb.com>
References: <CAHbuEH4Ccn2Z=8kEECzvgjmtshwsFoa-EH_NpkJPos7zirGeaQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439AEC00DB@TK5EX14MBXC292.redmond.corp.microsoft.com> <5416FE10.3060608@bbn.com> <CAHBU6iu3GfsLCAint3z7risZUnVW4EK0WrGVW6Dv=gvppiHSxQ@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439AECCCDD@TK5EX14MBXC292.redmond.corp.microsoft.com> <54173546.5000400@bbn.com> <CAHBU6ivb3BeEufcnJB+eSk8wgETMx+qzH3miE6Z1jtrQkXNR3w@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739439AECE40B@TK5EX14MBXC292.redmond.corp.microsoft.com> <54184EBA.3010109@bbn.com> <4E1F6AAD24975D4BA5B16804296739439AED1727@TK5EX14MBXC292.redmond.corp.microsoft.com> <5418987E.1060307@bbn.com>
To: Stephen Kent <kent@bbn.com>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/4wQ5YVx4Lt0Vrm-3cXLqR9MOk6s
Cc: "jose-chairs@tools.ietf.org" <jose-chairs@tools.ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "draft-ietf-jose-json-web-key.all@tools.ietf.org" <draft-ietf-jose-json-web-key.all@tools.ietf.org>, Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, Michael Jones <Michael.Jones@microsoft.com>, Tim Bray <tbray@textuality.com>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] JWK member names, was: SECDIR review of draft-ietf-jose-json-web-key-31
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, 16 Sep 2014 20:13:04 -0000

It is the first case.

JOSE libraries are typically using the built in JSON parsers in their environments at the moment.  Not surprisingly as the parsers are built in to most languages now.
It is those that don't reject duplicate members, not the JOSE libraries as the parser makes all but one of the duplicates disappear in most if not all cases.

John B.

On Sep 16, 2014, at 5:07 PM, Stephen Kent <kent@bbn.com> wrote:

> Mike,
>> ...
>> 
>> JWK objects are already used in production to distribute public keys.  For instance, the keys for Salesforce’s identity services are in JWK format at https://login.salesforce.com/id/keys.  (Note that I’m not saying that just because the current specs are in use, that no changes are possible.)
>> if not that, what is the point of this comment?
>> 
>> The point of the comment was simply to answer your question “What is the existing software to which you and Tim refer…?”
> And I have not yet received an answer to that question, in terms I can understand.
> 
> Let me try again.
> 
> What is the impediment to requiring a receiver of a JWK object to reject the object if
> it contains more than one instance of a key? 
> 
> Is it a limitation of a parser that are completely independent of the JOSE work that defines
> the JWK objects, or is it the result of how folks have written code to parse such objects?
> 
> If the answer is the first clause, then I understand the reluctance to impose that requirement.
> 
> If the answer is the latter, then this is an argument based on early implementation
> of an IETF spec, and that is not an good reason to accommodate such sloppiness.
> 
> Steve
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose