Re: [TLS] Review of draft-ietf-tls-external-psk-guidance-00
Mohit Sethi M <mohit.m.sethi@ericsson.com> Wed, 08 July 2020 08:03 UTC
Return-Path: <mohit.m.sethi@ericsson.com>
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 D94C93A0C35; Wed, 8 Jul 2020 01:03:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
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 YjMbl23CSNtP; Wed, 8 Jul 2020 01:03:27 -0700 (PDT)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140087.outbound.protection.outlook.com [40.107.14.87]) (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 258BE3A0C33; Wed, 8 Jul 2020 01:03:26 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Omq5l+FSrc1h0BlE1FoMVz5UzMFuVV4S1AZ1mCarENpJAWoJn0Qjch7VOA1ZttfUoKFVSfaqEhsh3DDSgiR9LHCzBajc11dReXyEZ3YgdJSlIoq+yHh+R9GOkGz7RqBfkaFn8KaIPu9WsefSyxqD8qKMyvmdmf1ltDezOBu180FYCHMuPUs4rKsQe0y89765MkYohvJqcHRyhMet88CNlEMzHKf1wMetTQY1kKV08fepnV852J49e/s3Im+wu0qNoFDaKgeiFSkyIQeEXjahngi/LEg/7EvY8Rbtoh+DA3vq9RubiXMcJaKaIdrAWD+yBETQqE782HA+xOx2ByrjSg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dVOI6pb55yhax8bd4GDbyhgZtbpw8G2X5XSmTrgOz4o=; b=IbxpIV5g6mi6CsLDq5oBCLTRx4TXWertQLTIK7PpHyO8eSnou0HXmj2xQa1ydSEBn/70FAd0cAIhjGCU3hsYQzNylYAvvsHRYcKzYjISv3yXHiX01pt/2+RYQZNbKXSbBykBnFTr0TlEoiScbIsrK/rsy9FsD3EI3TjNKcH3ksEDpYgDmwKJMvva8+fwp9A/SDGlm2NU3/T1tQFUfCeRXCQk4825l0dtCoShUnr1kFDw6yjNUqcX9P/odokiSi1/wvZ0uMTtpjm31CQUnUHYinq+UCfpUWtg8ksi+YnnY3oQL0elVCrd1XYmdR6NAhPyVGWMwB+gyIQabiDI5HZWpg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dVOI6pb55yhax8bd4GDbyhgZtbpw8G2X5XSmTrgOz4o=; b=CosF5Q8p3UrKW3a/h09Lgpo4PUtt9VBCALk1VN94Q0g81OQgOgnjGwjx6JgCd9KILNmqKxw++Lm06bkqdB7Xj3jKEPZm7e7GCmkxQYoW9fr/wBd2zI7rbqyuSzCetoJYIuvubXC7ATos0g2OGLutZQv3nYbcZVydQBLXe3DetBc=
Received: from HE1PR07MB3386.eurprd07.prod.outlook.com (2603:10a6:7:2d::25) by HE1PR07MB3273.eurprd07.prod.outlook.com (2603:10a6:7:2b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.16; Wed, 8 Jul 2020 08:03:24 +0000
Received: from HE1PR07MB3386.eurprd07.prod.outlook.com ([fe80::d6e:6298:19a7:7c99]) by HE1PR07MB3386.eurprd07.prod.outlook.com ([fe80::d6e:6298:19a7:7c99%5]) with mapi id 15.20.3174.020; Wed, 8 Jul 2020 08:03:24 +0000
From: Mohit Sethi M <mohit.m.sethi@ericsson.com>
To: Jim Schaad <ietf@augustcellars.com>, Mohit Sethi M <mohit.m.sethi@ericsson.com>, "draft-ietf-tls-external-psk-guidance@ietf.org" <draft-ietf-tls-external-psk-guidance@ietf.org>
CC: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Review of draft-ietf-tls-external-psk-guidance-00
Thread-Index: AQHWU32mq0e1idfoLE2Dgf3tNNTFWaj6t/aAgAKdj4A=
Date: Wed, 08 Jul 2020 08:03:24 +0000
Message-ID: <4f52e8f0-eb0b-d6c6-e8bd-3f6fc0b3541e@ericsson.com>
References: <045601d64fea$e0d7f800$a287e800$@augustcellars.com> <ab10fa75-f30e-d0e2-2c29-6ec0f51bb4da@ericsson.com> <006401d653af$7b029f80$7107de80$@augustcellars.com>
In-Reply-To: <006401d653af$7b029f80$7107de80$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0
authentication-results: augustcellars.com; dkim=none (message not signed) header.d=none;augustcellars.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [2001:14bb:140:10de:c8af:53f7:f0d6:ed49]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 0b5074c9-a673-4189-58e0-08d8231563c8
x-ms-traffictypediagnostic: HE1PR07MB3273:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <HE1PR07MB327333F62D4D1BCD12218FA4D0670@HE1PR07MB3273.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: TJGBxJg4mq4O3qI3lX7KPwd4W2j+ArDNBCEb8c3XHDoS4Cl5jgM1lyk6/PWvJtQp3/XXgDH7eMpBM66f/sGRYlwVcShnOwgn1+xbf52TeEe2V1g9A0UP4JNOXxGv6GQylDBdCgXVBWgMXltDZG+nY65GusNU91MNfB6JhOe3jhODauH4jJAFzYfqd8Ff7UJHB1EHUzV69R1muh68C+QZv1AAEqw2ZV9Y9TqJzKSC2dEPZWn4goHvqD+LqwH4aDNOWp/sjmEt0U8hboWZPswUFdH+kUUbiGkPCKISdnKpSdWQlh7gWEI52LHtfv6ZPdIQ5pjwEZ5G1NsXm8wPaYb6zIVARbXbnDAl7nWH9r3z8sfulpQ2/fr0j11wgJ77+YxZwSvDueI/HQ6T9bjy1+h6/6sDe8gqt69Wgpt7pYegpAQ=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR07MB3386.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(376002)(346002)(39860400002)(136003)(366004)(478600001)(6486002)(966005)(4326008)(31686004)(83380400001)(166002)(8676002)(2906002)(8936002)(110136005)(316002)(66446008)(6512007)(76116006)(71200400001)(31696002)(36756003)(6506007)(53546011)(2616005)(186003)(66476007)(66946007)(66556008)(5660300002)(64756008)(86362001)(43740500002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: jM93Tlr3E2A+hfBAH+Dwfv1MRUhpABMSS6JIIo2C99n/hCiUcYgOZxHIjrZ43fCekZcHhaAmZkEGXV+NueER11cVjcP3HNNKdbQVAQ62jfZlQCUzdCMt1BJM/yS/6pVzderVMt8miuEpSiPwYerZ39lgR0jPI5zLqjCcGhUlIxhVncVLbcyc6ZNenxZd7cfSRxMCkmMF21cuzS0keLS/vEuwCJHrP5bYf/MKNjVE+ry5qhfW63iYsk859Tw2rqIyqx8mFMVqFt3/zbXiNoAxJr+uVT13dYbjZhxW190K7OH6+o3C/gxjEv3IskoapN+Fr4bsJsJ2eZGDCTAWrizGFe/hlt3R+7aDdcFHHI0Ww/u90Z+TsdGr/ukT1I9Bapw7vkISYasKsRpkW8APoYEoSbFRFWI8BYNxpC2pJuBZiKSktqjORJCWYzWLkCL7eZHOCbV6Lpm1DYe021tLXkPj97Wnvu+ykglt7lJ56xMnKXVxwRuIp5hcujIXcr1f4wwoph0+DIy9oW3TTAinwwiPUQE87BAegIHl9LaQfytvK2FcGIaP6rqeiwLlt5uTU4ui
Content-Type: multipart/alternative; boundary="_000_4f52e8f0eb0bd6c6e8bd3f6fc0b3541eericssoncom_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB3386.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0b5074c9-a673-4189-58e0-08d8231563c8
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2020 08:03:24.6875 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: pfgcua81EmSzDUV0rjyE5+4h9Jgq+594GOWuxV7dmxbzlCDxOJM6pPRBjLV6KyTFa5yapQlf/w/aL/dkwdfedp4sZJWGyBIw0/8XvI5/BHo=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3273
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/mr4qgWbJZS-7dMOKRiFjU52vBUg>
Subject: Re: [TLS] Review of draft-ietf-tls-external-psk-guidance-00
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, 08 Jul 2020 08:03:30 -0000
Hi Jim, On 7/6/20 7:06 PM, Jim Schaad wrote: -----Original Message----- From: Mohit Sethi M <mohit.m.sethi@ericsson.com><mailto:mohit.m.sethi@ericsson.com> Sent: Monday, July 6, 2020 3:10 AM To: Jim Schaad <ietf@augustcellars.com><mailto:ietf@augustcellars.com>; draft-ietf-tls-external-psk- guidance@ietf.org<mailto:guidance@ietf.org> Cc: tls@ietf.org<mailto:tls@ietf.org> Subject: Re: Review of draft-ietf-tls-external-psk-guidance-00 Hi Jim, Thanks for the review. A clarifying question in-line. On 7/2/20 12:02 AM, Jim Schaad wrote: * In section 4 there is a statement that switching the roles of servers which use PSKs will lead to weakening of security properties. As this is a common scenario today in situations where you are doing server-to-server communication, it would be useful to discuss just how and how much this weakening occurs. This was a complete surprise to me and I don't know if it was supposed to be one. Are there mitigations that can be made? * In section 7, The first sentence does not read, also It seems a bit difficult to have a MUST in there when most of the items below are SHOULDs. That seems to be a dissonance. * Section 7.1.1 - The idea of having domain name suffixes on PSKs seems to me to be a bad idea as this would seem to lower privacy levels. I think you are referring to the PSK identity and not to the PSK. As you know, the Network Access Identifiers (NAIs) used in EAP typically need the domain name suffix for roaming, federation, etc. This is true, it is also true that EAP is very strong on saying that if you have a choice, always send an anonymous version of the NAI if you have to do it in the clear. This means that the domain can be used for correlation, but you do not have the full identity for that purpose. I think that the EMU group is going to need to look at what level of privacy protection it is going to desire when using a PSK, but in that case there is no need for having a domain suffix as that information is provided elsewhere. This might require keeping the TLS tunneling as an option to deal with passive attacks. You are absolutely right about the preference for using anonymous identities. draft-ietf-emu-eap-tls13 currently says the following about resumption: It is RECOMMENDED to use a NAIs with the same realm in the resumption and the original full authentication. This requirement allows EAP packets to be routable to the same destination as the original full authentication. If this recommendation is not followed, resumption is likely to be impossible. When NAI reuse can be done without privacy implications, it is RECOMMENDED to use the same anonymous NAI in the resumption, as was used in the original full authentication. E.g. the NAI @realm can safely be reused, while the NAI ZmxleG8=@realm cannot. This document and the ensuing discussion pertains only to external PSKs and external PSK identities. I think I incorrectly used the word "issue" in my previous email as a more correct choice would have been "agree/establish" (i.e. the server and client agree on an external PSK and an external PSK identity). RFC 8446 doesn't place any restrictions on external PSK identities (other than the fact that they are at least 1 byte). If we are going to discourage the use of domain names in external PSK identities, would that be sufficient? What prevents me from using an external PSK identity of the type: my_strong_secret_psk_with_amazon_server? I am not sure if we should recommend randomized external PSK identities of a certain minimum length. Perhaps it might be better to add a disclaimer about the privacy loss from carelessly chosen external PSK identities? --Mohit I would like to understand the nature of the resulting privacy loss. Is it that a passive attacker can now easily determine the server which issued the PSK identity (and the server where it will eventually be used)? While it I true that at least some of the privacy information has already been leaked in the PSK case, you know the address that is being talked to and the PSK identity that is passed. If you look at using thigs like ESNI, doing this would appear to potentially give away the very information that is being hidden in that case. The other problem with having domain based KIDs is that you could easily get some amount of correlation between the KIDs that are assigned in different domains. You could end up with mohit.ietf and mohit.amazon and it would be quite reasonable to assume that both of those identities are going to be for the same entity, just in different domains. Jim --Mohit * Section 7.1.2 - There seem to me to be three different places where collisions will occur. The importer function could get a collision, there could be collisions with pre-TLS 1.2 external identifiers and there could be collision with resumption keys. There has been a huge discussion about this in the EMU group and I don't find the text here to be sensible in term of whether this is or is not a problem. * Section 7.1.2 - One of the things that I kept meaning to get to and just haven't done so yet, is dealing with the question of can the TLS Key binders in the handshake to distinguish between multiple keys that happen to have the same identity. Perhaps you should look to see if this does work and if it is safe. Jim _______________________________________________ TLS mailing list TLS@ietf.org<mailto:TLS@ietf.org> https://www.ietf.org/mailman/listinfo/tls
- Re: [TLS] [Cfrg] Review of draft-ietf-tls-externa… Jim Schaad
- Re: [TLS] Review of draft-ietf-tls-external-psk-g… Mohit Sethi M
- Re: [TLS] Review of draft-ietf-tls-external-psk-g… Jim Schaad
- Re: [TLS] Review of draft-ietf-tls-external-psk-g… Mohit Sethi M
- Re: [TLS] Review of draft-ietf-tls-external-psk-g… Jim Schaad
- Re: [TLS] Review of draft-ietf-tls-external-psk-g… Mohit Sethi M
- Re: [TLS] Review of draft-ietf-tls-external-psk-g… Christopher Wood