Re: [OAUTH-WG] Updated OAuth PoP documents

Sergey Beryozkin <sberyozkin@gmail.com> Fri, 07 November 2014 15:58 UTC

Return-Path: <sberyozkin@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F18E1A87D9 for <oauth@ietfa.amsl.com>; Fri, 7 Nov 2014 07:58:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=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 QvNo10bEI0zt for <oauth@ietfa.amsl.com>; Fri, 7 Nov 2014 07:58:28 -0800 (PST)
Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 09F511A875C for <oauth@ietf.org>; Fri, 7 Nov 2014 07:58:27 -0800 (PST)
Received: by mail-wi0-f173.google.com with SMTP id n3so4992610wiv.12 for <oauth@ietf.org>; Fri, 07 Nov 2014 07:58:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=f1RbbbLqKAC7gR7bBodkYBsg+1G6H7UkH/dIXwW9QdY=; b=pKZxq0a6IqLwjz6mcnh6gXxGVOdeamaVfgL0KXIVF76VL9cgJo0A010ZsE4nOh2Ag5 d7avW56W3HjhF2ypWkCDUW/5x9SLEcKe/XnEYpRIlOwIk/gjuixRa0amnrcZz5NkzMUj GVsKopxmLL48pxPLtM2V3/z604W4jPj4ZNcEQGQJEC4VjcCN0gl/baMMOjrujLVASdTq M7Zz+XXHzgmfbFn3fGkXlwvwlOVLb0q8CEyfzR6Zi4fG84XzA04fZvoXt8yIup+/+oUO uKgkeqTuoWCfaB5pQpQfcCdFZzKl5nr4vICX3Z+5330yhHZhpOIvkZ+hNWAq4u0qFYZq GsRw==
X-Received: by 10.181.11.169 with SMTP id ej9mr6033563wid.75.1415375460649; Fri, 07 Nov 2014 07:51:00 -0800 (PST)
Received: from [10.36.226.2] ([80.169.137.63]) by mx.google.com with ESMTPSA id gy4sm2500365wib.11.2014.11.07.07.50.59 for <oauth@ietf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Nov 2014 07:50:59 -0800 (PST)
Message-ID: <545CEA62.6050508@gmail.com>
Date: Fri, 07 Nov 2014 15:50:58 +0000
From: Sergey Beryozkin <sberyozkin@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: oauth@ietf.org
References: <53AC1528.9080709@gmx.net>
In-Reply-To: <53AC1528.9080709@gmx.net>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/oauth/CN8hjdxuV4rGizAeUyghzkyrbBw
Subject: Re: [OAUTH-WG] Updated OAuth PoP documents
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.15
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: Fri, 07 Nov 2014 15:58:30 -0000

Hi
On 26/06/14 13:42, Hannes Tschofenig wrote:
> Hi all,
>
> I read through three of the OAuth proof-of-possession documents and made
> a few minor changes here and there (mostly editorial & updated references).
>
> Here are the three docs:
> http://tools.ietf.org/html/draft-hunt-oauth-pop-architecture-02
> http://tools.ietf.org/html/draft-bradley-oauth-pop-key-distribution-01
> http://tools.ietf.org/html/draft-jones-oauth-proof-of-possession-01
>
> While there are a few open issues I believe that these three documents
> are in fairly good shape.
>
> Is someone willing to do a review?
>
Few comments to
https://tools.ietf.org/html/draft-bradley-oauth-pop-key-distribution-01:

- it is unclear what the new token_type if any is introduced, for 
example, the section 6 says no new token type is introduced, while the 
symmetric example uses a "pop" value and the assymetric key response 
example says:
"The new token type "public_key" is placed into the 'token_type' parameter"

Is the new type is actually introduced and it is "pop" and the clients 
making the requests to RS should use a "POP"/"pop" scheme ?

http://tools.ietf.org/html/draft-jones-oauth-proof-of-possession-01

uses "pop" but I'm not 100% sure...

- The assymetric key example suggests that just a JWS-signed access 
token is returned. This implies a client can easily introspect it - 
which is not a big problem in this case - but it leads the client toward 
writing a code that is bound to an access token structure - therefore 
such a client code won't inter-operate with the AS sending a bearer 
token; IMHO the access token structure should absolutely be opaque to 
the clients, i.e, if it is JWT then it must be JWE protected

Thanks, Sergey

> Ciao
> Hannes
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>