Re: [TLS] [Technical Errata Reported] RFC5246 (4382)

Martin Thomson <martin.thomson@gmail.com> Fri, 29 May 2015 16:53 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E60741ACD8F for <tls@ietfa.amsl.com>; Fri, 29 May 2015 09:53:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham
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 7WSR7dc_GNhf for <tls@ietfa.amsl.com>; Fri, 29 May 2015 09:53:28 -0700 (PDT)
Received: from mail-yk0-x22f.google.com (mail-yk0-x22f.google.com [IPv6:2607:f8b0:4002:c07::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB5411A8A81 for <tls@ietf.org>; Fri, 29 May 2015 09:53:28 -0700 (PDT)
Received: by ykfr66 with SMTP id r66so24052539ykf.0 for <tls@ietf.org>; Fri, 29 May 2015 09:53:28 -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=CS+EnuG8k28bHeW6RC18flszXFtwY1yDiwpY72OJHbA=; b=xZ6/aZI2McG+kjUJ7b3AaY2spAobKP3ELrQTMgJccCADXtB5fDktXDFAqRGBAJK2QU Gj9g0egdJNZZRs1HIm0LWnKwDlmAb5woWb/t9NVLj9tOd9CvvCDLsHLYqSTRhBH3XOZE GWKDWAIIHCFwmqFSMdWcKW6XuBF9qVUYuiIUJx9c6xGR3bVppcVUF/wEkFJAAoj6XdXN ki3wo8gE98EX8Uwjgqf1CXxWmWkFCkDjzsjAsBv6ir4a7uPdGRJfBEv9rUvPFy9Q4rZM 0sR8ul4aBc6xqbMCXrctLw14UiDxGK6qs4QYxCA9mvd51MjzD68T6QoxIMNiNGHrx4bL iKUg==
MIME-Version: 1.0
X-Received: by 10.170.158.10 with SMTP id z10mr10679578ykc.1.1432918408038; Fri, 29 May 2015 09:53:28 -0700 (PDT)
Received: by 10.129.110.138 with HTTP; Fri, 29 May 2015 09:53:27 -0700 (PDT)
In-Reply-To: <201505291218.27607.davemgarrett@gmail.com>
References: <20150529113932.97453180204@rfc-editor.org> <CABcZeBOWO=rp0-YrRngGRvmRKksxDk9_8rpH2dJKLUbv0LKGDA@mail.gmail.com> <201505291212.12413.davemgarrett@gmail.com> <201505291218.27607.davemgarrett@gmail.com>
Date: Fri, 29 May 2015 09:53:27 -0700
Message-ID: <CABkgnnX_Xh8jcA7Lz2ncZFxKq_z0eTGyaDNopB-=uVgPbbJ4EA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Dave Garrett <davemgarrett@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/YseSO50pY9ctxpFkw_o9EaStYbc>
Cc: lscorco@nsa.gov, Kathleen Moriarty <Kathleen.Moriarty.ietf@gmail.com>, "tls@ietf.org" <tls@ietf.org>, RFC Errata System <rfc-editor@rfc-editor.org>
Subject: Re: [TLS] [Technical Errata Reported] RFC5246 (4382)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
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: Fri, 29 May 2015 16:53:30 -0000

On 29 May 2015 at 09:18, Dave Garrett <davemgarrett@gmail.com> wrote:
>
> I would not be against throwing around some warnings that the length is always the sizeof and not the array length. It's not wrong, though.

ASN.1 doesn't suffer from this problem.  I wonder if it's worth
translating the spec to ASN.1 and (probably) PER?