Re: [pkix] Proposed resolution to non-issued certificates - 2560bis

Simon Tardell <simon@tardell.se> Fri, 02 November 2012 12:08 UTC

Return-Path: <simon@tardell.se>
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 2AE0021F8818 for <pkix@ietfa.amsl.com>; Fri, 2 Nov 2012 05:08:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level:
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DlfjX+t1H-eC for <pkix@ietfa.amsl.com>; Fri, 2 Nov 2012 05:08:17 -0700 (PDT)
Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) by ietfa.amsl.com (Postfix) with ESMTP id 43D6121F880E for <pkix@ietf.org>; Fri, 2 Nov 2012 05:08:16 -0700 (PDT)
Received: by mail-lb0-f172.google.com with SMTP id k13so2799743lbo.31 for <pkix@ietf.org>; Fri, 02 Nov 2012 05:08:16 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=/uyWwJRsXq+EpgtrhiXK5PZSPMSK1RwtcHJ15NgQl0E=; b=RyR7XVlTx5bmtGROyXaRxhrlNuGONHbA6qU4DJXeS7azkVk1A88XgkxoL5dI06GAqa gmH0mG+GFKPN4KxuN2sseOUUhhGTjVTbUUHF6rwa2T4DEgMFHAkUg4ugXgzkw4aGKT+d pcYm5AkEDWyq6EPC5EJ+CErrs36yv578MFGr0q+inlygPcYes/7U6AMXQS1lUeEp/fsW 5EOOSay0lt/IALHRHChKfmO4SCQjxpX6pqaYhA13X7UM1SF6FzkwkS3P9vQRNGour4ZH Y0SnwJuDo0rr7q3NBtgoE5E6YzsfrfTa7Dw5U6khaBdKGesRgwX2TaNUqrJrbQLtMIqt 13tA==
MIME-Version: 1.0
Received: by 10.112.54.99 with SMTP id i3mr655815lbp.37.1351858095770; Fri, 02 Nov 2012 05:08:15 -0700 (PDT)
Received: by 10.112.134.102 with HTTP; Fri, 2 Nov 2012 05:08:15 -0700 (PDT)
In-Reply-To: <201211021016.qA2AGYZA000373@mail.nbusr.sk>
References: <034701cdb87e$0f083a80$2d18af80$@ditenity.com> <201211021016.qA2AGYZA000373@mail.nbusr.sk>
Date: Fri, 02 Nov 2012 13:08:15 +0100
Message-ID: <CANkYYy5TsTajY4hztaHaFeWsUYd+d+7st_yKCcqUAkdWNY6BMw@mail.gmail.com>
From: Simon Tardell <simon@tardell.se>
To: Peter Rybar <rybar@nbusr.sk>
Content-Type: multipart/alternative; boundary="bcaec555544695cc7104cd81fdd1"
X-Gm-Message-State: ALoCoQmxURTMznVrQ9V5BkUqDIr2Tj6PA0JgT765VE5fboe1fzZrJIg5YgmnUSLroC/v2DtKG0jK
Cc: Stefan Santesson <stefan@aaa-sec.com>, "pkix@ietf.org" <pkix@ietf.org>
Subject: Re: [pkix] Proposed resolution to non-issued certificates - 2560bis
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, 02 Nov 2012 12:08:19 -0000

On Fri, Nov 2, 2012 at 11:16 AM, Peter Rybar <rybar@nbusr.sk> wrote:

> ** **
>
> Stefan,****
>
> ** **
>
> I agree with David A. Cooper and Piyush.****
>
> ** **
>
> And also retroactive revocation is not allowed in X.509.****
>
> The certificate status "revoked" in OCSP must be consistent with the
> status in CRL.****
>
> In this case it is not consistent because status "revoked" is proposed to
> be in OCSP but in the same time it is not included in CRL.****
>
> Validation will be different by CRL/OCSP!
>
So a CA that does answer revoked for never issued MUST NOT use CRLs.

> **
>
> Don't forget that also thisUpdate MUST be correctly used and included in
> OCSP response.****
>
> ** **
>
>    - thisUpdate: The time at which the status being indicated is known to
> be correct.****
>
> ** **
>
> It mans any new "correct" revocation MUST be with revocation value which
> is greater than value thisUpdate of any issued CRL/OCSP.
>
Including revocation date/time before value thisUpdate (of any already
> issued CRL/OCSP) is destruction of X.509 fundamental rules for validations.
> ****
>
> Date and time of revocation MUST be only after value thisUpdate which is
> included in last issued CRL or OCSP.****
>
> **
>

I don't quite understand. The revocationTime of a RevokedInfo must
logically be earlier than the thisUpdate of the response, unless we assume
that we are dealing with a precog OCSP responder. The OCSP responder should
try to keep the thisUpdate as close to "now" as it can, to limit the window
where compromised keys can be used.

/Simon