Re: Web Keys and HTTP Signatures

Carsten Bormann <cabo@tzi.org> Thu, 18 April 2013 15:06 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 0D73421F8E6B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 Apr 2013 08:06:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.916
X-Spam-Level:
X-Spam-Status: No, score=-8.916 tagged_above=-999 required=5 tests=[AWL=1.683, BAYES_00=-2.599, 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 1ft9iKJFeP8v for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 Apr 2013 08:06:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 71CF921F8E51 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 18 Apr 2013 08:06:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1USqOK-0001Jg-OB for ietf-http-wg-dist@listhub.w3.org; Thu, 18 Apr 2013 15:04:52 +0000
Resent-Date: Thu, 18 Apr 2013 15:04:52 +0000
Resent-Message-Id: <E1USqOK-0001Jg-OB@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1USqOH-0001IW-L2 for ietf-http-wg@listhub.w3.org; Thu, 18 Apr 2013 15:04:49 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1USqOG-0006EU-Dn for ietf-http-wg@w3.org; Thu, 18 Apr 2013 15:04:49 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.4/8.14.4) with ESMTP id r3IF4M1Z011122 for <ietf-http-wg@w3.org>; Thu, 18 Apr 2013 17:04:22 +0200 (CEST)
Received: from [192.168.217.105] (p548938F1.dip.t-dialin.net [84.137.56.241]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 0FEE23122; Thu, 18 Apr 2013 17:04:22 +0200 (CEST)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <alpine.LRH.2.01.1304180721140.27828@egate.xpasc.com>
Date: Thu, 18 Apr 2013 17:04:21 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <5A2E2FE8-BBB0-4ADC-8B22-C12B4FD82537@tzi.org>
References: <516F14E1.5040503@digitalbazaar.com> <9DF0F237-62DC-4E82-A545-B09C6083849B@tzi.org> <CADcbRRN2XWa9QwuaXAoxjMdkcguvQiiGq934RXU=-1ntzGpWNQ@mail.gmail.com> <255B9BB34FB7D647A506DC292726F6E1150C90E93E@WSMSG3153V.srv.dir.telstra.com> <CABkgnnXoY3iOH7M=A5hCo+eTnDiPODvgmdnDay0AKUo4PsuoMg@mail.gmail.com> <60BA815F-52F5-449C-BD18-AE746DAFA991@tzi.org> <alpine.LRH.2.01.1304180721140.27828@egate.xpasc.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1503)
Received-SPF: none client-ip=134.102.201.18; envelope-from=cabo@tzi.org; helo=informatik.uni-bremen.de
X-W3C-Hub-Spam-Status: No, score=-4.6
X-W3C-Hub-Spam-Report: AWL=-2.300, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1USqOG-0006EU-Dn bf86faa96bd18782d2718b9990852d8c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Web Keys and HTTP Signatures
Archived-At: <http://www.w3.org/mid/5A2E2FE8-BBB0-4ADC-8B22-C12B4FD82537@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17336
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>

> But to belabor the obvious,
> including the header list in the signature doesn't change any reorder
> property. If the header values can be swapped without the list included,
> they can still be reordered with the list included. 

In the design I was criticizing, a sequence of values was signed, but the mapping from the position in the list of values to a specific header field was in an unprotected field.  So Alice could send a Content-MD5 header, and Charlie could not change its value, but change the meaning of the header to a mumble-foo header, and Bob would be none-the-wiser.
(Of course, the use of Content-MD5 in the spec is the next problem.  And so on.
If Stephen looks at this, I'm happy.)

Grüße, Carsten