Re: [OAUTH-WG] issuing new refresh tokens

Brian Eaton <beaton@google.com> Tue, 13 July 2010 21:59 UTC

Return-Path: <beaton@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 C90163A69C3 for <oauth@core3.amsl.com>; Tue, 13 Jul 2010 14:59:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.851
X-Spam-Level:
X-Spam-Status: No, score=-101.851 tagged_above=-999 required=5 tests=[AWL=0.126, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 jRpBKjNyZ2Zl for <oauth@core3.amsl.com>; Tue, 13 Jul 2010 14:59:20 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by core3.amsl.com (Postfix) with ESMTP id D341E3A6833 for <oauth@ietf.org>; Tue, 13 Jul 2010 14:59:19 -0700 (PDT)
Received: from wpaz33.hot.corp.google.com (wpaz33.hot.corp.google.com [172.24.198.97]) by smtp-out.google.com with ESMTP id o6DLxRil013847 for <oauth@ietf.org>; Tue, 13 Jul 2010 14:59:28 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1279058368; bh=YUJTFQTuGuHFKrdO1f7vTc0p6B8=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type:Content-Transfer-Encoding; b=Svp6yWU7+HUIq6oohkS+e2tn3bYp8DOCvr9c87kLIRHsae7SLXjixMu/JRRWsVZnA G5MIkuqNAxbll0EwZuY/w==
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:content-transfer-encoding:x-system-of-record; b=alimzJVmlnwq/afLmvOs1Aign9hFGkdwwz+pNqhlGs1puNXauUYxMrseDhBWSuZRf v+oU2L+4HLs8ow/IcDHbw==
Received: from pxi11 (pxi11.prod.google.com [10.243.27.11]) by wpaz33.hot.corp.google.com with ESMTP id o6DLxQG5023532 for <oauth@ietf.org>; Tue, 13 Jul 2010 14:59:26 -0700
Received: by pxi11 with SMTP id 11so2806766pxi.7 for <oauth@ietf.org>; Tue, 13 Jul 2010 14:59:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.142.140.18 with SMTP id n18mr19432928wfd.342.1279058366079; Tue, 13 Jul 2010 14:59:26 -0700 (PDT)
Received: by 10.142.193.19 with HTTP; Tue, 13 Jul 2010 14:59:25 -0700 (PDT)
In-Reply-To: <AANLkTin7jFI5nND58pFe6VMGFjEdeet2vBoV1Np0BXPA@mail.gmail.com>
References: <AANLkTin9GHCvTA0jQziYW3klZe78Yx1b9Op-eaxJDzEK@mail.gmail.com> <AANLkTimP82bx8oO4MiTdpEUxlmJZwZB_FtpNRQGHN3fS@mail.gmail.com> <AANLkTime-gng9Mu0I_ERJyD5JHigklFDUvIwywN9xaOW@mail.gmail.com> <AANLkTimfWLk1ssSciGdHHpVNGpVHdFrBON8bVi0ZndSr@mail.gmail.com> <AANLkTimvn9zYGqjlh0L3ks-hSW5kEnlsOqhMMEC1qfUC@mail.gmail.com> <AANLkTin7jFI5nND58pFe6VMGFjEdeet2vBoV1Np0BXPA@mail.gmail.com>
Date: Tue, 13 Jul 2010 14:59:25 -0700
Message-ID: <AANLkTikn6eZEBWDGYE73RV5mxnJK8P5txhOSCpGirkok@mail.gmail.com>
From: Brian Eaton <beaton@google.com>
To: Andrew Arnott <andrewarnott@gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
Cc: oauth <oauth@ietf.org>
Subject: Re: [OAUTH-WG] issuing new refresh tokens
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 21:59:20 -0000

On Tue, Jul 13, 2010 at 2:05 PM, Andrew Arnott <andrewarnott@gmail.com> wrote:
> I'm not storing tokens at all.  And a compromise of the database wouldn't
> expose any tokens or their hashes.  I'm only storing that
> user/client/scope/issued_date tuple -- not the token itself.

And a signing key.  So the question is what happens if both the
signing key and the token database get compromised.

Now that I think of it, you may have issues if the signing key alone
is compromised.  It depends how much other entropy you've added to the
tokens...