Re: [Trans] [trans] #79 (rfc6962-bis): Precertificate signaturemust be over something other than just the TBSCertificate

Stephen Kent <kent@bbn.com> Fri, 12 June 2015 17:38 UTC

Return-Path: <kent@bbn.com>
X-Original-To: trans@ietfa.amsl.com
Delivered-To: trans@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9615E1ACDEC for <trans@ietfa.amsl.com>; Fri, 12 Jun 2015 10:38:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level:
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 X4K2z5bS-j4t for <trans@ietfa.amsl.com>; Fri, 12 Jun 2015 10:38:20 -0700 (PDT)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.1.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D9D1D1ACDE7 for <trans@ietf.org>; Fri, 12 Jun 2015 10:38:19 -0700 (PDT)
Received: from ssh.bbn.com ([192.1.122.15]:37695 helo=COMSEC.home) by smtp.bbn.com with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <kent@bbn.com>) id 1Z3SuI-000ObG-R1 for trans@ietf.org; Fri, 12 Jun 2015 13:38:18 -0400
Message-ID: <557B190A.8090300@bbn.com>
Date: Fri, 12 Jun 2015 13:38:18 -0400
From: Stephen Kent <kent@bbn.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: trans@ietf.org
References: <064.abd6b6595a6018105f8527089cb573db@tools.ietf.org><079.727c660183267c66b37706330f6dc562@tools.ietf.org> <557A00A9.5010906@bbn.com> <557ADF0D.4060801@comodo.com>
In-Reply-To: <557ADF0D.4060801@comodo.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/trans/ltwwCzIliu-VU5UZSg3PRiW50Jw>
Subject: Re: [Trans] [trans] #79 (rfc6962-bis): Precertificate signaturemust be over something other than just the TBSCertificate
X-BeenThere: trans@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 12 Jun 2015 17:38:22 -0000

Rob,
> On 11/06/15 22:42, Stephen Kent wrote:
>> what does it mean to not be "an X509 signature"?
>>
>> I thought the intent was to use a CMS object, and thus the signature
>> would be defined by that (profiled) CMS object.
>
> Hi Steve.  That's correct.
>
> At the top of ticket #79 I wrote:
> "If I understand the CMS spec correctly, then we're currently defining 
> a Precertificate to be a CMS structure that contains a TBSCertificate 
> and a signature over just that TBSCertificate.
> That means that the components of a Precertificate can be trivially 
> rearranged into an X.509 certificate with a valid signature!"
>
> It turns out that I didn't understand correctly.  :-)
happens to all of us ;-)
>
> Ben added some text to help clarify the situation:
> "Note that, because of the structure of CMS, the signature on the CMS 
> object will not be a valid X.509v3 signature and so cannot be used to 
> construct a certificate from the precertificate."
I might say: "The signature on the CMS structure used to convey a 
pre-certificate
is not the same as the signature that appears in the X.509 certificate, 
per se."

Steve