Re: [OAUTH-WG] JSON Web Token (JWT) Specification Draft

Dick Hardt <dick.hardt@gmail.com> Mon, 27 September 2010 04:55 UTC

Return-Path: <dick.hardt@gmail.com>
X-Original-To: oauth@core3.amsl.com
Delivered-To: oauth@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A0DA93A6B16 for <oauth@core3.amsl.com>; Sun, 26 Sep 2010 21:55:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.528
X-Spam-Level:
X-Spam-Status: No, score=-2.528 tagged_above=-999 required=5 tests=[AWL=0.070, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mRFvOe9mwDqT for <oauth@core3.amsl.com>; Sun, 26 Sep 2010 21:55:14 -0700 (PDT)
Received: from mail-pv0-f172.google.com (mail-pv0-f172.google.com [74.125.83.172]) by core3.amsl.com (Postfix) with ESMTP id 5F1FE3A6851 for <oauth@ietf.org>; Sun, 26 Sep 2010 21:55:04 -0700 (PDT)
Received: by pvg7 with SMTP id 7so1481419pvg.31 for <oauth@ietf.org>; Sun, 26 Sep 2010 21:55:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:message-id:references:to :x-mailer; bh=wy332LDI+F9TeVJtjpheJNZSyHSSOrwiSXUnfi4e7cQ=; b=Hdw+WBserG+BIIwI8PMCedPuh8yQis9WEc4HM0IBpTAY411GbdEO5VepEBu5oIHIYK bMGPkG5lOm/8xPYpbPuprB/jLbzjBBVfFesf+YUb/gfEM9Ow9RauZdfWPGtLhHe6dgma RRIb+dEehx4rmSza9GNNgmgBZHa7usceyGvX8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; b=WDrsPvzm7dDDlrWtE1hD8EIIvU9u6mMMx0p9ATXUx6nlgfCcyPWY8TXlkUP5Z6kUBS QFH5HeblhDpIsdh3mAMt4ITFGFl7yLV7kFgZIyihVcX29zQs2KyiKCxq+vmNrQFabFy4 MNd7xDGP04evlNK3IACRv66cGL7rExfL2odPs=
Received: by 10.114.133.11 with SMTP id g11mr7744486wad.213.1285563342778; Sun, 26 Sep 2010 21:55:42 -0700 (PDT)
Received: from [192.168.1.5] (c-24-130-32-55.hsd1.ca.comcast.net [24.130.32.55]) by mx.google.com with ESMTPS id d2sm9723184wam.14.2010.09.26.21.55.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 26 Sep 2010 21:55:41 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: multipart/alternative; boundary="Apple-Mail-5-165977077"
From: Dick Hardt <dick.hardt@gmail.com>
In-Reply-To: <4E1F6AAD24975D4BA5B168042967394313FBA71C@TK5EX14MBXC202.redmond.corp.microsoft.com>
Date: Sun, 26 Sep 2010 21:55:38 -0700
Message-Id: <4E0C8F8A-15CE-47DF-B58D-A53C5FFB14A4@gmail.com>
References: <4E1F6AAD24975D4BA5B168042967394313F95E5F@TK5EX14MBXC202.redmond.corp.microsoft.com> <9B677A76-F163-4542-B898-EFAF612D936B@gmail.com> <4E1F6AAD24975D4BA5B168042967394313FBA71C@TK5EX14MBXC202.redmond.corp.microsoft.com>
To: Mike Jones <Michael.Jones@microsoft.com>
X-Mailer: Apple Mail (2.1081)
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] JSON Web Token (JWT) Specification Draft
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/oauth>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Sep 2010 04:55:22 -0000

Don't put the signature information in the token, put it in a separate component (an envelope) that describes how the token is either signed or encrypted. See discussion from June:

http://www.ietf.org/mail-archive/web/oauth/current/msg03211.html

On 2010-09-26, at 9:20 PM, Mike Jones wrote:

> I’d be open to a proposal for also supporting encryption.  The draft was intended to be a starting point for productive discussion – not a finished product.
>  
> Your thoughts?
>  
>                                                             -- Mike
>  
> From: Dick Hardt [mailto:dick.hardt@gmail.com] 
> Sent: Sunday, September 26, 2010 9:17 PM
> To: Mike Jones
> Cc: oauth@ietf.org
> Subject: Re: [OAUTH-WG] JSON Web Token (JWT) Specification Draft
>  
> Did you intentionally decide not to support encrypting the token?
>  
> On 2010-09-23, at 5:22 PM, Mike Jones wrote:
> 
> 
> Recognizing that there is substantial interest in representing sets of claims in JSON tokens, Yaron Goland and I have put together a draft JSON Web Token (JWT) spec for that purpose.
>  
> To answer the obvious question, while this was produced independently of Dirk’s JSON token proposal, both of us agree that we should come up with a unified spec.  Consider this an additional point in the possible design space from which to start discussions and drive consensus.  (If you read the two proposals, I think you’ll find that there’s already a lot in common, which is great.)
>  
> Thanks to those of you who have already given us feedback to improve the draft prior to this point.
>  
>                                                             Cheers,
>                                                             -- Mike
>  
> <jwt.html><jwt.xml>_______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>