Re: [OAUTH-WG] OAuth 2.0: client_secret, state

David Recordon <recordond@gmail.com> Tue, 23 March 2010 01:50 UTC

Return-Path: <recordond@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 83D193A6828 for <oauth@core3.amsl.com>; Mon, 22 Mar 2010 18:50:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.473
X-Spam-Level:
X-Spam-Status: No, score=-1.473 tagged_above=-999 required=5 tests=[AWL=-0.004, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
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 INuJfhavU79u for <oauth@core3.amsl.com>; Mon, 22 Mar 2010 18:50:17 -0700 (PDT)
Received: from mail-iw0-f197.google.com (mail-iw0-f197.google.com [209.85.223.197]) by core3.amsl.com (Postfix) with ESMTP id ADBF83A6824 for <oauth@ietf.org>; Mon, 22 Mar 2010 18:50:17 -0700 (PDT)
Received: by iwn35 with SMTP id 35so3310769iwn.31 for <oauth@ietf.org>; Mon, 22 Mar 2010 18:50:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=IY2zj24b7/i0lOQHiQZypX1rjZb726sYgo+awMyR/KY=; b=ZoZLletMNFoD9Ur+fmAj3jSUkdKPy4f8cNW61idRGSwQU41McefP0h4LZTyj0UqrKn zCT6z7TyCNyFYJNZWt47Xy1Qds7IlzrXu+p7f9TB0cuvnVFbroqG7l91RFohS34PyzCP tev4gxIGW5/MXurVz7TrH5WmREAVWsqy3qq6I=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=gxpTaLim+l4YJrMruTiXWAQwR7v+5AgHpyLVXlNjNLq+oENTPlgwEAlhAU7uU956SQ JNOOKBTQ0UoIMdRQM6rZuxZkhj7q7xLTU4Tb7+3vdUMg95iDB64g3hZlXfxMkWPrxXfD ybyu6qrKotCsLPFiZlTbP5Fw8e5kU2LRkQ72g=
MIME-Version: 1.0
Received: by 10.231.158.205 with SMTP id g13mr16666ibx.30.1269309033271; Mon, 22 Mar 2010 18:50:33 -0700 (PDT)
In-Reply-To: <C7CD4960.27E8C%atom@yahoo-inc.com>
References: <255B9BB34FB7D647A506DC292726F6E11253230F19@WSMSG3153V.srv.dir.telstra.com> <C7CD4960.27E8C%atom@yahoo-inc.com>
Date: Mon, 22 Mar 2010 18:50:33 -0700
Message-ID: <fd6741651003221850ubccc590t5abb3ab42d5a22e6@mail.gmail.com>
From: David Recordon <recordond@gmail.com>
To: Allen Tom <atom@yahoo-inc.com>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] OAuth 2.0: client_secret, state
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: Tue, 23 Mar 2010 01:50:18 -0000

Hey Allen,
Thanks for the feedback! I'm planning to remove the client secret from
the signature mechanism as I heard this from someone else as well.

--David

On Mon, Mar 22, 2010 at 4:20 PM, Allen Tom <atom@yahoo-inc.com> wrote:
> Hi All -
>
> Regarding the client secret - one of the design goals for OAuth-WRAP was to
> cleanly separate the AuthZ server from the Protected Resource. The Protected
> Resource should only have to know how to validate Access Tokens issued by
> its AuthZ server.
>
> The HMAC-SHA1 signature method defined in 4.2.1.1 of the Oauth 2.0 spec
> violates this principle because it requires the protected resource to have
> the client secret in order to validate the signature. Distributing the
> client secret to all Protected Resources can have negative security and
> performance implications.
>
> http://www.ietf.org/mail-archive/web/oauth/current/msg01396.html#compute_sig
>
> I recommend removing the client secret from the signature calculation, and
> instead using only the Access Token secret.
>
> Allen
>
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>