Re: [TLS] TLS grammar checker?

Nico Williams <nico@cryptonector.com> Tue, 18 June 2013 17:36 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 020EC21F9B1C for <tls@ietfa.amsl.com>; Tue, 18 Jun 2013 10:36:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.965
X-Spam-Level:
X-Spam-Status: No, score=-1.965 tagged_above=-999 required=5 tests=[AWL=0.012, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ucJzc+qOjH8x for <tls@ietfa.amsl.com>; Tue, 18 Jun 2013 10:36:38 -0700 (PDT)
Received: from homiemail-a72.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by ietfa.amsl.com (Postfix) with ESMTP id 0E20221F996F for <tls@ietf.org>; Tue, 18 Jun 2013 10:36:38 -0700 (PDT)
Received: from homiemail-a72.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a72.g.dreamhost.com (Postfix) with ESMTP id B63216B007B for <tls@ietf.org>; Tue, 18 Jun 2013 10:36:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=d2OICjBdnevSZUIJ9wJR UyVsTe4=; b=r0HzxAnpz3BtumKiaY4hKVAqm6m9ek6nEzjHhP1ZkA9bj9doebjm WFXtcgWqH9Uv2sUCxNqyw63Xelq40Uls3DPgRM1IGg+xS1GSXLKqjsGilCdGWhFm un8xQKIMBBFn/j4Ls1FL1UsiDG8LJrMjarsgAhgkHdzx76po6bSYPYQ=
Received: from mail-we0-f179.google.com (mail-we0-f179.google.com [74.125.82.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a72.g.dreamhost.com (Postfix) with ESMTPSA id 5E7D06B0078 for <tls@ietf.org>; Tue, 18 Jun 2013 10:36:37 -0700 (PDT)
Received: by mail-we0-f179.google.com with SMTP id w59so3691168wes.10 for <tls@ietf.org>; Tue, 18 Jun 2013 10:36:35 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2tEJhSleeN7ujk5opWf/7hjs0nVGjLOXWlRI/thJQw4=; b=bPDPyAbbYlRX52/bC/hx+zp+9Xb3YGJjO25YBgvKohRW3Np6WvL701SDIXLDHzGuep eIvUKmQkm5JfwDtq5jY27cI4xAraKGpthcw7qbhYi9QvWWBPEDsEEhdYkhip65lmA7IH /wAbdwVeC6e0BDQx6z25Pq0xZKeRvX5IEr/zdZx9tuannGSDkMnK5MCLdQD/lJ0amT/n OvHsQ9BuLjI1340UAMpUqQQ0MSuBwf8+SHObSymy8UG4qooxJasZvGYP8aeOuE+20Gv7 SEBd2xtSP0QFiKeLbavPlEStHNu+LmCaM/GpHfzmE2bbcPErCRGGtAh+n+Ni4NASgFtp zlTg==
MIME-Version: 1.0
X-Received: by 10.180.74.162 with SMTP id u2mr2536811wiv.36.1371576995031; Tue, 18 Jun 2013 10:36:35 -0700 (PDT)
Received: by 10.216.29.5 with HTTP; Tue, 18 Jun 2013 10:36:34 -0700 (PDT)
In-Reply-To: <2A0EFB9C05D0164E98F19BB0AF3708C711B1CC17EE@USMBX1.msg.corp.akamai.com>
References: <9A043F3CF02CD34C8E74AC1594475C7343D64D33@uxcn10-tdc02.UoA.auckland.ac.nz> <43347F57-8351-4348-AC3C-4EECE6EE3A32@vpnc.org> <2A0EFB9C05D0164E98F19BB0AF3708C711B1CC17EE@USMBX1.msg.corp.akamai.com>
Date: Tue, 18 Jun 2013 12:36:34 -0500
Message-ID: <CAK3OfOgL=C0QOFM=SBU4rZm2_pnZkrBEoP8GzfjfO6eQtfULyw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: "Salz, Rich" <rsalz@akamai.com>
Content-Type: text/plain; charset="UTF-8"
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] TLS grammar checker?
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Jun 2013 17:36:43 -0000

On Tue, Jun 18, 2013 at 11:55 AM, Salz, Rich <rsalz@akamai.com> wrote:
>> (Having said that, I'd like to see it done.  The grammar used in the
>> SSL/TLS RFCs is pretty confusing in places).
>
> Any support for using a standard like, say, ASN.1 ?

If you want to use something like XDR or ASN.1 you'll need to provide
some open source tooling so that at least content of new TLS-related
I-Ds/RFCs can be syntax-validated.  Otherwise you'll probably get no
consensus.  Not that such tooling would be sufficient for consensus
either (but I'd support it).

Nico

PS: I've thought of defining my own ad-hoc ASN.1 encoding rules for
various purposes.  I'd like a JSON encoding rules for pretty-printing
things that will be encoded in or have been decoded from
BER/DER/PER/...  This would make it possible to use ASN.1 for
specifying JSON schemas too, but no one who doesn't already have to
use ASN.1 wants to use ASN.1, though I myself like ASN.1 -- I only
hate its TLV encodings.