Re: [pkix] New draft-ietf-pkix-rfc2560bis-06

mrex@sap.com (Martin Rex) Wed, 24 October 2012 20:22 UTC

Return-Path: <mrex@sap.com>
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 A1ED921F8ACD for <pkix@ietfa.amsl.com>; Wed, 24 Oct 2012 13:22:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.209
X-Spam-Level:
X-Spam-Status: No, score=-10.209 tagged_above=-999 required=5 tests=[AWL=0.040, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 DK7cTFoPGJDQ for <pkix@ietfa.amsl.com>; Wed, 24 Oct 2012 13:22:57 -0700 (PDT)
Received: from smtpde02.sap-ag.de (smtpde02.sap-ag.de [155.56.68.140]) by ietfa.amsl.com (Postfix) with ESMTP id E994521F8A89 for <pkix@ietf.org>; Wed, 24 Oct 2012 13:22:56 -0700 (PDT)
Received: from mail.sap.corp by smtpde02.sap-ag.de (26) with ESMTP id q9OKMret004395 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 24 Oct 2012 22:22:53 +0200 (MEST)
In-Reply-To: <20121024181016.503F21A2F3@ld9781.wdf.sap.corp>
To: mrex@sap.com
Date: Wed, 24 Oct 2012 22:22:52 +0200
X-Mailer: ELM [version 2.4ME+ PL125 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20121024202252.E840F1A2F3@ld9781.wdf.sap.corp>
From: mrex@sap.com
X-SAP: out
Cc: Peter Rybar <peterryb@gmail.com>, pkix@ietf.org, Stefan Santesson <stefan@aaa-sec.com>
Subject: Re: [pkix] New draft-ietf-pkix-rfc2560bis-06
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: mrex@sap.com
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: Wed, 24 Oct 2012 20:22:57 -0000

Patching a defect of my last message:

Martin Rex wrote:
> 
> >
> > For me, asking for the OCSP responder (often the CA itself) to declare than
> > a non-existent certificate (Case 1) is revoked is a bad practice, and it
> > even doesn't solve the problem.
> >
> > Asking for OCSP responders to add something to "good" responses proving
> > they have access to a list of issued certificates (like the hash of the
> > certificate) is a better way to solve the problem. It must be backed-up
> > with rules or recommendations applied to RP to avoid a fallback to CRLs.
> 
> 
> The hard-fail option didn't work for the existing OCSP, how likely
> is it that it would work for a brand-new optional protocol extension?
> 
> The "cert hash" option in the reply can not protect against any attacks,
> whereas the "revoked,certificateHold" option for serials not on the
> record of issued certs can at least protect against _some_ attacks.

The "cert hash" in the OCSP response option protects against
hash-collisions and fraudulently issued without record of certs
that re-use the serial of regular valid certs to appear innocent
from not being detectable.

So that cert hash should probably use at least SHA-256.  Being a
new protocol feature, that ought to be easy (we skipped SHA-1
in DANE as well).


-Martin