Re: [OAUTH-WG] OAuth Signature

Dick Hardt <dick.hardt@gmail.com> Tue, 27 July 2010 20:43 UTC

Return-Path: <dick.hardt@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 3EDE13A6927 for <oauth@core3.amsl.com>; Tue, 27 Jul 2010 13:43:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
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 ay9J3T3GAwLP for <oauth@core3.amsl.com>; Tue, 27 Jul 2010 13:43:15 -0700 (PDT)
Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by core3.amsl.com (Postfix) with ESMTP id 2E2E73A6814 for <oauth@ietf.org>; Tue, 27 Jul 2010 13:43:15 -0700 (PDT)
Received: by yxj4 with SMTP id 4so740027yxj.31 for <oauth@ietf.org>; Tue, 27 Jul 2010 13:43:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=ybPxpV1pG58sf/6RbFLo+Gx1L9ORR7vA0ibdNc6sqEw=; b=roWS2R9BkY4+sl6V5XDGKm+NeIPJMU3Ms+LYBoidn7ignvgFo6ZW8qNciOccZ6jlJn ZXVnMEmZUBHSFejO3WrfcSHGfGbt1JTWTEzN+RixOBp8bHkTwQ2gOrZauQKIYVQTxDQi lFQz2dRek7noVjdD1MSb8Tk+034YlbB7Q/WAk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=MDljaA3JdasS40WJNAm6lhqvjdD6VuUZd9xtBtzegqQMQ8sPWg8qucnmW1ADOv6Nyn p25TyyDZ51ox9IYUlb1CC4kkfSY4KCcM34Qug7tGLtweBjykNduxYlvKHPNkZ9GWLBSm BeXaA/jqvrYVyBEcxMWuS/c0T/eczK9Mps0Ag=
Received: by 10.100.25.23 with SMTP id 23mr10202546any.225.1280263416935; Tue, 27 Jul 2010 13:43:36 -0700 (PDT)
Received: from [192.168.1.2] (c-24-130-32-55.hsd1.ca.comcast.net [24.130.32.55]) by mx.google.com with ESMTPS id x18sm6106737wfd.8.2010.07.27.13.43.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Jul 2010 13:43:36 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset="us-ascii"
From: Dick Hardt <dick.hardt@gmail.com>
In-Reply-To: <AANLkTi=XYFSVeNxA43k+zYwt6yoGDtioa3kR47eaNYB+@mail.gmail.com>
Date: Tue, 27 Jul 2010 13:43:34 -0700
Content-Transfer-Encoding: 7bit
Message-Id: <A69F2E08-1337-4BF3-994D-97AAAD462ABC@gmail.com>
References: <AANLkTi=XYFSVeNxA43k+zYwt6yoGDtioa3kR47eaNYB+@mail.gmail.com>
To: Nat Sakimura <sakimura@gmail.com>
X-Mailer: Apple Mail (2.1081)
Cc: oauth <oauth@ietf.org>
Subject: Re: [OAUTH-WG] OAuth Signature
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, 27 Jul 2010 20:43:16 -0000

On 2010-07-27, at 12:34 AM, Nat Sakimura wrote:

> I have a fundamental question.
> 
> While separating signature and payload by a dot "." seems ok,
> I still have not the answer for the question "why not make everything
> into JSON and base64url it?".

bloat from base64 encoding twice

> 
> BTW, some of the envelope parameters such as alg needs to be signed as
> well to thwart the algorithm replacing attack.

would you elaborate on the attack?