Re: [TLS] TLS grammar checker?
Bill Frantz <frantz@pwpconsult.com> Wed, 19 June 2013 00:05 UTC
Return-Path: <frantz@pwpconsult.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 40DC421F962D for <tls@ietfa.amsl.com>; Tue, 18 Jun 2013 17:05:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.224
X-Spam-Level:
X-Spam-Status: No, score=-2.224 tagged_above=-999 required=5 tests=[AWL=-0.376, BAYES_00=-2.599, SARE_OBFU_ALL=0.751]
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 YDhfUuzSBd5C for <tls@ietfa.amsl.com>; Tue, 18 Jun 2013 17:05:35 -0700 (PDT)
Received: from elasmtp-mealy.atl.sa.earthlink.net (elasmtp-mealy.atl.sa.earthlink.net [209.86.89.69]) by ietfa.amsl.com (Postfix) with ESMTP id 950FA21F961F for <tls@ietf.org>; Tue, 18 Jun 2013 17:05:35 -0700 (PDT)
Received: from [173.75.83.226] (helo=Williams-MacBook-Pro.local) by elasmtp-mealy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <frantz@pwpconsult.com>) id 1Up5u1-0007ZR-W5; Tue, 18 Jun 2013 20:05:34 -0400
Date: Tue, 18 Jun 2013 17:05:33 -0700
From: Bill Frantz <frantz@pwpconsult.com>
To: "Blumenthal, Uri - 0558 - MITLL" <uri@ll.mit.edu>
X-Priority: 3
In-Reply-To: <201306182327.r5INR5RO007548@mail172c38.carrierzone.com>
Message-ID: <r422Ps-1075i-3AFF88CCA21845BB9D2515C6C2709DA6@Williams-MacBook-Pro.local>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Mailsmith 2.3.1 (422)
X-ELNK-Trace: 3a5e54fa03f1b3e21aa676d7e74259b7b3291a7d08dfec79e79ec159043add086560d3eadacdad1f350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 173.75.83.226
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: Wed, 19 Jun 2013 00:05:40 -0000
I admire the optimism expressed here. Particularly given the state of computer security today. [More inline] Cheers - Bill On 6/18/13 at 4:26 PM, uri@ll.mit.edu (Blumenthal, Uri - 0558 - MITLL) wrote: >Having written my share of ASN.1 stuff (including >parser/encoder with no known vulnerabilities :), I agree with >Nico's assessment of ASN.1. No known vulnerabilities is a good start. Unfortunately a lot of software is released with no know vulnerabilities but doesn't hold up under attack. It is nice to hear of software that has survived attack with no known vulnerabilities. >TNX! >-- >Regards, >Uri Blumenthal Voice: (781) 981-1638 >Cyber Systems and Technology Fax: (781) 981-0186 >MIT Lincoln Laboratory Cell: (339) 223-5363 >244 Wood Street Email: <uri@ll.mit.edu> >Lexington, MA 02420-9185 >Web: http://www.ll.mit.edu/CST/ > > > >MIT LL Root CA: ><https://www.ll.mit.edu/labcertificateauthority.html> > > >DSN: 478-5980 ask Lincoln ext.1638 > >----- Original Message ----- >From: Nico Williams [mailto:nico@cryptonector.com] >Sent: Tuesday, June 18, 2013 05:49 PM >To: Bill Frantz <frantz@pwpconsult.com> >Cc: tls@ietf.org <tls@ietf.org> >Subject: Re: [TLS] TLS grammar checker? > >On Tue, Jun 18, 2013 at 5:20 PM, Bill Frantz <frantz@pwpconsult.com> wrote: >>On 6/18/13 at 10:36 AM, nico@cryptonector.com (Nico Williams) wrote: >> >>> 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. >> >> >>Given the history of serious security problems due to ASN.1 parser bugs, I >>would feel better with a simpler format. (And yes, I'm one of the people who >>developed an allergy to ASN.1 through use.) > >This tells me that you don't understand what you're talking about, >that your reaction is knee-jerk. > >ASN.1 is just a syntax. The security bugs have been in decoders of >some encoding rules of ASN.1, like BER. > >And there have been security vulnerabilities in *many* encodings not >related to ASN.1, such as XDR, NDR, and others. The problem is not >exclusive to TLV (tag-length-value) encoding rules of ASN.1 (like BER) >nor to ASN.1 encoding rules. It's generic. > >The syntax itself is fine as far as security goes. It's not terribly >easy to parse (so that's one reason not to use it), that's about the >only significant problem with the *syntax*. Here is the reason I worry. The harder things are to do, the more likely mistakes will be made. That is why I prefer simpler formats. While I'm bashing ASN.1, formats that allow infinite length data items are asking for buffer overruns. >I'd go further and recommend the use of a syntax and encoding rules >for which there is suitable tooling available as this allows for more >formality in specifications, and fixing of bugs by fixing >encoder/decoder libraries, increasing code reuse, ... > >Nico >-- >_______________________________________________ >TLS mailing list >TLS@ietf.org >https://www.ietf.org/mailman/listinfo/tls > ----------------------------------------------------------------------- Bill Frantz | I don't have high-speed | Periwinkle (408)356-8506 | internet. I have DSL. | 16345 Englewood Ave www.pwpconsult.com | | Los Gatos, CA 95032
- Re: [TLS] TLS grammar checker? Peter Gutmann
- [TLS] TLS grammar checker? Paul Hoffman
- Re: [TLS] TLS grammar checker? Paul Hoffman
- Re: [TLS] TLS grammar checker? Eric Rescorla
- Re: [TLS] TLS grammar checker? Salz, Rich
- Re: [TLS] TLS grammar checker? Paul Hoffman
- Re: [TLS] TLS grammar checker? Nico Williams
- Re: [TLS] TLS grammar checker? Bill Frantz
- Re: [TLS] TLS grammar checker? Nico Williams
- Re: [TLS] TLS grammar checker? Blumenthal, Uri - 0558 - MITLL
- Re: [TLS] TLS grammar checker? Bill Frantz
- Re: [TLS] TLS grammar checker? Nico Williams
- Re: [TLS] TLS grammar checker? Blumenthal, Uri - 0558 - MITLL
- Re: [TLS] TLS grammar checker? Bill Frantz
- Re: [TLS] TLS grammar checker? Salz, Rich
- Re: [TLS] TLS grammar checker? Peter Gutmann
- Re: [TLS] TLS grammar checker? Hannes Tschofenig
- Re: [TLS] TLS grammar checker? Paul Hoffman
- Re: [TLS] TLS grammar checker? Salz, Rich
- Re: [TLS] TLS grammar checker? Martin Rex
- Re: [TLS] TLS grammar checker? Salz, Rich
- Re: [TLS] TLS grammar checker? Blumenthal, Uri - 0558 - MITLL
- Re: [TLS] TLS grammar checker? Salz, Rich
- Re: [TLS] TLS grammar checker? Nikos Mavrogiannopoulos
- Re: [TLS] TLS grammar checker? Salz, Rich
- Re: [TLS] TLS grammar checker? Martin Rex
- Re: [TLS] TLS grammar checker? Kemp, David P.
- Re: [TLS] TLS grammar checker? Martin Rex
- Re: [TLS] TLS grammar checker? Nico Williams
- Re: [TLS] TLS grammar checker? Kemp, David P.
- Re: [TLS] TLS grammar checker? Martin Rex
- Re: [TLS] TLS grammar checker? Carl Wallace
- Re: [TLS] TLS grammar checker? Martin Rex
- Re: [TLS] TLS grammar checker? Peter Gutmann
- Re: [TLS] TLS grammar checker? Nico Williams
- Re: [TLS] TLS grammar checker? Peter Gutmann
- Re: [TLS] TLS grammar checker? Martin Rex
- Re: [TLS] TLS grammar checker? Nico Williams
- Re: [TLS] TLS grammar checker? Kemp, David P.