Re: [OAUTH-WG] Defining a maximum token length?

jbemmel@zonnet.nl Fri, 19 March 2010 12:44 UTC

Return-Path: <jbemmel@zonnet.nl>
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 951233A6984 for <oauth@core3.amsl.com>; Fri, 19 Mar 2010 05:44:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.226
X-Spam-Level: ***
X-Spam-Status: No, score=3.226 tagged_above=-999 required=5 tests=[BAYES_50=0.001, DNS_FROM_OPENWHOIS=1.13, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545]
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 Bcl+IHyyaMQf for <oauth@core3.amsl.com>; Fri, 19 Mar 2010 05:44:04 -0700 (PDT)
Received: from smtp8.versatel.nl (smtp8.versatel.nl [62.58.50.100]) by core3.amsl.com (Postfix) with ESMTP id 36E443A68FC for <oauth@ietf.org>; Fri, 19 Mar 2010 05:44:03 -0700 (PDT)
Received: (qmail 20785 invoked by uid 0); 19 Mar 2010 12:44:13 -0000
Received: from unknown (HELO webmail11.zonnet.nl) ([10.170.1.101]) (envelope-sender <jbemmel@zonnet.nl>) by 10.170.1.96 (qmail-ldap-1.03) with SMTP for < >; 19 Mar 2010 12:44:13 -0000
Received: by webmail11.zonnet.nl (Postfix, from userid 33) id 9D1F9F2984; Fri, 19 Mar 2010 13:44:13 +0100 (CET)
Received: from gate.alcatel.de (gate.alcatel.de [194.113.59.80]) by webmail.versatel.nl (Horde MIME library) with HTTP; Fri, 19 Mar 2010 13:44:13 +0100
Message-ID: <20100319134413.juq5w93kis80gwsw@webmail.versatel.nl>
Date: Fri, 19 Mar 2010 13:44:13 +0100
From: jbemmel@zonnet.nl
To: oauth@ietf.org
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.1.3)
Subject: Re: [OAUTH-WG] Defining a maximum token length?
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: Fri, 19 Mar 2010 12:44:05 -0000

Hi,

It appears that people agree excessive token length could be an issue 
for interoperability, but opinions vary on how long tokens 
could/should/must be. Relatively long tokens will occur when encoding 
data associated with the user (access rights, group memberships, etc.), 
and integrity protection / encryption techniques (relevant when tokens 
would be transmitted using plain HTTP) could also lead to long tokens.

Instead of agreeing/standardizing on a limit for token lengths, how 
about specifying a parameter in which the client declares the maximum 
token length it can accept? That way, at least potential interop 
problems due to long tokens can be detected; the Authentication server 
can subsequently return an error response if the token it would issue 
exceeds the client's max length

Regards,
Jeroen