Re: [Trans] Precertificates and revocation

Eran Messeri <eranm@google.com> Wed, 25 September 2019 16:58 UTC

Return-Path: <eranm@google.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 944691200CE for <trans@ietfa.amsl.com>; Wed, 25 Sep 2019 09:58:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.5
X-Spam-Level:
X-Spam-Status: No, score=-17.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] 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 2py0iZ44ArXt for <trans@ietfa.amsl.com>; Wed, 25 Sep 2019 09:58:46 -0700 (PDT)
Received: from mail-yw1-xc33.google.com (mail-yw1-xc33.google.com [IPv6:2607:f8b0:4864:20::c33]) (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 1ED99120132 for <trans@ietf.org>; Wed, 25 Sep 2019 09:58:46 -0700 (PDT)
Received: by mail-yw1-xc33.google.com with SMTP id s6so2309491ywe.5 for <trans@ietf.org>; Wed, 25 Sep 2019 09:58:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PlhQqycLPsRI9afYhiNXd5E2FsUnf7GepjNXcg7LmUw=; b=MGTtIlMMrGYkulu9zJ1Pl/g+IQ7Scol56YPIgzs4SAYzVsQ4UHeguSp4DyfwZxrkHo guecqjvTQS9k2yGoyxdR3TENoYKGxKV/sA3i1IIGRkxcoxMGyRQY1XyNez687vZ/2wro HOQuXY9rjXrDonCp7xwQYpmBsqzNGSBWtWpBfazSguWA97c2AWeHJvc1wqRRVfzX+6cJ Brzor66c/R/ODiJMDyJBtuoPJuOupr55Jxlwdwe6Bh0Ardw9YKMciq+pk7VWUd4HUWc1 Z8BOPOuvzZdTAlHTXfWT1AP8bDNCwJ3BRRuvzcxafvr8Fz82VsctlfzkOPD4YV3vgjpM 9hmA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PlhQqycLPsRI9afYhiNXd5E2FsUnf7GepjNXcg7LmUw=; b=rCB++GhFMgVGM+CACTDPWQu8KRWPLCEB+FglcfNjsa14Rkyu4mGJnth7ihiI65LlUA R1XaAbaPqja8muVXAsIN8ilPXeaIlj0ZLOeEZFfHgqo2wYDUySugdPsL2KjE6Jd/N8xo q7GLMeRVcNeBbpqyLMm+08J5BGMQsckhHvqPRRCTFGZGYx8oidr0QiBdzJzvK9EVsRDL DZZAnZqNFygkB4MUilH+yAxlT9Jbi73I5AVJWTrs+/KCpkfQmqlr1myn5TNaZVK5/jgS Z3SZtyw2zFVOuqP/BaUVGLtMv0kV4qPN7AHbFx7geya7mwmKQgBssHGnwSWvq1cmz7Zc u1bQ==
X-Gm-Message-State: APjAAAVmHOM3dr0svZwprZHNgzImv8jS7jKxwNsA+vfkkprfjnLIdQjI p9ro7GvwElgt8q1RI/Bet/Qahs/H6ARah0ieTa1SvkJnhX4=
X-Google-Smtp-Source: APXvYqzEyeHZVmejM2hRnA/SLm63JnmBP6SMrDu9nfYLkZQC0rRR4rBMnY8kmQi9CvlD6wxsDBc13WFze63pKeoOzfI=
X-Received: by 2002:a81:5883:: with SMTP id m125mr6529752ywb.64.1569430724655; Wed, 25 Sep 2019 09:58:44 -0700 (PDT)
MIME-Version: 1.0
References: <20190916100800.5b62d43c0f28e30269f41b7a@andrewayer.name> <21a9ea1e-124b-3bf2-72f5-4dc755d4061b@sectigo.com> <CAErg=HHcG8p_6NAzKyDYg+gPpF6p7F688pSD+qD+shcFdr9vRA@mail.gmail.com> <39d0ea14-36ca-b311-91df-074c1346f8c3@sectigo.com>
In-Reply-To: <39d0ea14-36ca-b311-91df-074c1346f8c3@sectigo.com>
From: Eran Messeri <eranm@google.com>
Date: Wed, 25 Sep 2019 17:58:18 +0100
Message-ID: <CALzYgEciP=y401SWQhsCc71tbFVVFZ0W5S929QStXqJ1EQfFog@mail.gmail.com>
To: Rob Stradling <rob@sectigo.com>
Cc: Ryan Sleevi <ryan-ietf@sleevi.com>, "trans@ietf.org" <trans@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d814e605936390cd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/trans/ZUv2PwjAyrJP_dKDlwZ-go17HMU>
Subject: Re: [Trans] Precertificates and revocation
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: Wed, 25 Sep 2019 16:58:49 -0000

Rob, what leads you to say that "6962-bis has an effective MUST NOT"
regarding the CA not having to provide status information for a 6962-bis
precertificate?

I agree it'd be helpful to add a clarification in 6962-bis regarding CAs
possibly being asked about revocation status of a not-yet-issued
certificate. I just want to understand where 6962-bis prevents CAs from
publishing revocation info for 6962-bis precerts.

On Mon, Sep 23, 2019 at 12:21 PM Rob Stradling <rob@sectigo.com> wrote:

> If 6962-bis says nothing about this topic, then ISTM that the default
> effective requirement will be that a CA MUST NOT provide OCSP status for
> a (CT v2) precertificate where the corresponding certificate has not
> (yet) been issued.  This is because, whichever way you look at it, a CT
> v2 precertificate is not a "certificate" according to
> RFC5280/RFC6960/RFC5019.
>
> I agree that a statement such as "CAs MUST provide OCSP status for CT v2
> precertificates" would not belong in 6962-bis, but would instead belong
> in a TLS client policy document.  However, I would prefer to avoid the
> situation where 6962-bis has an effective MUST NOT but where (some, but
> not necessarily all) TLS client policies have a MUST.  In order to avoid
> such a conflict, I think it would be helpful for 6962-bis to outline the
> policy space by making the following points:
>
> 1. Since issuance of a precertificate `P` is a binding commitment to
> issue a corresponding certificate `C`, monitors may reasonably assume
> that `C` has been issued.
> 2. It follows that monitors may wish to request status information
> (e.g., via CRL and/or OCSP) for the serial number of `P`, even though
> (unbeknownst to the monitor) `C` has not actually been issued.
> 3. Although `P` is not a "certificate" according to
> RFC5280/RFC6960/RFC5019, some TLS clients may have policies that require
> CAs to provide certificate status (e.g., signed OCSP responses and/or
> CRLs) for the serial number of `P`, regardless of whether or not `C` has
> been issued.
>
> Making these points would transform 6962-bis's effective requirement
> from a MUST NOT into a MAY.  A TLS client policy could then profile that
> to a MUST without introducing any conflict.
>
> ISTM that this approach of outlining the policy space but not setting
> policy would be consistent with, for example,
> https://tools.ietf.org/html/draft-ietf-trans-rfc6962-bis-33#section-6.1.
>
> On 20/09/2019 17:16, Ryan Sleevi wrote:
> > As I mentioned elsewhere, I'm not sure this is an entirely useful or
> > productive concern to be raising at this time. I have also shared that I
> > think this is a question of policy than protocol, even though the policy
> > decision has implications on other protocols. Thus I think it's much
> > more appropriately discussed among individual implementations.
> >
> > As a protocol for allowing both the pre-disclosure of a certificate and
> > post-disclosure of a certificate. We saw, rather extensively in the
> > Threat Model document, different perspectives on policies regarding how
> > pre-disclosure should be treated and handled. For example, using the
> > protocol in 6962 or -bis, it's possible to use CT as a means of
> > detecting and correcting certificates prior to issuance (the discussion
> > about Logs applying rules to certificates). Similarly, it's possible for
> > CT as a protocol to be used entirely internal to an organization, as
> > part of audit logging for external audits via a common protocol, even
> > with the inclusion of data that might otherwise be inappropriate for
> > publicly-exposed logs.
> >
> > So I do think that, from the point of view of the RFCs, it's a matter of
> > policy as to how the existence of a pre-certificate is treated, which
> > aligns with the particular intended deployment of the CT protocol. If a
> > policy (e.g. by a browser, for the Web PKI) treats the issuance of a
> > pre-certificate as an unrebuttable proof of an equivalent certificate,
> > which is certainly one of the core things CT enables policy to state,
> > then it naturally follows that it must be treated as such within
> > protocols that are keyed on the issuance of certificates.
> >
> > It's an operational concern, defined by local policy, as to what impact,
> > if any, it has on other protocols. Just as RFC 5280 does not define, for
> > example, what forms of names to include within a distinguished name, I'm
> > not convinced that this would even belong in 6962-bis, because it covers
> > the operational aspects and implications of a PKI that may use, in part
> > or whole, these RFCs.
>
> --
> Rob Stradling
> Senior Research & Development Scientist
> Sectigo Limited
>
> _______________________________________________
> Trans mailing list
> Trans@ietf.org
> https://www.ietf.org/mailman/listinfo/trans
>