From patchwork Mon Jul 6 15:34:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Clouter X-Patchwork-Id: 1323693 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=digriz.org.uk Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=txhH7xiw; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=digriz.org.uk header.i=@digriz.org.uk header.a=rsa-sha256 header.s=fm3 header.b=rQ++nU4p; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=ePSWDslq; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B0qSn3ydWz9sRK for ; Tue, 7 Jul 2020 01:37:29 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Sfeyzx8q6YsIZ0NndafUjOmWcqzAhKh3m3T7c4AitS4=; b=txhH7xiwxfodrOlz6DwpZQanmP 7l+I8PPs3zwey1oJjlYiz7wnacEcobBjr09d5A8IDA4+PYa2sCGMkhnyHUR+vM8xquypBvQ/ayzo7 ibTCDRRKDUfotMda3ovnWwi4/iw2h3iRelaK0QLsXmEOieRAmuECQ/i5XPcstIBml3dJRDRDZAdF3 X9zx6wcGNk4LyMNYi/YgKBGremXa6+K03DvLWr/28Kq9JO/DWiJewxlYoBoBEa2WOu1YbIxOEIYCp 0hFdR5VdDZz/ZE86DHnbVsVp3U5eeAYpOrHGFD1fe5ViQp6VzaVmAbrcksRulfSbcWfJ6dIN4Ng6T MeW1jixw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsT92-0006mc-9H; Mon, 06 Jul 2020 15:35:00 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsT8y-0006ld-QA for hostap@lists.infradead.org; Mon, 06 Jul 2020 15:34:57 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E82D95C0182; Mon, 6 Jul 2020 11:34:50 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 06 Jul 2020 11:34:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digriz.org.uk; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=C8hsn9ImS6GhTQ6xOLl/1O+7Xa TPXefMDfjD/YdToa4=; b=rQ++nU4pUtYOEG3xa9Ay0fbRgNGV4CabRLg7AFwEG1 WOPoy7ifdXpgGgZaXw3TPb7TPXkNOuXuBNh9tTv0mKcER9IQDb6CvD2EbDfsB+Cs ihQ6jMHUa2bXFDyFbQFSzWJze8M17bG5b2SL2fGIOSkhkQv0d/z09/ZBw+yBuWiy mRseoLBfjMVhK6bYTf4CZptMlnqO+yAZNeOjhuFOumvP0ect6JmmAoQJcGXj1kll Ova7KG+p9+xme+Sf3ufBRpkXa3okepIB/AePDbWOxHtV+ne6qg/d8wv6gOAcCzhz pfQstBN/twPGoLYgo3w/H5lnOlUnCtByQjQjGgzx3Peg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=C8hsn9ImS6GhTQ6xO Ll/1O+7XaTPXefMDfjD/YdToa4=; b=ePSWDslqfv9ncCVvRivgcCDqnbKcrUpGo ECRPkKtROCKRZsx1z4Y8tfvE5zRnDqNhjHpmhyTqwDE9W6pe5GG+QNPODdIqJkoF HaYQ37vVeNGtPP9ZGAwMmy3QhnWjNWbEA6xdaImbsdr18yce3XLMDJCsisP8P6mY Apel536c5FSv/UcM3VbqrwbE1v58DUPSEW9qzrXQ3Y2tkFNy0dNSP8CGW68KzqeT Dw5DNCm/uovRqOykrWT8BGmCEsvm6JVpE1RMzKOZKPAGH2XRKyCrHPCNp5ysX4YF cwWulUtrY13CDcN8H6tHGBxPZyvn+e86fRyy/kTrrnr2p7PSeemjA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudefgdelfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpeetlhgvgigrnhguvghrucevlhhouhhtvghruceorghlvgigseguihhg rhhiiidrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeeikeevleehjeefueefveffte egveethfegvdehfefhhfffledtvdfgjeetleffveenucffohhmrghinhepghhithhhuhgs rdgtohhmnecukfhppedvuddvrdeiledrheefrdegkeenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhgvgiesughighhrihiirdhorhhgrdhu kh X-ME-Proxy: Received: from quatermain.digriz.wormnet.eu (cust48-dsl53.idnet.net [212.69.53.48]) by mail.messagingengine.com (Postfix) with ESMTPA id 5FD3F30600B9; Mon, 6 Jul 2020 11:34:50 -0400 (EDT) From: Alexander Clouter To: hostap@lists.infradead.org Subject: [PATCH 0/2] EAP-{TTLS,PEAP} support (draft) for TLS 1.3 Date: Mon, 6 Jul 2020 16:34:34 +0100 Message-Id: <20200706153436.21795-1-alex@digriz.org.uk> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200706_113456_933381_B0B56088 X-CRM114-Status: UNSURE ( 3.82 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.25 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [66.111.4.25 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Clouter Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Support TLS 1.3 for EAP-{TTLS,PEAP} as described in draft-ietf-emu-tls-eap-types and tested against FreeRADIUS[1]. [1] https://github.com/FreeRADIUS/freeradius-server/pull/3516 Alexander Clouter (2): EAP-TTLS/PEAP peer: fix failure using session tickets under TLS 1.3 EAP peer/server: support for draft-ietf-emu-tls-eap-types src/crypto/tls_openssl.c | 17 ++++++++--- src/eap_peer/eap_peap.c | 17 +++++++++-- src/eap_peer/eap_tls_common.c | 4 +-- src/eap_peer/eap_ttls.c | 21 +++++++++++-- src/eap_server/eap_server_peap.c | 41 ++++++++++++++++++++++---- src/eap_server/eap_server_tls_common.c | 4 +-- src/eap_server/eap_server_ttls.c | 26 ++++++++++++++-- 7 files changed, 109 insertions(+), 21 deletions(-)