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

Alexander Clouter <alex+ietf@coremem.com> Wed, 20 September 2023 15:50 UTC

Return-Path: <alex+ietf@coremem.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 B245AC14CE51 for <radext@ietfa.amsl.com>; Wed, 20 Sep 2023 08:50:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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_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=coremem.com header.b="AxfNWzAF"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="onIMMtjy"
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 JtYLfZ6xX6xM for <radext@ietfa.amsl.com>; Wed, 20 Sep 2023 08:50:10 -0700 (PDT)
Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 1BCF5C14CE40 for <radext@ietf.org>; Wed, 20 Sep 2023 08:50:09 -0700 (PDT)
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id D8E2A32009AB for <radext@ietf.org>; Wed, 20 Sep 2023 11:50:08 -0400 (EDT)
Received: from imap46 ([10.202.2.96]) by compute5.internal (MEProxy); Wed, 20 Sep 2023 11:50:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coremem.com; h= cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1695225008; x=1695311408; bh=Y8 Srt3LYIOkVbupmGf0Wnn5RsZtki+hY9oEQRvhFl6s=; b=AxfNWzAFkOMrXKQB8n fuMzeFjC2DZfGrW2B6bP9iN/nNVIPO7PN9CkkuUEL++xYUdvyBd+x4FpRva1ULbn vWcvQm05HXXg1cgnXHn6keIrXkmyxl1riUxhfbGn8KqR5nU79EgX6UYUIAtB7/NV Adzil29mYzDgCBL0rIZE56wROw40siPJwZrRE+OaD1MLE9nLgQ0hzUNTBNtbZqDk 9Rm/5GLr6aJPtmNCX6RYZ+Kn2TfxFyHiS8SRlMAo072t/p/UjwPtTToyA/EkN6a/ FekGdh10QGgOXdQhwL/zAgamF5J4CoQeI1CqJFR2N1Nxns+sQb815bWE5/3akGJw ci7g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1695225008; x=1695311408; bh=Y8Srt3LYIOkVb upmGf0Wnn5RsZtki+hY9oEQRvhFl6s=; b=onIMMtjyrXQTLFgDAjmQk1i+9A4eP I84Xvnc22x6hMwgGO9GfMblGUeviBl3/jG7YXBI+ZhnQUIGBXLZKKWQfcEHnwVft mLyrcV8SzJKgtJf8WGUygQRKv7JEB1PZrkqpTBxzEJOmhtU9Gqq7ovqw9bljea3N g04uippJYYgW35KqTSR5QSrT4t2Pp45AjcQoLwSa/z80XsSIp2bWG/pgSWsuSf0P vxKh5KPwNYm8Pse7V1fKO6wjdhum8WmnJgkysoAFBtHY2VOWNAX6lgY4VCEGKDPD mzt/nFYhbICglKmYI+Hvbvf2FctgrUI+WLz6JPeurhBOCmFdXHL9Jn9zA==
X-ME-Sender: <xms:sBQLZYRflRYL-AjxyGDiaKrt7VbtYI8KB40kM5dFgwJHWDQdSx0QmA> <xme:sBQLZVxfEJ8awr_8Si_D57RWv4zPvHKbbWPrsn56HrwJ7S2Y3yjO7XWUqMQHg9YpZ kEdFu644-oySSXPpA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudekfedgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedftehlvgigrghnuggvrhcuvehlohhuthgvrhdfuceorghl vgigodhivghtfhestghorhgvmhgvmhdrtghomheqnecuggftrfgrthhtvghrnhepvdetje fhhefggeelueelfeetieekgfevhfehkeehvedvkeeufeekieeifffhvdegnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvgigodhivghtfh estghorhgvmhgvmhdrtghomh
X-ME-Proxy: <xmx:sBQLZV2a1RdvyzjoKTvu-CKW417irjNMYEJDfaav7IGBbGRUX_vd7A> <xmx:sBQLZcCzQUcSOHft6bhspC0rzUaDUgdn9LyExcDZT2eeA-LmXXAdLg> <xmx:sBQLZRjNu89aqOCQAIFqZBElPUuT3Wkor9iDbTZYdJfyD3KDbsbY9A> <xmx:sBQLZcu2-AXh_aaTvadzFUZAJGJDnEu3ttaljQAhNhAUBYAa_pegRQ>
Feedback-ID: ie3614602:Fastmail
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 268222A20085; Wed, 20 Sep 2023 11:50:08 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.9.0-alpha0-761-gece9e40c48-fm-20230913.001-gece9e40c
MIME-Version: 1.0
Message-Id: <301f64cc-3463-428b-ba84-c8514da9f64f@app.fastmail.com>
In-Reply-To: <17676.1695222342@localhost>
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> <CAA7Lko8sDWY1nJxn1BkG0M1pLRuoOQhvnZvorLgZxBEBdzLPbA@mail.gmail.com> <17676.1695222342@localhost>
Date: Wed, 20 Sep 2023 16:49:46 +0100
From: Alexander Clouter <alex+ietf@coremem.com>
To: radext@ietf.org
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/radext/r5l6gpOm_GaTxZgC0kaJGbetImY>
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: Wed, 20 Sep 2023 15:50:14 -0000

On Wed, 20 Sep 2023, at 16:05, Michael Richardson wrote:
> It seems that one ought to be able to take the good old radius secret and run
> it through a suitable keyed hash function such a different key is used for
> TLS 1.2 and 1.3.
> (In particular, DTLS 1.3 is likely unavailable on many platforms for some time)
>
> This seems to be the best way to accomplish automatic upgrade to TLS.
>
> Am I missing something as to why this isn't being specified?

I think there is a keenness to avoid describing any preprocessing machinery of the sausage making crypto machine.

Some of the TLS specific hashing machinery I think only works once you have negotiated the ciphers; SSL_CIPHER_get_handshake_digest() in particular.

I vaguely remember this pain for implementing support for TLSv1.3; for a PSK it needs to be done before anything so I do not think we can...right?

Cheers