Re: [Trans] RFC6962 BIS Log file encodings.

Phillip Hallam-Baker <hallam@gmail.com> Fri, 28 March 2014 18:13 UTC

Return-Path: <hallam@gmail.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 00ABC1A06B8 for <trans@ietfa.amsl.com>; Fri, 28 Mar 2014 11:13:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.999
X-Spam-Level:
X-Spam-Status: No, score=-0.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, J_BACKHAIR_52=1, 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 h978Arr48l90 for <trans@ietfa.amsl.com>; Fri, 28 Mar 2014 11:13:48 -0700 (PDT)
Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) by ietfa.amsl.com (Postfix) with ESMTP id 1E57B1A0332 for <trans@ietf.org>; Fri, 28 Mar 2014 11:13:47 -0700 (PDT)
Received: by mail-lb0-f181.google.com with SMTP id c11so3943934lbj.40 for <trans@ietf.org>; Fri, 28 Mar 2014 11:13:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3VWyZ1Dfm5yPNVu68YQVKDbCNhfi1Mn61ThsFqzYfBg=; b=cGUlPVZ51nb5OfNKruCsZKhlIgZL5qAT7uWNJ891FIl9/pdEir9eiPqIavjzqEc8pG 1MfhrG0LP/m3PAngskFxpowc5ygBH8hr5gonP13jYmxCGWe1GgiRmEenX8aSNQrbUk+s Z0XjihrGqEpDQ6GaHAkYqS3FTXiV0bCRmqYRH4fS9lX9/p9LwiUgCqbtWPY38t2+zUPa NLK0ORW0NHvnPnTCpZLM06mMDm/vtC0DUb5jddvOuDskYapyyEGLliotSR982rKVGMer KG9j6U9evth6dRS1+trGKbDNk1hP8Xa+9SVcqD8K6iIRd9ufOtHQzTSUAMJgN+wRL7Fx 31Xg==
MIME-Version: 1.0
X-Received: by 10.152.23.169 with SMTP id n9mr1165830laf.45.1396030424837; Fri, 28 Mar 2014 11:13:44 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Fri, 28 Mar 2014 11:13:44 -0700 (PDT)
In-Reply-To: <544B0DD62A64C1448B2DA253C011414607C85F39F4@TUS1XCHEVSPIN33.SYMC.SYMANTEC.COM>
References: <CAMm+Lwjy7gMphsfByROYP2WDTvP4nVkCQPj=oHkVFr=AQv=qjw@mail.gmail.com> <5322131A.2080507@comodo.com> <CAMm+Lwhz7KM44kMgn8mdFtR6Ow=aMik-5GD-Wge+JZUKz751mA@mail.gmail.com> <CALzYgEdSs0+SJrL9uzem1NnWv=jPAFr_dxrqvLkSqyd_nX+yGg@mail.gmail.com> <544B0DD62A64C1448B2DA253C011414607C85F39F4@TUS1XCHEVSPIN33.SYMC.SYMANTEC.COM>
Date: Fri, 28 Mar 2014 14:13:44 -0400
Message-ID: <CAMm+LwjriXwEYZZX03y=w-gC_O5uczuXKnAcJpUFnZ-m6JS4Pw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Rick Andrews <Rick_Andrews@symantec.com>
Content-Type: multipart/alternative; boundary="089e0160b99a9176ee04f5aea9eb"
Archived-At: http://mailarchive.ietf.org/arch/msg/trans/jKon9aerZxg86bz6A_ppjLGWnxw
Cc: Eran Messeri <eranm@google.com>, "trans@ietf.org" <trans@ietf.org>, Rob Stradling <rob.stradling@comodo.com>
Subject: Re: [Trans] RFC6962 BIS Log file encodings.
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, 28 Mar 2014 18:13:51 -0000

The encoding isn't ASN.1 so using ASN.1 schema is a terrible idea.

Putting data in certificates does unfortunately lead to the risk of ASN.1.

One of the reasons I developed JSON-BCD was I could see this going to
happen and I would much prefer the JSON style approach over any further
investment in ASN.1.



On Fri, Mar 28, 2014 at 1:31 PM, Rick Andrews <Rick_Andrews@symantec.com>wrote:

> In addition, our ASN.1 experts have asked for the syntax to be described
> in "ASN.1-like" syntax, as is used in RFCs 3280 and 5280.
>
>
>
> For example, 3280/5280 defines an Extension like this:
>
>
>
> Extension  ::=  SEQUENCE  {
>
>      extnID      OBJECT IDENTIFIER,
>
>      critical    BOOLEAN DEFAULT FALSE,
>
>      extnValue   OCTET STRING  }
>
>
>
> so the extnValue is defined as an OCTET STRING, yet 6962 says "...encoding
> the SignedCertificateTimestampList structure as an ASN.1 OCTET STRING and
> inserting the resulting data in the TBSCertificate as an X.509v3
> certificate extension...". The ASN.1 folks say it's not clear if that means
> that the Extension contains the OCTET STRING data type (for extnValue) and
> length followed by another OCTET STRING data type identifier and length of
> the SCT. Or is the second OCTET STRING identifier redundant?
>
>
>
> Those updating existing cert generation code will probably be dealing with
> ASN.1 compilers, so a precise definition of structures in ASN.1-like syntax
> will go a long way. In addition, defining OIDs as arc plus extension (like
> this: id-kp-serverAuth  OBJECT IDENTIFIER ::= { id-kp 1 }) would help.
>
>
>
> -Rick
>
>
>
> *From:* Trans [mailto:trans-bounces@ietf.org <trans-bounces@ietf.org>] *On
> Behalf Of *Eran Messeri
> *Sent:* Friday, March 14, 2014 3:01 AM
> *To:* Phillip Hallam-Baker
> *Cc:* Rob Stradling; trans@ietf.org
> *Subject:* Re: [Trans] RFC6962 BIS Log file encodings.
>
>
>
> I strongly support clarifying the description of the file format. When I
> started implementing aspects of RFC6962 (with no background in TLS encoding
> or ASN.1) it was very unclear.
>
> From other posts<https://groups.google.com/forum/#!topic/certificate-transparency/T9CDwnsercQ>on the list it seems this was unclear to others as well.
>
>
>
> On Thu, Mar 13, 2014 at 10:50 PM, Phillip Hallam-Baker <hallam@gmail.com>
> wrote:
>
> On Thu, Mar 13, 2014 at 4:20 PM, Rob Stradling <rob.stradling@comodo.com>
> wrote:
>
> (Inspired by RFC5280 Appendix C)
>
> Would it help to include one or more example SCTs in the text?
>
>
>
> I think we definitely need that for Proposed. But right now I am trying to
> see how complete the description is.
>
>
>
> --
> Website: http://hallambaker.com/
>
>
> _______________________________________________
> Trans mailing list
> Trans@ietf.org
> https://www.ietf.org/mailman/listinfo/trans
>
>
>



-- 
Website: http://hallambaker.com/