Re: [TLS] Comments on draft-wood-tls-external-psk-importer-01

"Christopher Wood" <caw@heapingbits.net> Wed, 10 April 2019 01:36 UTC

Return-Path: <caw@heapingbits.net>
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 8F79912014D for <tls@ietfa.amsl.com>; Tue, 9 Apr 2019 18:36:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.691
X-Spam-Level:
X-Spam-Status: No, score=-2.691 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_FROM_FMBLA_NEWDOM14=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=heapingbits.net header.b=RJq2EKDr; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=Ybsu2Y48
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 lAIf3G0M5uXs for <tls@ietfa.amsl.com>; Tue, 9 Apr 2019 18:36:54 -0700 (PDT)
Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2625B12014A for <tls@ietf.org>; Tue, 9 Apr 2019 18:36:51 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 607B514B10; Tue, 9 Apr 2019 21:36:50 -0400 (EDT)
Received: from imap4 ([10.202.2.54]) by compute6.internal (MEProxy); Tue, 09 Apr 2019 21:36:50 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heapingbits.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type:content-transfer-encoding; s=fm1; bh=DNFZn 65qSZjl8D3DB+IpTqAh5Bqriw4iAkTgXbfHVE8=; b=RJq2EKDrxF/JGgFkBZtI9 iI3Qvy1zuPpiuK6J/SF7gDHT/+YmWPlP7lA6FlpFyRNFRLan7LWx3vDvl/F3t/ZA WyV+qI1gG0YC0ucmZydl+jCt24HBmuxxPVIMVNwj2ZFj0YYm8Ssnyamh2+u+xlG0 ipwkFEv+SYVKmmjCgvgmMRlNdDumH/9ymafluKi0+tIlrEFK0vDdTTQ5l07SFYxk pTjHtxoAwMPZERLoZXDJzV4KNTCAXtXYfE8RL3XXiesKGSIYezAKFRW2VX5zWZkI 2k6eZNJZRSnG5kHILbkNYhwLjDjlUQCCsG0T6AiwgXRUri8jOYG0nC1TgAu0xdpa A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=DNFZn65qSZjl8D3DB+IpTqAh5Bqriw4iAkTgXbfHV E8=; b=Ybsu2Y48WvV08h8zuxnun55+EVBrS99eaPuj0l4TiX3mqp3inKQajoZza 305VT4TO2te1KnlaujHRvtX0/vvcGL819E2Ljc8XdYhnuhI/sqHAoczhaQJL0p+/ VdL2xf41S/EW0DVelgjtcgnVGKpX5mT6Cy3pR/eznR/36D8ro0/yyD76kAbfdqMg Xh3wKJUMQAOUjgh8e4g8amkxB0gOIVzMuAMezu9mgwR559jh2nB6iaTww+NJx/bp L9i6oY2FTJ+QDqF3Wyrg5M+5/K0K9EHAN3fPW+W7rCF2B5vms6E2gE+SePoYuEsL zfkle6ETVB6fq6/rqTLIbH2c0/dOg==
X-ME-Sender: <xms:sUitXI4LSdL3tvA_b_hdX_JD4RoICFnEA3uf7x4UMT1fAs3E5yeX9g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudeigdeglecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdevhhhr ihhsthhophhhvghrucghohhougdfuceotggrfieshhgvrghpihhnghgsihhtshdrnhgvth eqnecurfgrrhgrmhepmhgrihhlfhhrohhmpegtrgifsehhvggrphhinhhgsghithhsrdhn vghtnecuvehluhhsthgvrhfuihiivgeptd
X-ME-Proxy: <xmx:sUitXFXN-UITnqy-fUOBXFOfyQXv0A4-ZZxpp-Q-ziKcPhs8bqwn4Q> <xmx:sUitXK_eHXv267cPX7skC4MXw1UDF4bNIGaFaQ1yUCXFiZ9mik6kKg> <xmx:sUitXBnxSWjRFqlCnZkGFlYvYGvtuTX1BooYBATIgOpICWp_CqatiA> <xmx:skitXJEe0bWvs2i71z_BfrHUAJ1jgBJ9QEhBYTN0BwIDPY_9ZHTlUQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id AD9812602F; Tue, 9 Apr 2019 21:36:49 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.6-329-gf4aae99-fmstable-20190329v1
Mime-Version: 1.0
X-Me-Personality: 94902928
Message-Id: <77f45fd4-3311-4edb-bfea-d74984fcf4eb@www.fastmail.com>
In-Reply-To: <008538AB-FBE0-4132-A9FD-18BAE1F3F4FC@ericsson.com>
References: <89127FF7-CE3F-4DF1-98A5-B1006C5FF56B@ericsson.com> <CC00A43F-4E77-4E13-8DB2-9BF221784673@heapingbits.net> <E98C5FE0-324D-4A92-AC3B-2219A0E26BC3@ericsson.com> <e5518e68-d264-44b0-99e1-7d38a86e0560@www.fastmail.com> <a5ed2d78-9389-4b71-9292-88cafa8eef29@www.fastmail.com> <008538AB-FBE0-4132-A9FD-18BAE1F3F4FC@ericsson.com>
Date: Tue, 09 Apr 2019 21:36:04 -0400
From: "Christopher Wood" <caw@heapingbits.net>
To: "John Mattsson" <john.mattsson@ericsson.com>, "TLS@ietf.org" <tls@ietf.org>
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/6PgXZzy5Dqb8FhpcxWogldr3QFw>
Subject: Re: [TLS] Comments on draft-wood-tls-external-psk-importer-01
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 10 Apr 2019 01:36:57 -0000

Hi John,

On Tue, Apr 9, 2019, at 11:53 AM, John Mattsson wrote:
>  
> Hi Chris,
> 
> Thanks for the discussion. Would be good if a future version:

Likewise -- thank you for the comments!

> - Made clear if the imported PSKs MUST NOT / SHOULD NOT / MAY / SHOULD 
> / MUST be offered alongside the existing external PSKs. While offering 
> both would make a migration path possible I don’t think it is the way 
> to go.

Yep, we'll clear this up. (I'm currently leaning towards *not* allowing it.)

> - If MUST NOT, the document should maybe also state what the client do 
> if it receives a unknown_psk_identity alert, is it allowed to try again 
> with the external (non-imported identity) or is it forbidden to do so?

Good question! I'll file an issue to track and resolve this. 

> - Made clear if use of draft-wood-tls-external-psk-importer is a 
> property of the TLS implementation (i.e. used on all PSK) or a property 
> of the external PSK (i.e. only used on keys with this property).

It's the former, for all external PSKs. We'll try to clarify this.

> - State that "tls12" is used for DTLS 1.2 and "tls13" is used for DTLS 1.3.

+1 

Thanks again for the comments and review.

Best,
Chris