Re: [Trans] Update on 6962-bis issues raised by Richard Barnes and EKR

Eric Rescorla <ekr@rtfm.com> Fri, 03 February 2017 13:49 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: trans@ietfa.amsl.com
Delivered-To: trans@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7498F129CEF for <trans@ietfa.amsl.com>; Fri, 3 Feb 2017 05:49:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.gappssmtp.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 t8pjBkbuOYgS for <trans@ietfa.amsl.com>; Fri, 3 Feb 2017 05:49:48 -0800 (PST)
Received: from mail-yb0-x22f.google.com (mail-yb0-x22f.google.com [IPv6:2607:f8b0:4002:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 64146129CFB for <trans@ietf.org>; Fri, 3 Feb 2017 05:49:48 -0800 (PST)
Received: by mail-yb0-x22f.google.com with SMTP id w194so6049477ybe.0 for <trans@ietf.org>; Fri, 03 Feb 2017 05:49:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FW0OCKGifyfEsuQlywBAr5+hTyNlqEf0/qRcDhotNes=; b=j9VAwHWZMLucEGsSuCkD03mqdG1dmnCTU0ep8mHzOu1OykRgZOcYiGVBJmvYq2NOCG +hbnBk5NdCrsrxY3A9ADBI6O6tsB6Kq2DPcWoBptzg9UUgxm+tUqBOGIF+IpPPRFbXOU dWBPQO+Z36OuUifBWaEYXJqBfikJdw6HTlVPFAyNy2ueFRbg3tdq3X2PIgMP/ZqMiK9z jYBs7C0khzESuJmhHOTurGee02XiAr2Ww41NZnyaEVaA1IciFm4AmJTyjKUMs778ZWnA jykoydw47VCh6GSn9/F8R8BATMdL13IL+6aQduiDitZNAW3YBj+epRc+p17u00Rv/9yW wLDQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FW0OCKGifyfEsuQlywBAr5+hTyNlqEf0/qRcDhotNes=; b=ebRzE14VWou7I3eBi1J8Jcqn7kfeS806nis6+v3vfrZZopzB8M4S00m8MhjPwmt6RX Ku8aBChX9KmO1ow/jG5dcdzyBnieZdi1uBohEwr3vAVDDRLc7drCxuStvLDhUob3Z/A5 aQdqMK+gdxHu5Z7bAO6Fchz1IhXzYMlEBD1RtAR65z/kpZGIo/gAiDtN+RpLqNbtMICc DKggoqJfpPj+XuzFRimBXc+NVK4nJKD1Dn3cf5VGsiA2yHU4u3XAUt5iQqaDuUh6fv/H bZ0rCvrPeLIh2RmPrTXcO24aC9JbAkuYRDlMfhE9FG7O8pUqjD00pI1IA3u8ZctHxFDC Mr3A==
X-Gm-Message-State: AIkVDXKG2top/vlmZmox6jDX9hZqIuSmZYFttLha0LWIHoNCZA0qF5UW263vIUtgEG+e2fkr21ODEKguRWosSA==
X-Received: by 10.37.124.195 with SMTP id x186mr5899553ybc.105.1486129787467; Fri, 03 Feb 2017 05:49:47 -0800 (PST)
MIME-Version: 1.0
Received: by 10.13.204.80 with HTTP; Fri, 3 Feb 2017 05:49:06 -0800 (PST)
In-Reply-To: <CAErg=HGNU40Wat9x9b+-xd27MYM11bCHy=Q1p6gHTox6G7vTZA@mail.gmail.com>
References: <8f6852d8-05ae-5f72-8c09-0437cc963b2c@gmail.com> <CABcZeBObdV8DFDVpsSYO5_Wg=GH3JdhsNJa=-6mUmzaVNmE0TQ@mail.gmail.com> <CABrd9SRJw4t=hQ4wPBPR1rwsmZ08hiUn3MR+fiz6Fg4Y7iQFEg@mail.gmail.com> <CABcZeBPkzDcFUog+36BtNWBYOYmkfTsfQM7RAJ2h_w4Oc7EUXw@mail.gmail.com> <CABrd9SSShNAx8NUXx0NrNC9A8gNbAVJbczxe4aQeRmuUNjw82g@mail.gmail.com> <CABcZeBO1FuD+RmB73EAMSQgPynxOKNDZu_Gpic3P6rzqXi+WCA@mail.gmail.com> <b3ed4ab44d8547eb9922f93c65c1292b@usma1ex-dag1mb1.msg.corp.akamai.com> <4c0baba3-f85a-4154-c8af-10f84540cb12@gmail.com> <f070c7152969457d8ddceeff3d5119d2@usma1ex-dag1mb1.msg.corp.akamai.com> <CABcZeBN4VvAbyuyNQhMsQHtDPP8dDzmCCKvOrebmEjxQ5cC-Gw@mail.gmail.com> <CABcZeBOgGs_xsQB6cO0tPFEJdrRbCKOEjZh2uxa2_E8BfcSW6g@mail.gmail.com> <CAErg=HGNU40Wat9x9b+-xd27MYM11bCHy=Q1p6gHTox6G7vTZA@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 03 Feb 2017 05:49:06 -0800
Message-ID: <CABcZeBO8vB3v4eAwhY8c39RWtxN0wqO5d8ZURM2OBy48EU=Qzg@mail.gmail.com>
To: Ryan Sleevi <ryan-ietf@sleevi.com>
Content-Type: multipart/alternative; boundary="001a114bc39612d2c70547a08e6d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/trans/vzW1fXM_w1CjcIZ3HclNERXZY6c>
Cc: "trans@ietf.org" <trans@ietf.org>, Richard Barnes <rlb@ipv.sx>, "Salz, Rich" <rsalz@akamai.com>, Melinda Shore <melinda.shore@gmail.com>, Paul Wouters <paul@nohats.ca>, Ben Laurie <benl@google.com>
Subject: Re: [Trans] Update on 6962-bis issues raised by Richard Barnes and EKR
X-BeenThere: trans@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Public Notary Transparency working group discussion list <trans.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/trans>, <mailto:trans-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/trans/>
List-Post: <mailto:trans@ietf.org>
List-Help: <mailto:trans-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/trans>, <mailto:trans-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Feb 2017 13:49:50 -0000

On Thu, Feb 2, 2017 at 8:32 PM, Ryan Sleevi <ryan-ietf@sleevi.com> wrote:

>
>
> On Thu, Feb 2, 2017 at 11:33 AM, Eric Rescorla <ekr@rtfm.com> wrote:
>
>> If CAs do not log (either maliciously or through mistake), then it is
>> necessary for RPs to refuse to accept certificates which are not
>> logged. However, as long as we believe that the logs behave correctly
>> (specifically, they never sign an SCT that they don't then log) then
>> all that is required is that a certificate contain SCTs from some set
>> of logs and that RPs check that. This is roughly CT as Chrome
>> proposes to implement as of end-of-2017.  Note that the Merkle tree
>> infrastructure is not needed here at all.
>>
>
> I believe you meant end-of-2016, but given that Chrome hasn't made the
> statement you're attributing, it's not fair to say "proposes to implement
> as of end-of-2017."
>

I am referring to this statement:
https://groups.google.com/a/chromium.org/forum/#!msg/ct-policy/78N3SMcqUGw/ykIwHXuqAQAJ

"This past week at the 39th meeting of the CA/Browser Forum, the Chrome
team announced plans that publicly trusted website certificates issued in
October 2017 or later will be expected to comply with Chrome’s Certificate
Transparency policy in order to be trusted by Chrome. "

As I understand that policy, certificates will be required to contain SCTs
from some
set of logs and Chrome will check that. I apologize if I have
misrepresented the situation
and I would appreciate any corrections or clarifications you may have.



The final case is the one where logs are also malicious and collude
>> with a malicious CA to issue an SCT for a certificate but not to log
>> it. In order to detect this, you need to ensure that RPs have the same
>> view of the log structure as auditors do, because otherwise the CA can
>> issue a certificate which will be acceptable to the RP but will never
>> be audited [0]. The general notion for current CT is that there is
>> some notion of getting global consensus on the state of the log and
>> then the auditors and the RPs can know that they are checking the same
>> thing. This is where the Merkle tree infrastructure comes in (though
>> as I indicated previously, Richard and I do not believe it adequately
>> addresses this case).
>>
>
> It's unclear to me, from your remarks and Richard remarks earlier, whether
> you believe this goal is explicitly not achieved under the current
> proposals. It seems that you accept the current proposal actually does
> address this, but that you're unhappy with there being any window between
> issuance and global consensus. That is, there's agreement that the current
> model provides detection under a certain set of bounded constraints, but
> you want to reduce that.
>
> The rest of Richard's message seems to focus on whether the system is
> believed to be sufficiently scalable, but I don't know that there's
> consensus with Richard's assertion - that is, that CT is too inefficient to
> be deployed at scale. Indeed, much of the calculation seems to be based on
> an assumption of a design that tightens the detection window, rather than
> alternatives; the point being that the inefficiency Richard notes is itself
> an issue with Richard's proposal, not an intrinsic property.
>

It might be better to debate this under the thread where Richard and I
explicitly laid out our concerns
or on the conference call which I understand the chairs to be arranging.
The purpose of this parenthetical
was merely to note those in the context of my understanding of the purpose
of the various components of
the system.

With that said, I don't think that this is quite how I would state my
concern. Even ignoring the question
of detection window, it's not clear to us that there is a scalable story
that actually provides public
verifiability to clients.

-Ekr