Return-Path: <balfanz@google.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 D9FE13A67D3 for <oauth@core3.amsl.com>;
 Tue, 13 Jul 2010 08:55:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.976
X-Spam-Level: 
X-Spam-Status: No, score=-101.976 tagged_above=-999 required=5
 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001,
 USER_IN_WHITELIST=-100]
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 gXDZhNyvVr+j for
 <oauth@core3.amsl.com>; Tue, 13 Jul 2010 08:55:53 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by
 core3.amsl.com (Postfix) with ESMTP id 814CA3A6848 for <oauth@ietf.org>;
 Tue, 13 Jul 2010 08:55:52 -0700 (PDT)
Received: from hpaq11.eem.corp.google.com (hpaq11.eem.corp.google.com
 [172.25.149.11]) by smtp-out.google.com with ESMTP id o6DFu0WQ031062 for
 <oauth@ietf.org>; Tue, 13 Jul 2010 08:56:00 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta;
 t=1279036560; bh=ovjRXD+0OzpatBrbMEG8fJj8AqI=;
 h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type;
 b=u327ct7geQf6pyusVk9YPYsn/96/Hi400bhdtDOeXgt1QsHwe4ieGuv081/D5LsFX
 ePSOSx6h/QOTdP6mIgPkg==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:x-system-of-record;
 b=yV5nvejWMMhJnZTw/H+pkifx9Yze9CGCu7fcD4BOOScZyJpHckD4pse3CBrFlRYtw
 ByHphg1Dfn1MUppx7Lqug==
Received: from iwn39 (iwn39.prod.google.com [10.241.68.103]) by
 hpaq11.eem.corp.google.com with ESMTP id o6DFtxJl020218 for <oauth@ietf.org>;
 Tue, 13 Jul 2010 08:55:59 -0700
Received: by iwn39 with SMTP id 39so5860351iwn.10 for <oauth@ietf.org>;
 Tue, 13 Jul 2010 08:55:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.231.13.199 with SMTP id d7mr16463461iba.167.1279036557288;
 Tue, 13 Jul 2010 08:55:57 -0700 (PDT)
Received: by 10.231.130.9 with HTTP; Tue, 13 Jul 2010 08:55:57 -0700 (PDT)
In-Reply-To: <C861C3D4.37148%eran@hueniverse.com>
References: <AANLkTimgMHM9bdEPgcu99gwVyBySM0_RTSYl9mKkmAxU@mail.gmail.com>
 <C861C3D4.37148%eran@hueniverse.com>
Date: Tue, 13 Jul 2010 08:55:57 -0700
Message-ID: <AANLkTik6HM46ar9E8SaotUyiLHpF9o8iH_vZwd6H0Ths@mail.gmail.com>
From: Dirk Balfanz <balfanz@google.com>
To: Eran Hammer-Lahav <eran@hueniverse.com>
Content-Type: multipart/alternative; boundary=00235452eebca73b82048b46e755
X-System-Of-Record: true
Cc: OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] "shared symmetric secret"
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, 13 Jul 2010 15:55:54 -0000

--00235452eebca73b82048b46e755
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Jul 13, 2010 at 7:18 AM, Eran Hammer-Lahav <eran@hueniverse.com>wrote:

> From the client's perspective, they are 'shared symmetric secrets' because
> the client has to store them as-is and present them as-is. The act exactly
> like passwords. I added that text to make that stand out.
>
> When using passwords, the server doesn't need to store them in plain-text
> either (e.g. uses a way one hash).
>

That's why we don't call passwords "shared symmetric secrets", either. The
verifier of a passwords can verify it without knowing the secret. In that
sense, it's not "shared" with the verifier.

I would like the specification to make it clear that bearer tokens are only
> secure while they remain *secret* and that *anyone* holding them can gain
> full access to what their protect.
>

I think the word "capability" expresses that better than the word "shared
secret".

Dirk.


>
> EHL
>
> On 7/12/10 10:39 PM, "Brian Eaton" <beaton@google.com> wrote:
>
> > Section 5: http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5
> >
> > Calling access tokens "shared symmetric secrets" is misleading,
> > because if they are implemented well the authorization server and
> > protected resource do not store a copy of the secret.
> >
> > Instead they store a one-way hash of the token.  Or they verify the
> > token cryptographically.  Under no circumstances do they need to store
> > a copy.
> >
> > I'd suggest the following language:
> >
> > "Access tokens are bearer authentication tokens or capabilities."
> >
> > Cheers,
> > Brian
> > _______________________________________________
> > OAuth mailing list
> > OAuth@ietf.org
> > https://www.ietf.org/mailman/listinfo/oauth
> >
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>

--00235452eebca73b82048b46e755
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Jul 13, 2010 at 7:18 AM, Eran Ha=
mmer-Lahav <span dir=3D"ltr">&lt;<a href=3D"mailto:eran@hueniverse.com">era=
n@hueniverse.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
>From the client&#39;s perspective, they are &#39;shared symmetric secrets&#=
39; because<br>
the client has to store them as-is and present them as-is. The act exactly<=
br>
like passwords. I added that text to make that stand out.<br>
<br>
When using passwords, the server doesn&#39;t need to store them in plain-te=
xt<br>
either (e.g. uses a way one hash).<br></blockquote><div><br></div><div>That=
&#39;s why we don&#39;t call passwords &quot;shared symmetric secrets&quot;=
, either. The verifier of a passwords can verify it without knowing the sec=
ret.=A0In that sense, it&#39;s not &quot;shared&quot; with the verifier.=A0=
</div>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex;">I would like the specificati=
on to make it clear that bearer tokens are only<br>
secure while they remain *secret* and that *anyone* holding them can gain<b=
r>
full access to what their protect.<br></blockquote><div><br></div><div>I th=
ink the word &quot;capability&quot; expresses that better than the word &qu=
ot;shared secret&quot;.=A0</div><div><br></div><div>Dirk.</div><div>=A0</di=
v>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">
<font color=3D"#888888"><br>
EHL<br>
</font><div><div></div><div class=3D"h5"><br>
On 7/12/10 10:39 PM, &quot;Brian Eaton&quot; &lt;<a href=3D"mailto:beaton@g=
oogle.com">beaton@google.com</a>&gt; wrote:<br>
<br>
&gt; Section 5: <a href=3D"http://tools.ietf.org/html/draft-ietf-oauth-v2-1=
0#section-5" target=3D"_blank">http://tools.ietf.org/html/draft-ietf-oauth-=
v2-10#section-5</a><br>
&gt;<br>
&gt; Calling access tokens &quot;shared symmetric secrets&quot; is misleadi=
ng,<br>
&gt; because if they are implemented well the authorization server and<br>
&gt; protected resource do not store a copy of the secret.<br>
&gt;<br>
&gt; Instead they store a one-way hash of the token. =A0Or they verify the<=
br>
&gt; token cryptographically. =A0Under no circumstances do they need to sto=
re<br>
&gt; a copy.<br>
&gt;<br>
&gt; I&#39;d suggest the following language:<br>
&gt;<br>
&gt; &quot;Access tokens are bearer authentication tokens or capabilities.&=
quot;<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Brian<br>
&gt; _______________________________________________<br>
&gt; OAuth mailing list<br>
&gt; <a href=3D"mailto:OAuth@ietf.org">OAuth@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/oauth" target=3D"_bla=
nk">https://www.ietf.org/mailman/listinfo/oauth</a><br>
&gt;<br>
<br>
_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/oauth</a><br>
</div></div></blockquote></div><br>

--00235452eebca73b82048b46e755--
