Re: Report on preliminary decision on TLS 1.3 and client auth

Ilari Liusvaara <ilariliusvaara@welho.com> Tue, 20 October 2015 06:33 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D6C881A1B22 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 19 Oct 2015 23:33:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.912
X-Spam-Level:
X-Spam-Status: No, score=-6.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 64Qch80GKCYi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 19 Oct 2015 23:33:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E81A01A1ADF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 19 Oct 2015 23:33:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZoQPl-00065N-7F for ietf-http-wg-dist@listhub.w3.org; Tue, 20 Oct 2015 06:28:53 +0000
Resent-Date: Tue, 20 Oct 2015 06:28:53 +0000
Resent-Message-Id: <E1ZoQPl-00065N-7F@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <ilariliusvaara@welho.com>) id 1ZoQPe-00064g-Q2 for ietf-http-wg@listhub.w3.org; Tue, 20 Oct 2015 06:28:46 +0000
Received: from filtteri1.pp.htv.fi ([213.243.153.184]) by lisa.w3.org with esmtp (Exim 4.80) (envelope-from <ilariliusvaara@welho.com>) id 1ZoQMK-0003EV-Ux for ietf-http-wg@w3.org; Tue, 20 Oct 2015 06:27:30 +0000
Received: from localhost (localhost [127.0.0.1]) by filtteri1.pp.htv.fi (Postfix) with ESMTP id 4621A21B575; Tue, 20 Oct 2015 09:24:58 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from smtp4.welho.com ([213.243.153.38]) by localhost (filtteri1.pp.htv.fi [213.243.153.184]) (amavisd-new, port 10024) with ESMTP id skx3r-7vjdCb; Tue, 20 Oct 2015 09:24:57 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-35-116.bb.dnainternet.fi [87.92.35.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp4.welho.com (Postfix) with ESMTPSA id 8A5155BC017; Tue, 20 Oct 2015 09:24:57 +0300 (EEST)
Date: Tue, 20 Oct 2015 09:24:56 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20151020062455.GA476@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CABkgnnWREq6X+chcvookChGAZGxkJ6Zs_7FGwz7Mbn12XMxewQ@mail.gmail.com> <CABkgnnVeWXQ0KM+EuGrK6Nj6yuJKP6jGb51g2bN1+G_MHLcJig@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <CABkgnnVeWXQ0KM+EuGrK6Nj6yuJKP6jGb51g2bN1+G_MHLcJig@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Sender: ilariliusvaara@welho.com
Received-SPF: none client-ip=213.243.153.184; envelope-from=ilariliusvaara@welho.com; helo=filtteri1.pp.htv.fi
X-W3C-Hub-Spam-Status: No, score=-4.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, TIME_LIMIT_EXCEEDED=, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1ZoQMK-0003EV-Ux 5dec47cbeda2262556544778ad9756aa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Report on preliminary decision on TLS 1.3 and client auth
Archived-At: <http://www.w3.org/mid/20151020062455.GA476@LK-Perkele-V2.elisa-laajakaista.fi>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/30385
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 Mon, Oct 19, 2015 at 03:10:17PM -0700, Martin Thomson wrote:
> On 23 September 2015 at 10:16, Martin Thomson <martin.thomson@gmail.com> wrote:
> > Here is a summary of the applicable pieces, plus what I options it provides
> > HTTP/2...
> 
> With the help of Mike Bishop [7], I've just submitted a draft that
> describes option 2 in more detail, including something for TLS 1.2.
> 
>   https://tools.ietf.org/html/draft-thomson-http2-client-certs-00

How does client refuse to change authentication on existing connection
and open a new one for new authentication[1]?

Because client can be rather easily forced into situation where the
existing connection can't change authentication without resetting
potentially numerious streams first (e.g. streams from cross-origin
XMLHttpRequest/Fetch non-credentials[2][3]).

Or is the browser supposed to reset all offending streams before
changing authentication?


[1] AFAIK, Chrome does it like that even with HTTP/1.1.

[2] Change authentication with such stream open and you have an
security hole.

[3] And there are more cases relating to coalescing where things
go wrong (altough _probably_ not in exploitable way) if one tries to
change auth.


-Ilari