Re: [TLS] The future of external PSK in TLS 1.3
Filippo Valsorda <filippo@ml.filippo.io> Wed, 23 September 2020 13:39 UTC
Return-Path: <filippo@ml.filippo.io>
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 35D8E3A0A74 for <tls@ietfa.amsl.com>; Wed, 23 Sep 2020 06:39:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.019
X-Spam-Level:
X-Spam-Status: No, score=-2.019 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=filippo.io header.b=BbgU00jW; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=EiOIbPKR
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 iv-yduRmtVLR for <tls@ietfa.amsl.com>; Wed, 23 Sep 2020 06:39:45 -0700 (PDT)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 075023A099F for <tls@ietf.org>; Wed, 23 Sep 2020 06:39:44 -0700 (PDT)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id EC2A65C0283; Wed, 23 Sep 2020 09:39:43 -0400 (EDT)
Received: from imap1 ([10.202.2.51]) by compute3.internal (MEProxy); Wed, 23 Sep 2020 09:39:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=filippo.io; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=ugsrv//7kETPDycZYGYXFglGyHsm98Y yyy0UjRyZ8bE=; b=BbgU00jW5p19grjwWXlIbC+8uHYFDSzE3XhmfRUmChTNgEt KWiHlXwFyrHJ/YKSTn408/2aWvFxRKM659R/Z1y00QKxXUBqnn1se1w7RrIdU4kc vyv+mCyIuZQ5T40iRHfpN+6RqiKmth9OMKk3w4OtC9Ek+h/OsPjDIV5QsNZYn4v0 3VqTaPUbNP+AdaAjT9HGHiQM82bhUy33dJDvm16DXP1R2cQgoqF6sShFD+MP2ZtH kT/ARpy63Kjd5DzPzw4IPmvpyP/So6fHinlKs6itqQ0+ibj+qDctfg3pNGgbWXBG Kb87zP0Q59N6ArIYc4GRUaH+DURaDrQqTqTMV8w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm3; bh=ugsrv/ /7kETPDycZYGYXFglGyHsm98Yyyy0UjRyZ8bE=; b=EiOIbPKRwiJyovhU0MlIpl 6Y+HTJ4iudVZ3J1kLr1nsNzruFGQ76tQ9VKAAYZnWjlDukU6UAH3ldhvtNx5f+BQ Fu7k05H75xmK91COV4QnWEdRWVSs+eonXxlWVNGzb3xA0y26KSYQjy6QXmNTO55z X8TxvU/wBwV/RrpnBxgofE8DcoNQgq/lj6i+jdllCCmBCS+J3heU7ooe4Ip++Nzw laIA0pXsSjNOD+U50mHLEIsNkTdhA+itFMpnOoNpi/K/VS0/aRkQqYYiFE8HwnY8 QM0BEe9U04742xHzk8SnEYltOmvmwtOQSDyWOpV3e+/Ay/kLndy8dP8DZFf8izjQ ==
X-ME-Sender: <xms:H1BrX06uCSFa0rmHXB3kmd9vaZ-CDmNjeK84y-RWAgzDbEPuSq33OQ> <xme:H1BrX15nl1_ir19fEBpAd2hN_KmqdMR26FSlfOPBKWdThCG72y6Ky5SUCu_bozEe6 315IRhPbiQJnpwpfw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeigdeikecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsegrtderreerreejnecuhfhrohhmpedfhfhilhhi phhpohcugggrlhhsohhruggrfdcuoehfihhlihhpphhosehmlhdrfhhilhhiphhpohdrih hoqeenucggtffrrghtthgvrhhnpeduhfehvefhkeetteektedvjeejtdehjedtudejueej ffduhfetudefvdfhkeekvdenucffohhmrghinhepihgvthhfrdhorhhgnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepfhhilhhiphhpohesmhhl rdhfihhlihhpphhordhioh
X-ME-Proxy: <xmx:H1BrXzfPXYCCe59tjNPuaK8hpzFyn6NYQI7pwLoK7TWP99rkh2kePg> <xmx:H1BrX5IQtO3IKEGxhMx4EaWEfg8wdYwwB1_6SuWudx5qcZoseN8asg> <xmx:H1BrX4L-aRsieLPBnuuSWzT82GJpwgDDCq2e8ujaNxnSAUqxi6T6cw> <xmx:H1BrXyz8ChTqSjcSYmT9vSckhacBcnUx24xrGMaUtr8VPP49CrI0mg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 2D8B8C200A5; Wed, 23 Sep 2020 09:39:43 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-355-g3ece53b-fm-20200922.004-g3ece53b9
Mime-Version: 1.0
Message-Id: <ff5f77a9-ea45-4a72-b075-65c2d5e8ab45@www.fastmail.com>
In-Reply-To: <AM0PR08MB371678103D9EEB89C9AA44C1FA380@AM0PR08MB3716.eurprd08.prod.outlook.com>
References: <77039F11-188E-4408-8B39-57B908DDCB80@ericsson.com> <1600516093048.75181@cs.auckland.ac.nz> <2f2ecb30-bef5-414a-8ff7-d707d773c7ea@www.fastmail.com> <FDD012C2-9B37-461D-BC81-854135EE994E@icloud.com> <AM0PR08MB3716861B782527DAB3C1EA1BFA3A0@AM0PR08MB3716.eurprd08.prod.outlook.com> <DF3B268F-2E80-4444-B643-D33BC0C7151E@icloud.com> <AM0PR08MB371678103D9EEB89C9AA44C1FA380@AM0PR08MB3716.eurprd08.prod.outlook.com>
Date: Wed, 23 Sep 2020 15:39:14 +0200
From: Filippo Valsorda <filippo@ml.filippo.io>
To: Hannes Tschofenig <Hannes.Tschofenig@arm.com>, Carrick Bartle <cbartle891@icloud.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="e4835abfe1bf4173b63042a223048fc9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/R_ZIUMlikOZqcPwKG6lpeihM6hQ>
Subject: Re: [TLS] The future of external PSK in TLS 1.3
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, 23 Sep 2020 13:39:47 -0000
2020-09-23 13:49 GMT+02:00 Hannes Tschofenig <Hannes.Tschofenig@arm.com>: > Hi Carrick, > > you note that SCADA is a pretty specific use case. SCADA sounds specific but TLS is used widely in the IoT market. It is even used in devices that use smart cards, which use TLS with PSK to protect their provisioning protocol. > > I am worried that marking a ciphersuite as N with the meaning that it "has not been through the IETF consensus process, has limited applicability, or is intended only for specific use cases" is hard for readers to understand which of these three cases were actually the reason for marking it as “N”. The "has not been through the IETF consensus process" will scare off many people. > > For most people the web is the generic case and everything else is a “specific use case”. Sure, the web is very important but TLS is a generic protocol used in many environments. By this reasoning, what is a specific use case? My interpretation is "anything you shouldn't use unless you have specific requirements". Compatibility with smart cards is clearly a specific requirement, and you should definitely use an ECDH PSK if you can. What's your interpretation? The average user of OpenSSL or BoringSSL or LibreSSL or Go crypto/tls or NSS or Java doesn't do SCADA, doesn't do IoT, doesn't do smart cards, regardless of whether they talk to browsers or other services. > I don’t understand John’s motivation. The LAKE group makes a decision to remove PSK support. That’s good for them. Does this imply that the TLS group also needs to make the same decision? (Again, no one is suggesting dropping anything, as far as I can tell.) > Ciao > Hannes > > *From:* Carrick Bartle <cbartle891@icloud.com> > *Sent:* Monday, September 21, 2020 6:19 PM > *To:* Hannes Tschofenig <Hannes.Tschofenig@arm.com> > *Cc:* Carrick Bartle <cbartle891=40icloud.com@dmarc.ietf.org>; Filippo Valsorda <filippo@ml.filippo.io>; tls@ietf.org > *Subject:* Re: [TLS] The future of external PSK in TLS 1.3 > >> Can you justify your reasoning? > > Which part? > > >> On Sep 21, 2020, at 2:22 AM, Hannes Tschofenig <Hannes.Tschofenig@arm.com> wrote: >> >> Hi Carrick, >> >> Can you justify your reasoning? >> >> The challenge I have with the work on IoT in the IETF that the preferences for pretty much everything changes on a regular basis. >> >> I don’t see a problem that requires a change. In fact, I have just posted a mail to the UTA list that gives an overview of the implementation status of embedded TLS stacks and PSK-based ciphersuites are widely implemented. >> >> Ciao >> Hannes >> >> *From:* TLS <tls-bounces@ietf.org> *On Behalf Of *Carrick Bartle >> *Sent:* Monday, September 21, 2020 5:31 AM >> *To:* Filippo Valsorda <filippo@ml.filippo.io> >> *Cc:* tls@ietf.org >> *Subject:* Re: [TLS] The future of external PSK in TLS 1.3 >> >> I'm also fine with marking psk_ke as not recommended to be consistent with the non-PFS ciphers, but there are plenty of valid use cases that justify keeping dhe_psk_ke as recommended for external PSKs. Several of these use cases are detailed in draft-ietf-tls-external-psk-guidance-00. >> >> >> >>> On Sep 19, 2020, at 9:00 AM, Filippo Valsorda <filippo@ml.filippo.io> wrote: >>> >>> 2020-09-19 13:48 GMT+02:00 Peter Gutmann <pgut001@cs.auckland.ac.nz>: >>>> John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org> writes: >>>> >>>> >Looking at the IANA TLS registry, I am surprised to see that psk_dhe_ke and >>>> >especially psk_ke are both marked as RECOMMENDED. If used in the initial >>>> >handshake, both modes have severe privacy problems, >>>> >>>> PSK is used a fair bit in SCADA. There are no privacy problems there. So >>>> just because there's a concern for one specific environment doesn't mean it >>>> should be banned for any use. In particular, I think if a specific industry >>>> has a particular concern, they should profile it for use in that industry but >>>> not require that everyone else change their behaviour. >>> >>> Indeed, if the SCADA industry has a particular need, they should profile TLS for use in that industry, and not require we change the recommendation for the open Internet. >>> >>> Setting Recommended to N is not "banning" anything, it's saying it "has not been through the IETF consensus process, has limited applicability, or is intended only for specific use cases". SCADA sounds like a pretty specific use case. >>> >>> I don't have a strong opinion on psk_dhe_ke, but I see no reason psk_ke wouldn't be marked N like all suites lacking PFS. >>> _______________________________________________ >>> TLS mailing list >>> TLS@ietf.org >>> https://www.ietf.org/mailman/listinfo/tls >> >> IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ >> TLS mailing list >> TLS@ietf.org >> https://www.ietf.org/mailman/listinfo/tls > > IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
- Re: [TLS] The future of external PSK in TLS 1.3 Peter Gutmann
- [TLS] The future of external PSK in TLS 1.3 John Mattsson
- Re: [TLS] The future of external PSK in TLS 1.3 Filippo Valsorda
- Re: [TLS] The future of external PSK in TLS 1.3 Viktor Dukhovni
- Re: [TLS] The future of external PSK in TLS 1.3 Hannes Tschofenig
- Re: [TLS] The future of external PSK in TLS 1.3 Carrick Bartle
- Re: [TLS] The future of external PSK in TLS 1.3 Hannes Tschofenig
- Re: [TLS] The future of external PSK in TLS 1.3 Hannes Tschofenig
- Re: [TLS] The future of external PSK in TLS 1.3 Pascal Urien
- Re: [TLS] The future of external PSK in TLS 1.3 Hannes Tschofenig
- Re: [TLS] The future of external PSK in TLS 1.3 Pascal Urien
- Re: [TLS] The future of external PSK in TLS 1.3 Hannes Tschofenig
- Re: [TLS] The future of external PSK in TLS 1.3 Pascal Urien
- Re: [TLS] The future of external PSK in TLS 1.3 Pascal Urien
- Re: [TLS] The future of external PSK in TLS 1.3 Carrick Bartle
- Re: [TLS] The future of external PSK in TLS 1.3 Achim Kraus
- Re: [TLS] The future of external PSK in TLS 1.3 Achim Kraus
- Re: [TLS] The future of external PSK in TLS 1.3 Pascal Urien
- Re: [TLS] The future of external PSK in TLS 1.3 Achim Kraus
- Re: [TLS] The future of external PSK in TLS 1.3 Hannes Tschofenig
- Re: [TLS] The future of external PSK in TLS 1.3 Blumenthal, Uri - 0553 - MITLL
- Re: [TLS] The future of external PSK in TLS 1.3 Filippo Valsorda
- Re: [TLS] The future of external PSK in TLS 1.3 David Woodhouse
- Re: [TLS] The future of external PSK in TLS 1.3 Hannes Tschofenig
- Re: [TLS] The future of external PSK in TLS 1.3 Salz, Rich
- Re: [TLS] The future of external PSK in TLS 1.3 David Benjamin
- Re: [TLS] The future of external PSK in TLS 1.3 Hannes Tschofenig
- Re: [TLS] The future of external PSK in TLS 1.3 David Benjamin
- Re: [TLS] The future of external PSK in TLS 1.3 Carrick Bartle
- Re: [TLS] The future of external PSK in TLS 1.3 Lanlan Pan
- Re: [TLS] The future of external PSK in TLS 1.3 Peter Gutmann
- Re: [TLS] The future of external PSK in TLS 1.3 Hannes Tschofenig
- Re: [TLS] The future of external PSK in TLS 1.3 Filippo Valsorda
- Re: [TLS] The future of external PSK in TLS 1.3 Pascal Urien
- Re: [TLS] The future of external PSK in TLS 1.3 Salz, Rich
- Re: [TLS] The future of external PSK in TLS 1.3 Pascal Urien
- Re: [TLS] The future of external PSK in TLS 1.3 Achim Kraus
- Re: [TLS] The future of external PSK in TLS 1.3 Blumenthal, Uri - 0553 - MITLL
- Re: [TLS] The future of external PSK in TLS 1.3 Watson Ladd
- Re: [TLS] The future of external PSK in TLS 1.3 Blumenthal, Uri - 0553 - MITLL
- Re: [TLS] The future of external PSK in TLS 1.3 Carrick Bartle
- Re: [TLS] The future of external PSK in TLS 1.3 Achim Kraus
- Re: [TLS] The future of external PSK in TLS 1.3 Hannes Tschofenig
- Re: [TLS] The future of external PSK in TLS 1.3 Hannes Tschofenig
- Re: [TLS] The future of external PSK in TLS 1.3 Rob Sayre
- Re: [TLS] The future of external PSK in TLS 1.3 Achim Kraus
- Re: [TLS] The future of external PSK in TLS 1.3 Hannes Tschofenig
- Re: [TLS] The future of external PSK in TLS 1.3 Watson Ladd
- Re: [TLS] The future of external PSK in TLS 1.3 Blumenthal, Uri - 0553 - MITLL
- Re: [TLS] The future of external PSK in TLS 1.3 Salz, Rich
- Re: [TLS] The future of external PSK in TLS 1.3 Rob Sayre