Re: Web Keys and HTTP Signatures

"David I. Lehn" <dil@lehn.org> Wed, 17 April 2013 23:14 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F166321E80A7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Apr 2013 16:14:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level:
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CQ4zHzt9SJx3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Apr 2013 16:14:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 41CE121E809F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Apr 2013 16:14:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1USbY1-0007VV-Nt for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Apr 2013 23:13:53 +0000
Resent-Date: Wed, 17 Apr 2013 23:13:53 +0000
Resent-Message-Id: <E1USbY1-0007VV-Nt@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dilehn@gmail.com>) id 1USbXz-0007Up-7R; Wed, 17 Apr 2013 23:13:51 +0000
Received: from mail-vc0-f179.google.com ([209.85.220.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dilehn@gmail.com>) id 1USbXy-0007eY-BU; Wed, 17 Apr 2013 23:13:51 +0000
Received: by mail-vc0-f179.google.com with SMTP id hz11so1775164vcb.38 for <multiple recipients>; Wed, 17 Apr 2013 16:13:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=C6oNgsBgNPN72L/zJ7vJV3/JYWNL2gx3rLrDp+2/beY=; b=v//IYjLdTg8ye5JkACC3kLnattmmssNpL4sxj0qhpqIxK26od77ZtF/UAVrJ0OE6W7 tW2yQGN9XbHuu7DZI7y2KbCrDOAE20uJJlMn84QfBJVa3OcjzY1+S3Jc2YZ2lKBY2SBH YwQ2qNy0OtiaS1fJOECdepPby1wi5W4fjvjOEw3JfBmMt1WO8TCxkvafDeg1cWsakW5v 7S1QhzMWvLDc6sb3bGCYKwGdT+RfU3jvaUklgi3BWlnYtDEKXSSRTgIpfjEq03ib9TNS stNRb6rYhjdEyYvXoh/jseKuTf3gzp88MyPBDJfQTuRLTDinoSozuA0T3rSmjvj4seuE qPAw==
MIME-Version: 1.0
X-Received: by 10.52.25.8 with SMTP id y8mr5501744vdf.88.1366240404517; Wed, 17 Apr 2013 16:13:24 -0700 (PDT)
Sender: dilehn@gmail.com
Received: by 10.58.161.78 with HTTP; Wed, 17 Apr 2013 16:13:24 -0700 (PDT)
In-Reply-To: <9DF0F237-62DC-4E82-A545-B09C6083849B@tzi.org>
References: <516F14E1.5040503@digitalbazaar.com> <9DF0F237-62DC-4E82-A545-B09C6083849B@tzi.org>
Date: Wed, 17 Apr 2013 19:13:24 -0400
X-Google-Sender-Auth: 8Oij79MS-7cOIA_OCyV7WPYvNTY
Message-ID: <CADcbRRN2XWa9QwuaXAoxjMdkcguvQiiGq934RXU=-1ntzGpWNQ@mail.gmail.com>
From: "David I. Lehn" <dil@lehn.org>
To: Carsten Bormann <cabo@tzi.org>
Cc: Manu Sporny <msporny@digitalbazaar.com>, Web Payments CG <public-webpayments@w3.org>, ietf-http-wg@w3.org
Content-Type: text/plain; charset="ISO-8859-1"
Received-SPF: pass client-ip=209.85.220.179; envelope-from=dilehn@gmail.com; helo=mail-vc0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.711, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1USbXy-0007eY-BU 483c8e1cc7a0dad4c332b4feef64f2b7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Web Keys and HTTP Signatures
Archived-At: <http://www.w3.org/mid/CADcbRRN2XWa9QwuaXAoxjMdkcguvQiiGq934RXU=-1ntzGpWNQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17315
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Wed, Apr 17, 2013 at 6:03 PM, Carsten Bormann <cabo@tzi.org> wrote:
> On Apr 17, 2013, at 23:32, Manu Sporny <msporny@digitalbazaar.com> wrote:
>
>> https://github.com/joyent/node-http-signature/blob/master/http_signing.md
>
> I looked at this for about 5 seconds, but are you telling us the attacker gets to choose what the lines in the signed string are supposed to mean?
>

I'm not sure I understand your question? The request signature
specifies the headers that are signed. The server can reject a request
based on a header requirement policy. Our current implementation
requires the headers to at least include request-line, host, and date.
What specific attack did you have in mind?

-dave