Re: [Trans] Precertificate format

Rob Stradling <rob.stradling@comodo.com> Tue, 28 October 2014 13:44 UTC

Return-Path: <rob.stradling@comodo.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 1B6241A88E0 for <trans@ietfa.amsl.com>; Tue, 28 Oct 2014 06:44:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.41
X-Spam-Level: *
X-Spam-Status: No, score=1.41 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_MISMATCH_NET=0.611, SPF_PASS=-0.001] autolearn=no
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 yq12qHux_Dx6 for <trans@ietfa.amsl.com>; Tue, 28 Oct 2014 06:43:53 -0700 (PDT)
Received: from ian.brad.office.comodo.net (eth5.brad-fw.brad.office.ccanet.co.uk [178.255.87.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C346B1A88D8 for <trans@ietf.org>; Tue, 28 Oct 2014 06:43:45 -0700 (PDT)
Received: (qmail 16743 invoked by uid 1000); 28 Oct 2014 13:43:42 -0000
Received: from and0004.comodo.net (HELO [192.168.0.58]) (192.168.0.58) (smtp-auth username rob, mechanism plain) by ian.brad.office.comodo.net (qpsmtpd/0.40) with (AES128-SHA encrypted) ESMTPSA; Tue, 28 Oct 2014 13:43:42 +0000
Message-ID: <544F9D8D.9040502@comodo.com>
Date: Tue, 28 Oct 2014 13:43:41 +0000
From: Rob Stradling <rob.stradling@comodo.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: Russ Housley <housley@vigilsec.com>, "trans@ietf.org" <trans@ietf.org>
References: <CABrd9ST-a64kDK82a-ATDW2JkuHZWbGfO0-Rmtgv5mbYrnwZPQ@mail.gmail.com> <64F4A6B5-83B3-4C95-B163-15F2980F3425@vigilsec.com>
In-Reply-To: <64F4A6B5-83B3-4C95-B163-15F2980F3425@vigilsec.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/trans/w0-yTdHabQzJAFHHBMg2Z-8UaYU
Subject: Re: [Trans] Precertificate format
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: Tue, 28 Oct 2014 13:44:05 -0000

On 25/10/14 17:51, Russ Housley wrote:
> I think you are suggesting the format used in a .p7c file.  If I understand correctly, I fully support this idea.

Hi Russ.  It's similar to .p7c in that it uses the SignedData structure.

 From RFC5652...
SignedData ::= SEQUENCE {
         version CMSVersion,
         digestAlgorithms DigestAlgorithmIdentifiers,
         encapContentInfo EncapsulatedContentInfo,
         certificates [0] IMPLICIT CertificateSet OPTIONAL,
         crls [1] IMPLICIT RevocationInfoChoices OPTIONAL,
         signerInfos SignerInfos }

A .p7c is a SignedData structure that contains one or more 
"certificates", but nothing useful in "encapContentInfo" or "signerInfos".

What we're proposing is a SignedData structure that contains zero or 
more "certificates" (CA certificates only), the TBSCertificate in 
"encapContentInfo" and a signature from the CA in "signerInfos".

We'll need to define a new ContentType OID that means "TBSCertificate".

> Russ
>
>> We (the 6962-bis editors) would like to propose that we replace the existing precertificate formats with a TBSCertificate wrapped in PKCS#7. This lays to rest, we think, any possible confusion with X509v3 certs, whilst allowing a simple mapping between the final cert and the pre-cert.
>>
>> Obviously there are details to be nailed down, but before we do so, we'd like to hear any discussion on the general idea.
>
> _______________________________________________
> Trans mailing list
> Trans@ietf.org
> https://www.ietf.org/mailman/listinfo/trans
>

-- 
Rob Stradling
Senior Research & Development Scientist
COMODO - Creating Trust Online
Office Tel: +44.(0)1274.730505
Office Fax: +44.(0)1274.730909
www.comodo.com

COMODO CA Limited, Registered in England No. 04058690
Registered Office:
   3rd Floor, 26 Office Village, Exchange Quay,
   Trafford Road, Salford, Manchester M5 3EQ

This e-mail and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed.  If you have received this email in error please notify the 
sender by replying to the e-mail containing this attachment. Replies to 
this email may be monitored by COMODO for operational or business 
reasons. Whilst every endeavour is taken to ensure that e-mails are free 
from viruses, no liability can be accepted and the recipient is 
requested to use their own virus checking software.