Re: [OAUTH-WG] December 27, 2012 OAuth Release

John Bradley <ve7jtb@ve7jtb.com> Sat, 05 January 2013 00:10 UTC

Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2EC021F8797 for <oauth@ietfa.amsl.com>; Fri, 4 Jan 2013 16:10:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[AWL=0.301, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CXaY1l40GazF for <oauth@ietfa.amsl.com>; Fri, 4 Jan 2013 16:10:09 -0800 (PST)
Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by ietfa.amsl.com (Postfix) with ESMTP id 7EB1E21F86BA for <oauth@ietf.org>; Fri, 4 Jan 2013 16:10:09 -0800 (PST)
Received: by mail-vc0-f170.google.com with SMTP id fl11so17184395vcb.15 for <oauth@ietf.org>; Fri, 04 Jan 2013 16:10:08 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :cc:message-id:references:to:x-mailer:x-gm-message-state; bh=bznY+FTqSxyq8JsLaq08J5b9xK/V+wEpanjrdbH/cHU=; b=LaXYnTpyw4vF5GK7ITQ3B2mg8QqMAiu62TBuTUqNlfRU2+2/46f86r9Hm7oY+1/XZM mNN2yAKm4tQb65HoPlobW3EOh2IYuJhOnB1tlRPgfVr7EWnBdV1/ZnuvIIbGqLdlqZbX xqncbnNh00pVLdE3C/YTM4cTuhgxiz6z4UXqM5uDcZcEh6bb6mySTFvQsWxR2zu641lu 5/rcC+8tz5yeVNpnRV7VokZED8nfZWvr3oLRtgWIeCkfog5hExuKPqBNNpzFdwaVH+0q dNJEcbixN3nP4p5O/cKrMtWd9VoYmXOR0E2014k3H1kZ5fZSNjODRk/w0bWDDui37fOm 0SAg==
X-Received: by 10.58.198.135 with SMTP id jc7mr78987293vec.51.1357344608736; Fri, 04 Jan 2013 16:10:08 -0800 (PST)
Received: from [192.168.1.211] (190-20-25-66.baf.movistar.cl. [190.20.25.66]) by mx.google.com with ESMTPS id y7sm47693319vdt.14.2013.01.04.16.10.04 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Jan 2013 16:10:07 -0800 (PST)
Content-Type: multipart/alternative; boundary="Apple-Mail=_95E905EA-4532-45AD-9C6C-074E7DF382A8"
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <1357343831.30497.YahooMailNeo@web31810.mail.mud.yahoo.com>
Date: Fri, 04 Jan 2013 21:09:58 -0300
Message-Id: <A288DB63-2515-46B7-8B5A-715873B32506@ve7jtb.com>
References: <4E1F6AAD24975D4BA5B1680429673943669B0A1E@TK5EX14MBXC283.redmond.corp.microsoft.com> <1356746794.51868.YahooMailNeo@web31807.mail.mud.yahoo.com> <4E1F6AAD24975D4BA5B1680429673943669FE2AD@TK5EX14MBXC283.redmond.corp.microsoft.com> <1357339700.37914.YahooMailNeo@web31816.mail.mud.yahoo.com> <E7EF196D-1771-477E-932B-917A4A85D5A6@ve7jtb.com> <1357343831.30497.YahooMailNeo@web31810.mail.mud.yahoo.com>
To: William Mills <wmills_92105@yahoo.com>
X-Mailer: Apple Mail (2.1499)
X-Gm-Message-State: ALoCoQnwb/lHgo1CNMsTG2+7rwnoJQgEgoyPxyvtxAl0usD3RSHuf+B2rhVAe9HNCujo2f2Kuk3R
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] December 27, 2012 OAuth Release
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Sat, 05 Jan 2013 00:10:10 -0000

In the Connect case part of discovery is a JSON document in .well-known that describes the servers capabilities. 
Something similar might work.  There is nothing JWT specific about the connect document though we do specify the JWA set of algorithms and JWK for publishing keys.

John
On 2013-01-04, at 8:57 PM, William Mills <wmills_92105@yahoo.com> wrote:

> Yeah, I think it would work. Adding client asserted JWT payload would also nicely get out of the whole question of where the nonce, timestamp, and such go and whether they can be part of the query string, which was always annoying with MAC and OAuth 1.
> 
> We still have the problem that some clients don't know what order the query or post arguments will be generated in, but that wasn't resolved yet anyway.
> 
> How do we solve for the server requiring a specific set of supported hashes and feeding that back to the client?
> 
> -bill
> 
> From: John Bradley <ve7jtb@ve7jtb.com>
> To: William Mills <wmills_92105@yahoo.com> 
> Cc: Mike Jones <Michael.Jones@microsoft.com>; "oauth@ietf.org" <oauth@ietf.org> 
> Sent: Friday, January 4, 2013 3:44 PM
> Subject: Re: [OAUTH-WG] December 27, 2012 OAuth Release
> 
> If everything you want to sign can go in the JWT there is nothing to stop that.   Otherwise you are back to coming up with a way of doing a detached signature and putting a hash in the JWT like connect is doing by putting a hash of the token in the id_token for the "token id_token} flow.
> 
> The hard part is figuring out what needs to be signed.   
> 
> As for client generated JWT we already have the JWT assertion profile.  Connect is using that as an option to authenticate to the token endpoint. 
> 
> Would doing a similar thing but to the RS really work for you?
> 
> John B.
> On 2013-01-04, at 7:48 PM, William Mills <wmills_92105@yahoo.com> wrote:
> 
>> It's the core problem I see MAC solving.  I'd be happy enough to define a JWT variant that does this if that's easier than MAC.  What do you think?
>> 
>> From: Mike Jones <Michael.Jones@microsoft.com>
>> To: William Mills <wmills_92105@yahoo.com>; "oauth@ietf.org" <oauth@ietf.org> 
>> Sent: Friday, January 4, 2013 2:35 PM
>> Subject: RE: [OAUTH-WG] December 27, 2012 OAuth Release
>> 
>> There’s no generic OAuth way to do this.  There is a way to do it in OpenID Connect – see request_object_signing_alg, userinfo_signed_response_alg, and id_token_signed_response_alg in http://openid.net/specs/openid-connect-registration-1_0-13.html#anchor3 and userinfo_signing_alg_values_supported, id_token_signing_alg_values_supported, and request_object_signing_alg_values_supported in http://openid.net/specs/openid-connect-discovery-1_0-11.html#anchor9.
>>  
>>                                                             -- Mike
>>  
>> From: William Mills [mailto:wmills_92105@yahoo.com] 
>> Sent: Friday, December 28, 2012 6:07 PM
>> To: Mike Jones; oauth@ietf.org
>> Subject: Re: [OAUTH-WG] December 27, 2012 OAuth Release
>>  
>> Mike,
>>  
>> I've read through the JWT spec and I'm curious about something.  How do I specify a signature requirement as the server?  I didn't see it but I probably just missed it.  I'm thinking that with very little work a JWT can do everything that MAC does with greater flexibility, *BUT* the server needs to be able to require a signed usage.  Something I never liked about OAuth 1.0 is that the server must support all valid signature types, even PLAINTEXT, so I want to be able to avoid that.
>>  
>> It would require the client to be able to include client generated stuff in the JWT.
>>  
>> Thanks,
>>  
>> -bill
>> 
>> 
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
> 
> 
>