Re: [Trans] STH Discipline & Security Considerations
Richard Barnes <rlb@ipv.sx> Mon, 06 March 2017 19:12 UTC
Return-Path: <rlb@ipv.sx>
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 A20DE12987F for <trans@ietfa.amsl.com>; Mon, 6 Mar 2017 11:12:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 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_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.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 j0BcvkRedGOx for <trans@ietfa.amsl.com>; Mon, 6 Mar 2017 11:12:40 -0800 (PST)
Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (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 3695512997D for <trans@ietf.org>; Mon, 6 Mar 2017 11:12:40 -0800 (PST)
Received: by mail-wm0-x22d.google.com with SMTP id n11so73116893wma.0 for <trans@ietf.org>; Mon, 06 Mar 2017 11:12:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=OKGjrqRmnfGQ66jW5qVbdZ0dIJH+UlIqlkpm6NH1DuA=; b=RzbLxB81oVCfmlWIB3bO5maLi0HJy9/UBlYkWgvI0VD28wDwr9Z91d2/FXdYKVyYyC GEna/BuTGvyYbdbTapUYjrilJJ9Dx5M+r5bG+y4h4kkZLkW3eQtn7/saffersUY5CO5f GeoKpajefitpCVO05ZXfpY3I86ZnJ+CysitcVHyYvahPWRDrKBmR04+eoFMGflBC/f+R w+ioPaLlD6rupF4Cu6MrRUq/utt4cHo/dQDPqC2faPT79w/1O8T48e2VvznLiv/T5LqV ah3qV2DxqhkIPSsgWTl5mNq2fhmx5qMABaDC4PnMXaDi6VOrFUeGzNPhm2Ktkplt9OHb +DAA==
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=OKGjrqRmnfGQ66jW5qVbdZ0dIJH+UlIqlkpm6NH1DuA=; b=fAFhIZpq5+rnnzcoP7lwc4GRIv3bLH5VWTwxWzPB4YLVVp9tZZzWksRBvSlIR5vxQ4 7aUbW4tiYT7FPaICe9P6lxPmvdSleGze13JgzpQm3hB9jHaivkcWqjyxDJKmWpDx9LCY b4/acyTNJLbakDsOK+MBmUvEn6WtjWfykurvgjAcK96m/5rNaz4uxQHt4t2JAHQkiD9s NXoBh/n6+ondfQgZYYxR4MhGqG8z49QUUlVHBITuW+9rGuXRODkw0lYB42mjCfHZY/qh 7bANJsU7i+yjaExO2jl6LveEwPjXHkW94za7AUbv4fDNHgD01qquke6AnUjHCemrXMcf dGvw==
X-Gm-Message-State: AMke39ncX/uV8HBpFjielukCqoFhK1zPa8Q4QQowMzM4CQEZdVROm6cpUlHRAfP0vTRdTqSOIR8os59zOUPdGg==
X-Received: by 10.28.93.68 with SMTP id r65mr15699296wmb.133.1488827558271; Mon, 06 Mar 2017 11:12:38 -0800 (PST)
MIME-Version: 1.0
Received: by 10.28.31.2 with HTTP; Mon, 6 Mar 2017 11:12:37 -0800 (PST)
In-Reply-To: <20170303110950.b04152416b71a5873b74fa37@andrewayer.name>
References: <CAL02cgSr_G6HdS7f28cgBE4G_DAhnz6ios2EsTGEx==t6ONOZw@mail.gmail.com> <20170303110950.b04152416b71a5873b74fa37@andrewayer.name>
From: Richard Barnes <rlb@ipv.sx>
Date: Mon, 06 Mar 2017 14:12:37 -0500
Message-ID: <CAL02cgSiGnN9VJN-_DR6jWfM+6m7ZhytxoQ=UxQfanQYXQ0hqQ@mail.gmail.com>
To: Andrew Ayer <agwa@andrewayer.name>
Content-Type: multipart/alternative; boundary="001a11467a9abe4237054a14ada9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/trans/K76oWOkishmuTWPfPin8_jAaKuY>
Cc: Trans <trans@ietf.org>
Subject: Re: [Trans] STH Discipline & Security Considerations
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: Mon, 06 Mar 2017 19:12:41 -0000
On Fri, Mar 3, 2017 at 2:09 PM, Andrew Ayer <agwa@andrewayer.name> wrote: > On Fri, 3 Mar 2017 13:24:51 -0500 > Richard Barnes <rlb@ipv.sx> wrote: > > > # STH Discipline > > > > Either style of auditing also works better if logs have a notion of > > "STH discipline", in the following sense: > > > > 1. The official state of the log comprises a sequence of STHs issued > > at specified intervals. > > > > 2. For each certificate in the log, there is a single "canonical STH" > > to which > > the log will produce an inclusion proof. > > To be clear, would there still be a way to get inclusion proofs to > non-canonical STHs? Clients wouldn't have to use them if they didn't > want to. > I could go either way. My preference would probably be to make it OPTIONAL for a log to provide such proofs, because caching. The client can always just fetch the canonical proof and consistency. (Maybe that needs to be a new endpoint.) > > Proofs to other STHs are > > done by > > adding a consistency proof to the inclusion proof. > > > > This property makes things work more smoothly in both auditing models: > > > > - If the browser is willing to cache STHs, this tells the browser > > exactly which > > STHs it needs to cache in order to validate all inclusion proofs. > > > > - Everything is more cacheable, since there's only one inclusion > > proof per certificate, and a limited set of heads among which > > consistency needs to be > > calculated. > > > > - Cacheability means that the fetches of inclusion proofs get greater > > privacy > > benefit from caching, since they depend only on the certificate, > > not the STH > > that the client is using. Likewise for consistency proofs, because > > of the reduced variety. > > > > >From a protocol point of view, I haven't done a thorough evaluation > > >of the > > document, but there are at least a few things you would want to make > > this model > > work: > > > > - Prose that articulates the above bounds on logs / inclusion > > proofs / STHs. Probably a notion of "STH issuance frequency" parallel > > to MMD. > > > > - A field in an SCT that indicates the canonical STH for the > > certificate in question. Possibly a serial number in STH that SCTs > > could refer to. > > Is this necessary? Why not define the canonical STH as the first STH > issued after the SCT (based on timestamp)? > The reason you want an indicator in the SCT is so that you know which STH to ask for, e.g., if you're fetching a consistency proof. Otherwise, you have to scan around for the right one. > > - An API endpoint for fetching STHs in the official sequence (in > > addition to the current one, which is the only option right now). > > +1. I think any privacy-preserving auditing mechanism will need such an > endpoint so that STHs can be reliably distributed to clients. > Thanks for the feedback! --Richard > > Regards, > Andrew >
- [Trans] STH Discipline & Security Considerations Richard Barnes
- Re: [Trans] STH Discipline & Security Considerati… Andrew Ayer
- Re: [Trans] STH Discipline & Security Considerati… Richard Barnes
- Re: [Trans] STH Discipline & Security Considerati… Ben Laurie
- Re: [Trans] STH Discipline & Security Considerati… Richard Barnes
- Re: [Trans] STH Discipline & Security Considerati… Al Cutter