Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ietf.org@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 C36831A8867
 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>;
 Fri,  6 Feb 2015 13:38:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.011
X-Spam-Level: 
X-Spam-Status: No, score=-7.011 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, 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 V5VH9EJu5qWv
 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>;
 Fri,  6 Feb 2015 13:38:26 -0800 (PST)
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 123DD1A879B
 for <httpbisa-archive-bis2Juki@lists.ietf.org>;
 Fri,  6 Feb 2015 13:38:26 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80)
 (envelope-from <ietf-http-wg-request@listhub.w3.org>)
 id 1YJqZ4-0003Tl-EW
 for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Feb 2015 21:35:50 +0000
Resent-Date: Fri, 06 Feb 2015 21:35:50 +0000
Resent-Message-Id: <E1YJqZ4-0003Tl-EW@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41])
 by frink.w3.org with esmtp (Exim 4.80)
 (envelope-from <martin.thomson@gmail.com>) id 1YJqYz-0003RZ-AM
 for ietf-http-wg@listhub.w3.org; Fri, 06 Feb 2015 21:35:45 +0000
Received: from mail-oi0-f41.google.com ([209.85.218.41])
 by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72)
 (envelope-from <martin.thomson@gmail.com>) id 1YJqYy-0005B5-1u
 for ietf-http-wg@w3.org; Fri, 06 Feb 2015 21:35:45 +0000
Received: by mail-oi0-f41.google.com with SMTP id z81so14154782oif.0
 for <ietf-http-wg@w3.org>; Fri, 06 Feb 2015 13:35:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=VBYRT5S9wzwdCXKyp8Jb0mibbspIa39T8BQNxF58foc=;
 b=RpQjDs4g3k0y8us8jv5P6JOzH8RG21D3zG1hEEuX3ZBQGDaD452y1/ohAjNVBhfVMM
 BGZ/RL1hQfeFbaeSS4zNXztvO5Yj493sMPQkVlJ/aNgDA1z/0l2SFPPS7xXPNA1OhNYQ
 FfMAB8JRcrEkQp5M/y9aonw4piUVx4I6jtYjAxZgiKLZQFz0O4NaVZ8G6p394pEy6Zjg
 lgRaTO4ZJRyFwPaZJw/c9VRIQ8AcxcSoQXIO4NiCV0rWfZa+NsWcxhqS9FZVKG6i8HZg
 YFjYTXNU6i1dfCKqWwMNJY6S9Br81MqAaAf2Hh/aNuMO15m32uVUpPjmRXssncZYFI4w
 VLUA==
MIME-Version: 1.0
X-Received: by 10.182.68.12 with SMTP id r12mr3930840obt.84.1423258517723;
 Fri, 06 Feb 2015 13:35:17 -0800 (PST)
Received: by 10.202.225.135 with HTTP; Fri, 6 Feb 2015 13:35:17 -0800 (PST)
Received: by 10.202.225.135 with HTTP; Fri, 6 Feb 2015 13:35:17 -0800 (PST)
In-Reply-To: <20150206081033.GA23827@LK-Perkele-VII>
References: <CAKC-DJhOm-4AqfvsdvTL1NBn1kauTBcsah8MBhushsS=5Ods=A@mail.gmail.com>
 <20150205162845.GA13872@LK-Perkele-VII>
 <CAKC-DJjArVEBCEeY47mKYceP5Lt+RThbKWwp7_WZCOmsoXWbag@mail.gmail.com>
 <20150206081033.GA23827@LK-Perkele-VII>
Date: Sat, 7 Feb 2015 08:35:17 +1100
Message-ID: <CABkgnnXYcPs4bP6N4hO4kTHpskLkaOcV5xXZD=Je62FsyDs-gg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Erik Nygren <erik@nygren.org>
Content-Type: multipart/alternative; boundary=e89a8fb1f3385f5d58050e7232bf
Received-SPF: pass client-ip=209.85.218.41;
 envelope-from=martin.thomson@gmail.com; helo=mail-oi0-f41.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.623, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1YJqYy-0005B5-1u 38202e536d35949c67d1aef341d3ef45
X-Original-To: ietf-http-wg@w3.org
Subject: Re: http2 opportunistic security negotiation
Archived-At: <http://www.w3.org/mid/CABkgnnXYcPs4bP6N4hO4kTHpskLkaOcV5xXZD=Je62FsyDs-gg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/28773
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>

--e89a8fb1f3385f5d58050e7232bf
Content-Type: text/plain; charset=UTF-8

I wouldn't assume to know with 100% confidence what any given client will
accept.
On Feb 6, 2015 7:16 PM, "Ilari Liusvaara" <ilari.liusvaara@elisanet.fi>
wrote:

> On Thu, Feb 05, 2015 at 05:21:26PM -0500, Erik Nygren wrote:
> > On Thu, Feb 5, 2015 at 11:28 AM, Ilari Liusvaara <
> > ilari.liusvaara@elisanet.fi> wrote:
> >
> > >
> > > Even TLS 1.3 won't encrypt the ALPN (at least as TLS 1.3 currently is).
> >
> >
> >
> > Why can't the server's ALPN response be in EncryptedExtensions for a TLS
> > 1.3 ServerHello
> > even if the client's ALPN (a superset so less interesting) is
> in-the-clear
> > in the ClientHello?
>
> Ah yeah, Server's ALPN. Client's ALPN would be always constant per client.
>
>
> Also, it occurs to me that if one can tell from certificate if it is
> supposed to be valid or not, the ALPN leak does not add much:
>
> - On TLS 1.2, one can inspect certificate of connection before deciding
>   to MITM or not (since nothing before it has any commitments).
> - In TLS 1.3, where that isn't possible (there are commitments from
>   both sides before), one can still connect to the server and probe
>   the certificate.
>
>
> Then there are some servers where getting good certificate is
> much less of a problem than dealing with the https:// scheme
> (due to legacy internal baggage).
>
>
> -Ilari
>
>

--e89a8fb1f3385f5d58050e7232bf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">I wouldn&#39;t assume to know with 100% confidence what any =
given client will accept.</p>
<div class=3D"gmail_quote">On Feb 6, 2015 7:16 PM, &quot;Ilari Liusvaara&qu=
ot; &lt;<a href=3D"mailto:ilari.liusvaara@elisanet.fi">ilari.liusvaara@elis=
anet.fi</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x">On Thu, Feb 05, 2015 at 05:21:26PM -0500, Erik Nygren wrote:<br>
&gt; On Thu, Feb 5, 2015 at 11:28 AM, Ilari Liusvaara &lt;<br>
&gt; <a href=3D"mailto:ilari.liusvaara@elisanet.fi">ilari.liusvaara@elisane=
t.fi</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; Even TLS 1.3 won&#39;t encrypt the ALPN (at least as TLS 1.3 curr=
ently is).<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Why can&#39;t the server&#39;s ALPN response be in EncryptedExtensions=
 for a TLS<br>
&gt; 1.3 ServerHello<br>
&gt; even if the client&#39;s ALPN (a superset so less interesting) is in-t=
he-clear<br>
&gt; in the ClientHello?<br>
<br>
Ah yeah, Server&#39;s ALPN. Client&#39;s ALPN would be always constant per =
client.<br>
<br>
<br>
Also, it occurs to me that if one can tell from certificate if it is<br>
supposed to be valid or not, the ALPN leak does not add much:<br>
<br>
- On TLS 1.2, one can inspect certificate of connection before deciding<br>
=C2=A0 to MITM or not (since nothing before it has any commitments).<br>
- In TLS 1.3, where that isn&#39;t possible (there are commitments from<br>
=C2=A0 both sides before), one can still connect to the server and probe<br=
>
=C2=A0 the certificate.<br>
<br>
<br>
Then there are some servers where getting good certificate is<br>
much less of a problem than dealing with the https:// scheme<br>
(due to legacy internal baggage).<br>
<br>
<br>
-Ilari<br>
<br>
</blockquote></div>

--e89a8fb1f3385f5d58050e7232bf--

