Re: [pkix] An alternative proposal Was: Fwd: New Version Notification for draft-hamilton-cmr-00.txt

Kyle Hamilton <kyanha@kyanha.net> Fri, 28 October 2011 16:14 UTC

Return-Path: <kyanha@kyanha.net>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B578321F8569 for <pkix@ietfa.amsl.com>; Fri, 28 Oct 2011 09:14:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level:
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6xF26b0GJtS1 for <pkix@ietfa.amsl.com>; Fri, 28 Oct 2011 09:14:48 -0700 (PDT)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by ietfa.amsl.com (Postfix) with ESMTP id 01BEF21F8573 for <pkix@ietf.org>; Fri, 28 Oct 2011 09:14:47 -0700 (PDT)
Received: by vws5 with SMTP id 5so4226803vws.31 for <pkix@ietf.org>; Fri, 28 Oct 2011 09:14:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.178.1 with SMTP id cu1mr737223vdc.60.1319818487500; Fri, 28 Oct 2011 09:14:47 -0700 (PDT)
Received: by 10.52.114.99 with HTTP; Fri, 28 Oct 2011 09:14:47 -0700 (PDT)
In-Reply-To: <CAMm+Lwjc=M7h2mTN1AhHPH0LQGO+oN5JSFSG6my5ud5yJezXMA@mail.gmail.com>
References: <CAMm+Lwjc=M7h2mTN1AhHPH0LQGO+oN5JSFSG6my5ud5yJezXMA@mail.gmail.com>
Date: Fri, 28 Oct 2011 09:14:47 -0700
Message-ID: <CADgtLZ7Y0T6drdkc0ZoRQc85MwRbkcSPvgGHgrgkTEaLWvcDcA@mail.gmail.com>
From: Kyle Hamilton <kyanha@kyanha.net>
To: Phillip Hallam-Baker <hallam@gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: pkix@ietf.org
Subject: Re: [pkix] An alternative proposal Was: Fwd: New Version Notification for draft-hamilton-cmr-00.txt
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: PKIX Working Group <pkix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pkix>, <mailto:pkix-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/pkix>
List-Post: <mailto:pkix@ietf.org>
List-Help: <mailto:pkix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pkix>, <mailto:pkix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Oct 2011 16:14:48 -0000

On Wed, Oct 26, 2011 at 2:02 PM, Phillip Hallam-Baker <hallam@gmail.com> wrote:
> Thinking laterally on this issue.
> The issue here seems to come up with the problem that OCSP does not have a
> proper response code for 'does not exist',

I have no problem at all with improving OCSP, as a separate item.  I
really want to improve it, actually.  The problem is that by
definition, any OCSP responder which can respond with a "does not
exist" will be required to respond in that manner for any and every
certificate serial number which is not listed on the CRL.  CRL cannot
meaningfully feed such a responder.

 Now let us imagine for a moment
> that we borrow from the prior art in DNSSEC and have an NSEC3 type
> capability that provides a status for the 'gaps' between certificates.
> Wouldn't this meet all the essential use cases?
> The gaps could be specified either as gaps between certificate serial
> numbers or gaps between cert hashes. I would like to see an OCSP extension
> to allow the hash of the cert to be specified in any case.
> So the old style OCSP token is (essentially)
>    Sign (key, { {status-value, issuer, serial, {extensions}} } )
> I would like to change that for certs that exist to:
>    Sign (key, { {status-value, issuer, serial, {certhash, extensions}} } )
> And if there is a query for a cert that does not exist and the request
> indicates that you can process it, you would get back:
>    Sign (key, { {non-existent, issuer, dummy-serial, {{start-indicator,
> end-indicator}, extensions}} } )

How about,

Sign(key, { {status-value, issuer, serial, { certhash,
extended-status-value, extensions } } })

and

Sign(key, { { status-value REVOKED, issuer, serial, {certhash,
extended-status-value NeverIssued, otherextensions } } })

-Kyle H