Re: [OAUTH-WG] OAuth WRAP

Peter Saint-Andre <stpeter@stpeter.im> Wed, 11 November 2009 21:14 UTC

Return-Path: <stpeter@stpeter.im>
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 8D3823A68ED for <oauth@core3.amsl.com>; Wed, 11 Nov 2009 13:14:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.805
X-Spam-Level:
X-Spam-Status: No, score=-2.805 tagged_above=-999 required=5 tests=[AWL=-0.206, BAYES_00=-2.599]
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 pWkJp-bTsQVE for <oauth@core3.amsl.com>; Wed, 11 Nov 2009 13:14:16 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 3A6AB3A69B8 for <oauth@ietf.org>; Wed, 11 Nov 2009 13:14:16 -0800 (PST)
Received: from host-113-169.meeting.ietf.org (64-104-46-217.cisco.com [64.104.46.217]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id DDD7240D09; Wed, 11 Nov 2009 14:14:42 -0700 (MST)
Message-ID: <4AFB2940.2030709@stpeter.im>
Date: Thu, 12 Nov 2009 06:14:40 +0900
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: John Panzer <jpanzer@google.com>
References: <daf5b9570911082102u215dcf22gf0aeb2f3578e5ea0@mail.gmail.com> <35D50F5C-3982-4298-A9E0-86A528F5C5D3@jkemp.net> <daf5b9570911092158k682aff63l959c423c399b2277@mail.gmail.com> <B1B9E4FC-0AF5-4357-B06F-F533C84F3C7D@microsoft.com> <cb5f7a380911101438v2dab3dbas7ab4d40961544833@mail.gmail.com>
In-Reply-To: <cb5f7a380911101438v2dab3dbas7ab4d40961544833@mail.gmail.com>
X-Enigmail-Version: 0.96.0
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="sha1"; boundary="------------ms010509080002010403010105"
Cc: Dick Hardt <Dick.Hardt@microsoft.com>, "oauth@ietf.org" <oauth@ietf.org>, oauth-wrap-wg <oauth-wrap-wg@googlegroups.com>
Subject: Re: [OAUTH-WG] OAuth WRAP
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: Wed, 11 Nov 2009 21:14:17 -0000

On 11/11/09 7:38 AM, John Panzer wrote:
> To clarify the distinctions between OAuth WRAP and OAuth 1.0a, the OAuth
> WRAP doc[1] Appendix C states the following:
> 
> "OAuth WRAP    requires        the     Authorization   Server  to    
>  support HTTPS,  OAuth   1.0A    does    not."

It's not clear to me that this distinction would force someone to define
or label a new protocol. For instance in XMPP the protocol requires
support for TLS in *implementations*, but leaves the use of TLS by any
one *deployment* up to local service policy.

> This is an important distinction, though I assume it applies only to the
> profile(s) supplied as part of WRAP and not to extension profile(s) that
> may be created.  E.g., one could create a fourth profile which did not
> require HTTPs -- it just would not be as interoperable as the others,
> and servers and clients are not required to support it, but it would be
> otherwise compatible with WRAP if I understand correctly.)
> 
> "The   Access  Token   in      OAuth   WRAP    is      opaque  to    
>  the     Client. 

Isn't the token always opaque to the client? What semantic information
should we expect a client to clean from an access token?

> The     Client  does    not     need    to      perform
> any     cryptography    except  for     calling HTTPS."

A security review would tell us if that assumption is warranted. And,
again, this seems to be more of a deployment choice (the client and
server require SSL/TLS and therefore feel safe in using PLAINTEXT) than
a protocol change.

> This is also important, but what is the difference between WRAP and
> OAuth 1.0A PLAINTEXT mode?  They seem to be pretty much identical to me,
> if there is a difference it should be called out.

Agreed.

> "The   Access  Token   in      OAuth   WRAP    can     contain
> authorization   information,    or      claims, enabling        the    
> Protected     Resource        to      determine       the     Client's  
>      authorization   without querying        any     other   resource."
> 
> I don't understand this distinction; this sounds exactly like the OAuth
> 1.0a token.  What am I missing?

Yes, this sounds very similar.

/psa