Re: [expect-ct] Is expect-ct policy intended for long-term use? (plus: no user recourse)

Emily Stark <estark@google.com> Mon, 28 November 2016 22:29 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 50DEA12A03F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 28 Nov 2016 14:29:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.997
X-Spam-Level:
X-Spam-Status: No, score=-7.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 zz5R2j1sxgl1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 28 Nov 2016 14:29:54 -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 E9F8B12A040 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 28 Nov 2016 14:29:52 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cBUNQ-0002c5-3l for ietf-http-wg-dist@listhub.w3.org; Mon, 28 Nov 2016 22:26:20 +0000
Resent-Date: Mon, 28 Nov 2016 22:26:20 +0000
Resent-Message-Id: <E1cBUNQ-0002c5-3l@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <estark@google.com>) id 1cBUNI-0002ZE-VJ for ietf-http-wg@listhub.w3.org; Mon, 28 Nov 2016 22:26:12 +0000
Received: from mail-io0-f176.google.com ([209.85.223.176]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <estark@google.com>) id 1cBUN7-0002Sl-Ec for ietf-http-wg@w3.org; Mon, 28 Nov 2016 22:26:07 +0000
Received: by mail-io0-f176.google.com with SMTP id a124so257116094ioe.2 for <ietf-http-wg@w3.org>; Mon, 28 Nov 2016 14:25:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UYvOLlJTpjdtsFnzzhHeeHdk58pDZh5WINrJl4uRxCE=; b=FAPbfCRmj+sk91Zrnj5TCvPw+fQYpmGr/xaxTfcQHcHE9XxfK/R1M2FlGSO3P9sxAU TXpHvkHk25lieTTFgbCv3Lbrif4I+8jPwXq3iIIDb3OTycShbu3Lyh3KUrJpthIJX29f M2PRdRaYVAkaweiJE0YSzGcxGCsMVVqdFS5MfvWHyQU/t1g6dLnMp7+j1wAN618q9sWd BSHwzl5sgmbiOwM/nD8HCI6hu+1+QQDxBVHZ6NMDoG3QZoucSoObQ2yL1VMyYnXCucyR qwLB97okVbRVOHDscIamgh8FaMwol/awr8i39wb9h9Wc0KIm5H21sr5hd+PTPvQ+Clw5 4Hbg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UYvOLlJTpjdtsFnzzhHeeHdk58pDZh5WINrJl4uRxCE=; b=SMD/l0H7FpePoQ/8BEqQ0r2GZh15DeGAd0VLPHOWza+JubAxabjIBLslzPR4AaRpiK dwR2AuJoCtgGIOjHr6n012QBfUTuNiULUahejFvOLwcnOre6e+7NsNmyEqJ1aUSXJPYO d1BLa8POgrVbw/4mUtW/b4BZyGqID+Z2DLduLZ5e4oBIBkgN0cREvKCpSq8Qil+96GXd /QPqMvqWIZIRofsE4m1soi/1wMe49TdU1lFrFYIsFR7U3/yGklu11/Mf7DcVIuP8uCev J2BKGmbr3gxPtJ9w2NRiEwNF9PMRtFc2RFrUH9FC6+ZHgxwQfcce7+UrSX3CbO67dRPr JXNQ==
X-Gm-Message-State: AKaTC03nlkmCQ8PK5FwI6UAQmrFGCLgYdHrxwVOhWpsFS3KvCW2hd6CwwkfafOgpjBx2/btOAOEsUMbM1yGitnS6
X-Received: by 10.36.50.214 with SMTP id j205mr20715581ita.33.1480371934871; Mon, 28 Nov 2016 14:25:34 -0800 (PST)
MIME-Version: 1.0
Received: by 10.107.136.84 with HTTP; Mon, 28 Nov 2016 14:25:14 -0800 (PST)
In-Reply-To: <f1b63c72-bad8-8a66-8184-83c14de338d9@KingsMountain.com>
References: <f1b63c72-bad8-8a66-8184-83c14de338d9@KingsMountain.com>
From: Emily Stark <estark@google.com>
Date: Mon, 28 Nov 2016 14:25:14 -0800
Message-ID: <CAPP_2SZ+7Te5Piyw7RGbqR-ORSiON+MD1wTZDetteKOYL93Q9A@mail.gmail.com>
To: =JeffH <Jeff.Hodges@kingsmountain.com>
Cc: IETF HTTP WG <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a114aab8c509e4e054263f3ab"
Received-SPF: pass client-ip=209.85.223.176; envelope-from=estark@google.com; helo=mail-io0-f176.google.com
X-W3C-Hub-Spam-Status: No, score=-5.7
X-W3C-Hub-Spam-Report: AWL=1.666, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-2.899, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1cBUN7-0002Sl-Ec 0c66c02a33b1cf88f0d88989f1b28c63
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [expect-ct] Is expect-ct policy intended for long-term use? (plus: no user recourse)
Archived-At: <http://www.w3.org/mid/CAPP_2SZ+7Te5Piyw7RGbqR-ORSiON+MD1wTZDetteKOYL93Q9A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33027
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, Nov 24, 2016 at 6:00 PM, =JeffH <Jeff.Hodges@kingsmountain.com>
wrote:

> Emily wrote:
> > I anticipate Expect-CT to be useful more than a year and less than 5
> > years. Within 1-2 years, I expect/hope several browsers will be
> > requiring CT for all new certificates. They can still implement
> > Expect-CT to protect sites against backdating and against
> > certificates that were issued before the date that they started
> > requiring CT for all new certs.
>
> ok, by "they" you mean UAs, yes?
>

Yes. To clarify, this is what I meant: "A UA can still implement Expect-CT
to allow sites to protect themselves against backdating and against
certificates that were issued before the date that the UA started requiring
CT for all new certs."


>
>
> > Once a browser is requiring CT for *all* certificates (e.g. because
> > the maximum validity period has elapsed beyond the date that the
> > browser began requiring CT for all new certs), then I don't think
> > Expect-CT is useful for that browser anymore.
>
> by implication you mean "useful" for a server (aka "relying party" (RP))
> and user, yes?
>
> because what we are protecting here is not so much the browser (vendor)
> but the RP and user, yes?
>

Yes. I meant that once a browser is requiring CT for all certs, then the
users who are using that browser to contact an Expect-CT server are not
getting much benefit from Expect-CT.


>
> I could see Expect-CT to be useful for the longer term if it were to
> signal additional RP-desired selective UA behavior such as "no user
> recourse", *if* the browsers were not going to implement such behavior,
> e.g., as a a matter of course in the case of errors during secure
> connection establishment.
>
> =JeffH
>
>
>
> > On Wed, Nov 23, 2016 at 4:47 PM, =JeffH
> > <Jeff.Hodges@kingsmountain.com> wrote:
> > WRT "Expect-CT"
> > <https://tools.ietf.org/html/draft-stark-expect-ct>
> > (aka "the I-D" in the below)...
> >
> > Is the expect-ct policy intended to be used long-term by servers?
> >
> > I.e., is this server-declared expect-ct policy only a stop-gap until
> > all browsers natively enforce their vendors' "ct policies"?
> >
> > At first glance, it seems the answer is "yes, expect-ct has long-term
> > usefulness" given the language in
> > <https://tools.ietf.org/html/draft-stark-expect-ct-00#section-2.1.2>,
> >
> > i.e., a host's declaration of expect-ct policy is stating that the UA
> > must terminate any connection to that host (and port?) that does not
> > satisfy the UA's ct policy.
> >
> > However, given this..
> >
> > On Sunday, November 13, 2016 at 4:47 AM, Emily Stark wrote:
> >> That is, eventually, when browsers require CT for all
> >> certificates, [...] I see Expect-CT as a way that individual sites
> >> can opt in to the future early ("the future" being when browsers
> >> require CT for all certificates)
> >
> > ..it sounds like the browsers intend to do that in any case, and if
> > so, on what timescale?
> >
> > I.e., is it worthwhile to go through all the work to formally define
> > Expect-CT in an RFC?
> >
> > I'm not sure. This is part of the reason why I uploaded this as an
> > experimental draft. I'm not 100% sure what's the right process or
> > venue is for a mechanism that is not meant to stick around forever.
> >
> >
> > Though, if there is some functionality that a server-declared
> > expect-ct policy stipulates that is not intended to be implemented by
> > default in near- to intermediate-term, then formally specifying
> > Expect-CT perhaps has a reasonable cost-benefit regardless. Or also
> > if explicit server-declared "expect-ct" policy would be useful to the
> > long-tail of HTTPS clients other than the dominant browsers.
> >
> > Perhaps one should consider having the expect-ct policy additionally
> > mean that there is "no user recourse" to connection termination as a
> > result of CT-policy violation. I note the I-D does not presently
> > state that.
> >
> > See <https://tools.ietf.org/html/rfc6797#section-12.1> for how this
> > is discussed in HSTS. You might consider adding "no user recourse" to
> > a "UA implementation advice" section.
> >
> > That seems reasonable to include, though I don't think "no user
> > recourse" is enough benefit to justify keeping Expect-CT around after
> > it has otherwise exhausted its usefulness.
> >
> >
> > Though, like any of this (including HSTS), the browsers could in the
> > future decide that they will have a "no user recourse" policy by
> > default for all secure transport establishment failures. It's a
> > question of how far in the future might that occur (in order to
> > justify present-to-intermediate-term work).
> >
> > HTH,
> >
> > =JeffH
> >
> >
> >
>
>