Re: [radext] I-D Action: draft-ietf-radext-tls-psk-01.txt
Michael Richardson <mcr+ietf@sandelman.ca> Thu, 10 August 2023 21:37 UTC
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: radext@ietfa.amsl.com
Delivered-To: radext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 476E1C17CEA9 for <radext@ietfa.amsl.com>; Thu, 10 Aug 2023 14:37:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sandelman.ca
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VTpcC1yvdo3K for <radext@ietfa.amsl.com>; Thu, 10 Aug 2023 14:37:42 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1B1C4C17EA4C for <radext@ietf.org>; Thu, 10 Aug 2023 14:37:41 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id A45673898E; Thu, 10 Aug 2023 17:37:40 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EeMC_W65w9iE; Thu, 10 Aug 2023 17:37:40 -0400 (EDT)
Received: from sandelman.ca (unknown [IPv6:2607:f0b0:f:2:b241:6fff:fe09:a92b]) by tuna.sandelman.ca (Postfix) with ESMTP id D577E3898D; Thu, 10 Aug 2023 17:37:39 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandelman.ca; s=mail; t=1691703459; bh=VYUpexa4Hqk3p+7hdnoO4/8BZ4fM7Or4KqmVYFO0NLU=; h=From:To:Subject:In-Reply-To:References:Date:From; b=AsR63pMEjvc5WzdgCQvK9b5lpXyaEKvDR5sZU6iRIAkPLT+JRK33WNZmZRmveUgrD rSGeRM2/TVuLCnl9tTSM/WC/p6Xsy9OdH3kSrKRKlkB8MKejsy0Xt2/xBnsX7xOx/F tLq9Vv5A8rKvsvNNmA7MGy/sKaT11MzBo5B6wXD5syfHzKrzmvCPufZMX/jckxsjjp 4jSrAJlm6PwW7/lNJXREzFKYgFM/pRsZeaaCD9LAkldgAJOhWcYgIDhBHJDSWGrdVl HCMT27JI0snqFPYiPj9GzS+yF6l9jpGYYgEm6UAj3DGRkjsMLtj7fv8utBf1rstU3Q noC9O3plDEdDg==
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id D11B966A; Thu, 10 Aug 2023 17:37:39 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Alan DeKok <aland@deployingradius.com>, radext@ietf.org
In-Reply-To: <EDF6DCFC-933D-443D-BBEB-575172D780C3@deployingradius.com>
References: <169151650874.8889.17786705009619055833@ietfa.amsl.com> <77dac3b2-73be-4170-8a6e-17a70361e750@app.fastmail.com> <75FBCB67-52AF-417C-ADED-ABCA46D77408@deployingradius.com> <13978.1691682838@localhost> <EDF6DCFC-933D-443D-BBEB-575172D780C3@deployingradius.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 27.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Thu, 10 Aug 2023 17:37:39 -0400
Message-ID: <10651.1691703459@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/radext/bd7bwMK--OgZAeiRsHmAygJ1Xvw>
Subject: Re: [radext] I-D Action: draft-ietf-radext-tls-psk-01.txt
X-BeenThere: radext@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: RADIUS EXTensions working group discussion list <radext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/radext>, <mailto:radext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/radext/>
List-Post: <mailto:radext@ietf.org>
List-Help: <mailto:radext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/radext>, <mailto:radext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Aug 2023 21:37:46 -0000
Alan DeKok <aland@deployingradius.com> wrote:
> I believe that's what TLS 1.3 does.
> I'm not sure what is possible in TLS 1.2. The PSK exchange is done
> before the session is established, so the normal TLS PRFs can't be
> used.
> Just thinking out loud, the only thing I can think of which isn't
> wrong is an HMAC with a fixed key. i.e. for TLS < 1.2, the PSK is
> PSK' = HMAC(PSK, "fixed key")
That's what I had in mind.
> All it does is make it more difficult to determine the PSK.
Well, it makes it into a problem of finding a preimage, which we assume is
difficult for HMAC based PRFs.
> The simple solution is to just mandate different PSKs for TLS 1.3 and
> TLS <1.3. Fugly, but safe.
Yes, I'm just trying to simplify the admin situation, and also to keep the
ineventiable situation where the admin makes them both the same, not fatal.
(I'm not convinced it's fatal anyway)
--
Michael Richardson <mcr+IETF@sandelman.ca> . o O ( IPv6 IøT consulting )
Sandelman Software Works Inc, Ottawa and Worldwide
- [radext] I-D Action: draft-ietf-radext-tls-psk-01… internet-drafts
- Re: [radext] I-D Action: draft-ietf-radext-tls-ps… Alan DeKok
- Re: [radext] I-D Action: draft-ietf-radext-tls-ps… Alexander Clouter
- Re: [radext] I-D Action: draft-ietf-radext-tls-ps… Fabian Mauchle
- Re: [radext] I-D Action: draft-ietf-radext-tls-ps… Alexander Clouter
- Re: [radext] I-D Action: draft-ietf-radext-tls-ps… Heikki Vatiainen
- Re: [radext] I-D Action: draft-ietf-radext-tls-ps… Alan DeKok
- Re: [radext] I-D Action: draft-ietf-radext-tls-ps… Alan DeKok
- Re: [radext] I-D Action: draft-ietf-radext-tls-ps… Alan DeKok
- Re: [radext] I-D Action: draft-ietf-radext-tls-ps… Alexander Clouter
- Re: [radext] I-D Action: draft-ietf-radext-tls-ps… Michael Richardson
- Re: [radext] I-D Action: draft-ietf-radext-tls-ps… Alan DeKok
- Re: [radext] I-D Action: draft-ietf-radext-tls-ps… Michael Richardson
- Re: [radext] I-D Action: draft-ietf-radext-tls-ps… Fabian Mauchle