[TLS] Explicit error expectations (was Re: Deprecate SHA1 for signatures in TLS 1.3)

Dave Garrett <davemgarrett@gmail.com> Sat, 11 July 2015 04:56 UTC

Return-Path: <davemgarrett@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 EBB581A21C0 for <tls@ietfa.amsl.com>; Fri, 10 Jul 2015 21:56:11 -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 CdDGnT_pV-33 for <tls@ietfa.amsl.com>; Fri, 10 Jul 2015 21:56:10 -0700 (PDT)
Received: from mail-qg0-x234.google.com (mail-qg0-x234.google.com [IPv6:2607:f8b0:400d:c04::234]) (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 673521A21BE for <tls@ietf.org>; Fri, 10 Jul 2015 21:56:10 -0700 (PDT)
Received: by qget71 with SMTP id t71so137853189qge.2 for <tls@ietf.org>; Fri, 10 Jul 2015 21:56:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=Bj4XQ+HX0ddAC94nw2/AmdfCwUgmz76ON01szpgTxrU=; b=am5ksTty70CM80Nfwf8EVp5m39wxiTyEn4oFyRaEfJgTLgdLQNNbCqQrDkezcQuCl6 HK4Yo9AMQy3DKlNmoGu0/cowZeP70AHnsd9Ms2mDAdwttwdHlYGyBmu62DZEDgGKOnm7 eN+tpfyMhXnkwUOsVIukMIIigWDWeri98eLk3EzJMDsb2AVQk3/e+nIhMCzC+HybAq8G LWGTLJuxM+4IeC+MyOyXcgVvPnZk69TJ2Mn06F1ViAWLHDQ8Ab6gotvrwiPRI6jvIbwQ eOZzo1FcmDWuX2cg1AxDdGslvmpuEowHFAXu+ZkxZz+WZT/lm0wWc5m6wMbC112pwAdl iheg==
X-Received: by 10.55.15.144 with SMTP id 16mr37394446qkp.98.1436590569640; Fri, 10 Jul 2015 21:56:09 -0700 (PDT)
Received: from dave-laptop.localnet (pool-96-245-254-195.phlapa.fios.verizon.net. [96.245.254.195]) by smtp.gmail.com with ESMTPSA id 195sm7047375qhr.13.2015.07.10.21.56.08 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 10 Jul 2015 21:56:09 -0700 (PDT)
From: Dave Garrett <davemgarrett@gmail.com>
To: tls@ietf.org
Date: Sat, 11 Jul 2015 00:56:07 -0400
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
References: <CALuAYvbteowTeyWe9VneRHgyvzTRS3LfKdorWt=jmEy2k+wNqw@mail.gmail.com> <20150710160848.GW28047@mournblade.imrryr.org> <BLUPR03MB139645B664D7C3998B2DAA3C8C9F0@BLUPR03MB1396.namprd03.prod.outlook.com>
In-Reply-To: <BLUPR03MB139645B664D7C3998B2DAA3C8C9F0@BLUPR03MB1396.namprd03.prod.outlook.com>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201507110056.07539.davemgarrett@gmail.com>
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/X2lG7mnNbYWDjXebly_Mtu-QLF0>
Subject: [TLS] Explicit error expectations (was Re: Deprecate SHA1 for signatures in TLS 1.3)
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 11 Jul 2015 04:56:12 -0000

Due to discussion here, I've started a branch to add some better expectations or errors to deal with things more clearly. Just a WIP at this point:

https://github.com/davegarrett/tls13-spec/compare/seanfixesredux...davegarrett:morealerts

I've also expanded the alerts list to include all standardized as I needed one from another RFC, and SNI will be required, so the full current registry really needs to be listed here for reference.

I already have another WIP branch for MTI extensions over here:

https://github.com/davegarrett/tls13-spec/compare/pruning...davegarrett:mandatoryextensions

(showing branch diffs because each of these is based on PRs still pending review by ekr)

If anyone has any more "MUST NOT" requirements that really should have a corresponding alert specified to go with it, please send me a PR onto my "morealerts" branch. (I haven't completely scoured the spec for them all yet) See also:
https://github.com/tlswg/tls13-spec/issues/156


Dave