Re: [Trans] Alternate formats for Precertificates

Paul Hoffman <paul.hoffman@vpnc.org> Wed, 26 February 2014 17:12 UTC

Return-Path: <paul.hoffman@vpnc.org>
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 6424C1A06E4 for <trans@ietfa.amsl.com>; Wed, 26 Feb 2014 09:12:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.347
X-Spam-Level:
X-Spam-Status: No, score=-1.347 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553] 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 JKg6r9aSLGYF for <trans@ietfa.amsl.com>; Wed, 26 Feb 2014 09:12:28 -0800 (PST)
Received: from hoffman.proper.com (IPv6.Hoffman.Proper.COM [IPv6:2605:8e00:100:41::81]) by ietfa.amsl.com (Postfix) with ESMTP id 55C3D1A06E3 for <trans@ietf.org>; Wed, 26 Feb 2014 09:12:28 -0800 (PST)
Received: from [10.20.30.90] (50-1-98-67.dsl.dynamic.sonic.net [50.1.98.67]) (authenticated bits=0) by hoffman.proper.com (8.14.8/8.14.7) with ESMTP id s1QHC61Y070060 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 26 Feb 2014 10:12:08 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: hoffman.proper.com: Host 50-1-98-67.dsl.dynamic.sonic.net [50.1.98.67] claimed to be [10.20.30.90]
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CF3388E0.11D87%carl@redhoundsoftware.com>
Date: Wed, 26 Feb 2014 09:12:06 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <2CABE0AE-46C1-4D7A-BD8F-29BFE6225D3A@vpnc.org>
References: <CABrd9SSOmEgbTvLNw5bPN2SnKbob800qEecn+tHvZUkrghFcQg@mail.gmail.com> <530E100A.7040503@primekey.se> <530E142A.90007@comodo.com> <530E16CD.6030908@primekey.se> <CABrd9SR1S7Fg5Xs_dkgou3HfF4O_hyzFxW4qS=-2eti7DmGZew@mail.gmail.com> <67380B58-5D8B-4B38-B20B-2FF6769FE94B@vpnc.org> <CF3388E0.11D87%carl@redhoundsoftware.com>
To: Carl Wallace <carl@redhoundsoftware.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/trans/lCPoSyAUusbhPtIlSQH1j3NAL6w
Cc: "trans@ietf.org" <trans@ietf.org>, Ben Laurie <benl@google.com>
Subject: Re: [Trans] Alternate formats for Precertificates
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: Wed, 26 Feb 2014 17:12:29 -0000

On Feb 26, 2014, at 9:05 AM, Carl Wallace <carl@redhoundsoftware.com> wrote:

> 
> On 2/26/14, 11:58 AM, "Paul Hoffman" <paul.hoffman@vpnc.org> wrote:
> 
>> RFC 4211 is also somewhat ambiguous. It says:
>> 
>>  CertTemplate ::= SEQUENCE {
>>     version      [0] Version               OPTIONAL,
>>     serialNumber [1] INTEGER               OPTIONAL,
>>     signingAlg   [2] AlgorithmIdentifier   OPTIONAL,
>>     issuer       [3] Name                  OPTIONAL,
>>     validity     [4] OptionalValidity      OPTIONAL,
>>     subject      [5] Name                  OPTIONAL,
>>     publicKey    [6] SubjectPublicKeyInfo  OPTIONAL,
>>     issuerUID    [7] UniqueIdentifier      OPTIONAL,
>>     subjectUID   [8] UniqueIdentifier      OPTIONAL,
>>     extensions   [9] Extensions            OPTIONAL }
>> 
>> And:
>> 
>>     serialNumber MUST be omitted.  This field is assigned by the CA
>>     during certificate creation.
>> 
>>     signingAlg MUST be omitted.  This field is assigned by the CA
>>     during certificate creation.
>> 
>> If it "MUST be omitted", it is not optional. So, a document updating RFC
>> 4211 to fix this error, at least for the limited use of CT, seems fine.
> 
> If this is all that is sought, why not just use TBSCertificate as Rob
> suggested and be done?  How would that run afoul of ritual compliance?

Because I couldn't figure out what he meant, and he followed by a smilely so I figured it wasn't serious.

When you say "just use a TBSCertificate", you mean that CT use that instead of a certificate structure, yes?

--Paul Hoffman