Re: [TLS] The future of external PSK in TLS 1.3

"Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu> Wed, 23 September 2020 12:45 UTC

Return-Path: <prvs=6535d3aadd=uri@ll.mit.edu>
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 0256B3A10A3 for <tls@ietfa.amsl.com>; Wed, 23 Sep 2020 05:45:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level:
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
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 eelGDsUn_0l9 for <tls@ietfa.amsl.com>; Wed, 23 Sep 2020 05:45:40 -0700 (PDT)
Received: from llmx2.ll.mit.edu (LLMX2.LL.MIT.EDU [129.55.12.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CF4633A10A0 for <tls@ietf.org>; Wed, 23 Sep 2020 05:45:39 -0700 (PDT)
Received: from LLE2K16-MBX02.mitll.ad.local (LLE2K16-MBX02.mitll.ad.local) by llmx2.ll.mit.edu (unknown) with ESMTPS id 08NCjIDe024101; Wed, 23 Sep 2020 08:45:18 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector5401; d=microsoft.com; cv=none; b=O6Y0BP1LVQPs8APZ4d9QvV2T8mGkNFo0bdZ/zN7jPuhetrL7YscsQpqAZE920KqjCJdwX8s8Roqf8EJTD1RCwEcN5jpL7ceznAzMLYe7iHqHS7NyiK3DbO+cYMr3S/jxLstuNegC0J2S9fP2Uiw/uGJgPeS06VXzdPpxUe/uU/WZ9lPxNHpRK/Hu1lirrcymmLNCO2IS1I8SelYMSMGHljjS9HuctO/BpXH695fNhFEXsidNvnoJxTIr9j0VyEUdQM1Kmn/asFr5OvEGCuJssIDySKd9OabCregnunrQokxHQBqZzdnuO43Pa9ze7Zu1/vZqaPVdz2O8cvxtk9EIfw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector5401; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=acxv3ho2IdMln/8PzHhQiufNG9F2TBXJbs9kDvsqNM0=; b=kGE8jcdncKBnKJdswVNvouGFYwr5dDPxWwsE7tSCTnSzjaBMcAJyfc5IGsW4N6sav4mNM0xcovVtZgCzpNbdPHkrcfAOogVwvkmmyVjvgZxwuHG0lesGDacjFM2tL6IUMyXtD9eFT9HfzTRDgC49xBNpXbcNDvkMuWNXBzScmK89VVeJ41v3nAs7aUlSSek1lIIxKh904wPwrJAjauVGxVQIZyGwidY7OEVwB3/eRyyBlMj2a7uskqxDIjayO0RDRgWtOyWfGoBUMxKgpCuRXPKlIE75BESse+1wdWjVrCgW4389EVmSKQme+g7dcD7l30Jkrx1sg8xxvL5ldU+mUg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ll.mit.edu; dmarc=pass action=none header.from=ll.mit.edu; dkim=pass header.d=ll.mit.edu; arc=none
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
CC: Carrick Bartle <cbartle891@icloud.com>, Carrick Bartle <cbartle891=40icloud.com@dmarc.ietf.org>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] The future of external PSK in TLS 1.3
Thread-Index: AQHWjng9Pwzr8fTsOkSjvpJZy/djPKlv2BqIgABG0ACAAlNKgIAAVNSggACB6oCAAAGjAIAC5zyA
Date: Wed, 23 Sep 2020 12:45:13 +0000
Message-ID: <8A967937-B6D4-4144-821B-B69C7A83B34B@ll.mit.edu>
References: <AM0PR08MB371678103D9EEB89C9AA44C1FA380@AM0PR08MB3716.eurprd08.prod.outlook.com>
In-Reply-To: <AM0PR08MB371678103D9EEB89C9AA44C1FA380@AM0PR08MB3716.eurprd08.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: icloud.com; dkim=none (message not signed) header.d=none;icloud.com; dmarc=none action=none header.from=ll.mit.edu;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 64e6e99a-b58d-48c8-7836-08d85fbe845e
x-ms-traffictypediagnostic: BN3P110MB0433:
x-microsoft-antispam-prvs: <BN3P110MB0433944BE5EC1546108DA87690380@BN3P110MB0433.NAMP110.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN3P110MB0241.NAMP110.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(366004)(6916009)(966005)(186003)(6506007)(66574015)(71200400001)(8936002)(6486002)(166002)(99936003)(83380400001)(53546011)(26005)(33656002)(8676002)(86362001)(5660300002)(498600001)(2616005)(956004)(66616009)(64756008)(75432002)(66946007)(54906003)(66556008)(2906002)(6512007)(76116006)(66446008)(4326008)(66476007); DIR:OUT; SFP:1102;
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; boundary="Apple-Mail-D7164E22-360C-4878-9823-D317422681A8"; protocol="application/pkcs7-signature"; micalg="sha-256"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN3P110MB0241.NAMP110.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 64e6e99a-b58d-48c8-7836-08d85fbe845e
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2020 12:45:14.0274 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 83d1efe3-698e-4819-911b-0a8fbe79d01c
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3P110MB0433
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-23_09:2020-09-23, 2020-09-23 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2009230101
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/xn0oNmHyIMlZAMOjXU4nca3l8Ag>
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 12:45:42 -0000

I sincerely hope that the TLS group will NOT make the same decision [as LAKE - to drop PSK].

Regards,
Uri

> On Sep 23, 2020, at 07:50, Hannes Tschofenig <Hannes.Tschofenig@arm.com> wrote:
> 
> 
> 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.  
>  
> 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?
>  
> 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. _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls