Re: [OAUTH-WG] FW: MAC: Cookie name or value as MAC key id

Adam Barth <ietf@adambarth.com> Wed, 15 June 2011 06:31 UTC

Return-Path: <ietf@adambarth.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9188F11E80A1 for <oauth@ietfa.amsl.com>; Tue, 14 Jun 2011 23:31:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.345
X-Spam-Level:
X-Spam-Status: No, score=-3.345 tagged_above=-999 required=5 tests=[AWL=-0.368, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KNCBouteKEbl for <oauth@ietfa.amsl.com>; Tue, 14 Jun 2011 23:31:17 -0700 (PDT)
Received: from mail-yi0-f44.google.com (mail-yi0-f44.google.com [209.85.218.44]) by ietfa.amsl.com (Postfix) with ESMTP id A5B5511E8096 for <oauth@ietf.org>; Tue, 14 Jun 2011 23:31:17 -0700 (PDT)
Received: by yie30 with SMTP id 30so82412yie.31 for <oauth@ietf.org>; Tue, 14 Jun 2011 23:31:17 -0700 (PDT)
Received: by 10.101.28.33 with SMTP id f33mr145048anj.36.1308119477085; Tue, 14 Jun 2011 23:31:17 -0700 (PDT)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by mx.google.com with ESMTPS id r10sm136229anh.28.2011.06.14.23.31.15 (version=SSLv3 cipher=OTHER); Tue, 14 Jun 2011 23:31:15 -0700 (PDT)
Received: by ywp31 with SMTP id 31so81514ywp.31 for <oauth@ietf.org>; Tue, 14 Jun 2011 23:31:15 -0700 (PDT)
Received: by 10.91.156.10 with SMTP id i10mr378904ago.67.1308119475235; Tue, 14 Jun 2011 23:31:15 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.90.65.13 with HTTP; Tue, 14 Jun 2011 23:30:45 -0700 (PDT)
In-Reply-To: <90C41DD21FB7C64BB94121FBBC2E7234475E9869E9@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <255B9BB34FB7D647A506DC292726F6E112868E56E3@WSMSG3153V.srv.dir.telstra.com> <BANLkTikWXZSi0cVfAt0b-hM8B0k7ij5c2g@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E7234475E7747B3@P3PW5EX1MB01.EX1.SECURESERVER.NET> <255B9BB34FB7D647A506DC292726F6E112868E5D71@WSMSG3153V.srv.dir.telstra.com> <90C41DD21FB7C64BB94121FBBC2E7234475E9869E9@P3PW5EX1MB01.EX1.SECURESERVER.NET>
From: Adam Barth <ietf@adambarth.com>
Date: Tue, 14 Jun 2011 23:30:45 -0700
Message-ID: <BANLkTikCxjreGQp-f0j-QkGXogAmHZsh=w@mail.gmail.com>
To: Eran Hammer-Lahav <eran@hueniverse.com>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: oauth <oauth@ietf.org>
Subject: Re: [OAUTH-WG] FW: MAC: Cookie name or value as MAC key id
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.12
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: Wed, 15 Jun 2011 06:31:18 -0000

On Tue, Jun 14, 2011 at 10:00 PM, Eran Hammer-Lahav <eran@hueniverse.com> wrote:
>> -----Original Message-----
>> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf
>> Of Manger, James H
>> Sent: Tuesday, June 14, 2011 7:06 PM
>> To: oauth
>> Subject: Re: [OAUTH-WG] FW: MAC: Cookie name or value as MAC key id
>>
>> P.S. id=<cookie-name> is not ideal for indicating which MAC cookie is being
>> used as there can be multiple cookies with the same cookie-name (eg set
>> from sibling domains).
>
> I'll let Adam answer that.

Yeah, that's a corner case that sucks.  Turns out cookie suck in a lot
of ways like that.  :)

Adam