Re: http2 opportunistic security negotiation
Ilari Liusvaara <ilari.liusvaara@elisanet.fi> Thu, 05 February 2015 16:32 UTC
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 889E41A88CF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 5 Feb 2015 08:32:33 -0800 (PST)
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 i1w_taDfzgn7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 5 Feb 2015 08:32:32 -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 419FE1A8761 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 5 Feb 2015 08:32:32 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1YJPIt-00069R-2F for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Feb 2015 16:29:19 +0000
Resent-Date: Thu, 05 Feb 2015 16:29:19 +0000
Resent-Message-Id: <E1YJPIt-00069R-2F@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <ilari.liusvaara@elisanet.fi>) id 1YJPIl-00065f-Mf for ietf-http-wg@listhub.w3.org; Thu, 05 Feb 2015 16:29:11 +0000
Received: from emh01.mail.saunalahti.fi ([62.142.5.107]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <ilari.liusvaara@elisanet.fi>) id 1YJPIk-0005iR-8h for ietf-http-wg@w3.org; Thu, 05 Feb 2015 16:29:11 +0000
Received: from LK-Perkele-VII (a88-112-44-140.elisa-laajakaista.fi [88.112.44.140]) by emh01.mail.saunalahti.fi (Postfix) with ESMTP id DB58C90034; Thu, 5 Feb 2015 18:28:45 +0200 (EET)
Date: Thu, 05 Feb 2015 18:28:45 +0200
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Erik Nygren <erik@nygren.org>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20150205162845.GA13872@LK-Perkele-VII>
References: <CAKC-DJhOm-4AqfvsdvTL1NBn1kauTBcsah8MBhushsS=5Ods=A@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <CAKC-DJhOm-4AqfvsdvTL1NBn1kauTBcsah8MBhushsS=5Ods=A@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Received-SPF: pass client-ip=62.142.5.107; envelope-from=ilari.liusvaara@elisanet.fi; helo=emh01.mail.saunalahti.fi
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-3.191, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1YJPIk-0005iR-8h 73757e7556e69f2ad1bb2e15e6b1b6a6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: http2 opportunistic security negotiation
Archived-At: <http://www.w3.org/mid/20150205162845.GA13872@LK-Perkele-VII>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/28761
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 Thu, Feb 05, 2015 at 10:08:58AM -0500, Erik Nygren wrote:
>
> One proposal that came out of some offline discussion would be for clients
> capable of doing HTTP/2 OppSec to always send in the client_hello
> alpn=h2,h2o (where "h2o" here might be some alpn token for HTTP/2 OppSec
> for HTTP scheme).
> The server would then:
>
> * Negotiate alpn=h2o with a possibly invalid cert for an HTTP-only
> ServerName/Host
> * Negotiate alpn=h2 with a valid cert for a ServerName/Host supporting HTTPS
> * Return a TLS handshake error ("no cert for this hostname") if neither are
> available (eg, for HTTP/1.1)
>
> The downside of this is that the "h2o" server_hello negotiation would be
> in-the-clear in TLS 1.2 (not desirable), although it will be encrypted in
> TLS 1.3. In true "opportunistic" fashion this may be an acceptable
> trade-off as clients and servers supporting TLS 1.3 will then get the
> additional level of protection over passive eavesdroppers seeing whether
> OppSec was negotiated.
Even TLS 1.3 won't encrypt the ALPN (at least as TLS 1.3 currently is).
-Ilari
- Re: http2 opportunistic security negotiation Eric Rescorla
- Re: http2 opportunistic security negotiation Erik Nygren
- Re: http2 opportunistic security negotiation Ilari Liusvaara
- Re: http2 opportunistic security negotiation Martin Thomson
- http2 opportunistic security negotiation Erik Nygren
- Re: http2 opportunistic security negotiation Ilari Liusvaara
- Re: http2 opportunistic security negotiation Patrick McManus
- Re: http2 opportunistic security negotiation Erik Nygren
- Re: http2 opportunistic security negotiation Patrick McManus
- Re: http2 opportunistic security negotiation Patrick McManus