Re: [Trans] parameters to get-all-by-hash and get-proof-by-hash

Andrew Ayer <agwa@andrewayer.name> Sun, 28 March 2021 20:36 UTC

Return-Path: <agwa@andrewayer.name>
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 06D3D3A25CC for <trans@ietfa.amsl.com>; Sun, 28 Mar 2021 13:36:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=andrewayer.name
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 urh4NtDVbxcj for <trans@ietfa.amsl.com>; Sun, 28 Mar 2021 13:36:51 -0700 (PDT)
Received: from thomson.beanwood.com (thomson.beanwood.com [IPv6:2600:1f16:719:be00:5c48:f083:d884:d130]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3EE53A25CA for <trans@ietf.org>; Sun, 28 Mar 2021 13:36:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=andrewayer.name; s=beanwood20160511; t=1616963808; bh=OmnAVQxX0XrqglE09MLeqBrgn+HQbR5MN05kfs1EhqM=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=RnGmguq13aruH83S+XjLjAXqpxlfUPFbHQNK4xRpymo+aGduVLZAqKhJjpnZU3AZj T3vmIqATEscV/RkJzBh71kVlf4fi4ZewKc586WfIgcFf/hQlJsVHEn0GJa+wVr/Rtr 0E5aQikslTvA3RptReJJZwhOr5oEJ4+te8icUWIl6oSug9S/cILSmpUoDGS+/TYBSe vn+cOaWjiwcr5qFdkudgM3x7lMZJl4zaNP1MzsLw78H/fHEpm+JhKfxem1jWpik+6u JIggHyXuq6udPh5P7GOJ9jMAw0r5huv6gRqjtMq0eOvTrVbAW1e8zxGnQE7H+w6iph 9KrzEhIu/x+vA==
Date: Sun, 28 Mar 2021 16:36:48 -0400
From: Andrew Ayer <agwa@andrewayer.name>
To: "Salz, Rich" <rsalz=40akamai.com@dmarc.ietf.org>
Cc: "trans@ietf.org" <trans@ietf.org>
Message-Id: <20210328163648.ada6db78d2b10e45ba2ea537@andrewayer.name>
In-Reply-To: <85450560-0B79-404C-ACB0-1C9F959DE795@akamai.com>
References: <85450560-0B79-404C-ACB0-1C9F959DE795@akamai.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/trans/J0UnTbi-T4hj6A-LkvofkZhEEvs>
Subject: Re: [Trans] parameters to get-all-by-hash and get-proof-by-hash
X-BeenThere: trans@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 28 Mar 2021 20:36:55 -0000

On Sun, 28 Mar 2021 19:34:19 +0000
"Salz, Rich" <rsalz=40akamai.com@dmarc.ietf.org> wrote:

> In his comments, Ben points out the following for 5.4 and 5.5:
> 
> IMPORTANT: The input to get-proof-by-hash has a "tree_size" but the
> processing discussion refers to a single "requested STH".  It does not
> seem like the one uniquely determines the other, since there could be
> multiple valid STHs for a given tree size (e.g., if there are no
> submissions for more than the MMD).  Is the intent to supply an STH as
> input, or is there otherwise need for further clarity here?

The intent is to specify a tree head for which an STH exists.  I've
opened a PR that makes the language clearer:
https://github.com/google/certificate-transparency-rfcs/pull/329

Regards,
Andrew