Re: [radext] I-D Action: draft-ietf-radext-tls-psk-03.txt

Alan DeKok <aland@deployingradius.com> Mon, 02 October 2023 14:52 UTC

Return-Path: <aland@deployingradius.com>
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 4B88CC157B45 for <radext@ietfa.amsl.com>; Mon, 2 Oct 2023 07:52:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
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 mS0QRkuztJwt for <radext@ietfa.amsl.com>; Mon, 2 Oct 2023 07:52:51 -0700 (PDT)
Received: from mail.networkradius.com (mail.networkradius.com [62.210.147.122]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C920AC14CF1B for <radext@ietf.org>; Mon, 2 Oct 2023 07:52:51 -0700 (PDT)
Received: from smtpclient.apple (unknown [75.98.136.130]) by mail.networkradius.com (Postfix) with ESMTPSA id 7E078211; Mon, 2 Oct 2023 14:52:48 +0000 (UTC)
Authentication-Results: NetworkRADIUS; dmarc=none (p=none dis=none) header.from=deployingradius.com
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
From: Alan DeKok <aland@deployingradius.com>
In-Reply-To: <CAA7Lko--Db0vf-kObf_021aHh7WzVv6yF-0gPq8uh82MhP2CQA@mail.gmail.com>
Date: Mon, 02 Oct 2023 10:52:47 -0400
Cc: radext@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <A772109C-5BFC-41E5-9C52-CB733F4ED1CD@deployingradius.com>
References: <169290062850.51444.4789101133837195921@ietfa.amsl.com> <EFF9D14C-6714-4168-8C2D-A03DCB9ADFFB@deployingradius.com> <B88BB843-C4C3-418F-A6CA-4F360EB67C95@deployingradius.com> <CAA7Lko_oL5Oy9T52JnwUiaZDvUhwed8hivysoSuqY1jhXF=Ziw@mail.gmail.com> <8081E8F9-3818-43ED-8C82-3EBB093BCDBB@deployingradius.com> <02aa01d9eb9a$1e9f5630$5bde0290$@gmail.com> <CAA7Lko--Db0vf-kObf_021aHh7WzVv6yF-0gPq8uh82MhP2CQA@mail.gmail.com>
To: Heikki Vatiainen <hvn@radiatorsoftware.com>
X-Mailer: Apple Mail (2.3696.120.41.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/radext/9EDG3ASb2fUduuQqIWkSEw-twgw>
Subject: Re: [radext] I-D Action: draft-ietf-radext-tls-psk-03.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: Mon, 02 Oct 2023 14:52:56 -0000

On Sep 20, 2023, at 7:10 AM, Heikki Vatiainen <hvn@radiatorsoftware.com> wrote:
> Is it 384 bits TLS_AES_256_GCM_SHA384 cipher suite, when considering cipher suites defined in RFC 8446? In other words, since the rest in the RFC use SHA256, they are limited to 256 bits. And if there were cipher suites with SHA512, then those would be limited to 512 bits? I'm just curious to understand how these things go, I don't think it matters for the draft.
>  
> All the rest of PSK entropy (if any) is immediately lost.

  That's a good point.

> That said, it may make sense having longer PSKs, because the method they are generated
> may be imperfect, so the entropy may be far less than their length.

  Yes.  I'll clarify that in the document.

> Thanks for this information. Sounds like it's worth recommending long PSKs but it's not useful to aim for 256 octets of entropy. RFC 9257 says 128 bits (not octets) is required.

  Yes.

  Alan DeKok.