From patchwork Wed May 8 13:42:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Otcheretianski X-Patchwork-Id: 1933078 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=gHQ2MdR2; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=OUlas2nf; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VZGbh1Z3tz1ymg for ; Wed, 8 May 2024 23:44:45 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vCde7Tg5dsjnSOzIr8di3pJuNiVXa2/uWB21IdvrqpE=; b=gHQ2MdR27k6pop LdxeEohDNbII9ZnSewBeMyoqxCngIcBdLQNFHflmcwSJ31gvOGkJ1Sm6dLJwZihTGf4IBtlmZg9aI nYVd+ZLs/jYSRTaHMvlT4ql2hgHxuHoOpmt7Gbyumj7XOSEXtqE4bHLUR2xSGcaVHli/NEvAtBdMO LEBJgS/CjmstSV81W75xOEe4JrVnUAH5/QR+T3CI8Wke/ta0gR36w13qgQgdv64bJ3bL/B7IfJa07 cBcJueU78e/08uGJvqr5C+YWC5kgngoS3c8FzI74a4Nv/mhz2ssALnbfLw5OYQE59uDlHJALJ2wqE dWDkejKziErhxo8vThCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4hao-0000000FhWE-0S22; Wed, 08 May 2024 13:44:22 +0000 Received: from mgamail.intel.com ([192.198.163.17]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4had-0000000FhSY-3zvI for hostap@lists.infradead.org; Wed, 08 May 2024 13:44:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715175852; x=1746711852; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=t+kLY4HPjHR8LnyQ0ffMQ1aKnpUVkgY42Z7Z8hWPW5g=; b=OUlas2nf2qiHaf3S8MlJcNyYNdtdyr0APxZFW+oFVYVWeE4/w1BZkXl5 3CMPq1OYmSO5+Y4diWdEZqxBa7g5McTz5hP+or9v2JWCRjr6zDJCCZgw3 8fFXJ6axUv4qah1TNxQbyjkgQ0frZqCBGADGjjgEAXSE4RYX03p7AVKuk AVDew1tmUsE053aLpTyi92ebhIXxTAB/vdC1PpahHC0+jUsiBbnm/M9Yz SuiiCWN4tWTbJPGRAmXrgmhc7rlVl2cC/zaEsyHi+okikS+Q87GTMdmYD Z8NqhjmxFqr3IJfnhnFZAlkD/znsbYK7m4cN59pe5Ip/w1u4rOaZZb78Q Q==; X-CSE-ConnectionGUID: XbI8ssYuR4enLw2xCRGYuA== X-CSE-MsgGUID: 3yIGHBAbSkGy5TToYhcP7g== X-IronPort-AV: E=McAfee;i="6600,9927,11066"; a="10905748" X-IronPort-AV: E=Sophos;i="6.08,145,1712646000"; d="scan'208";a="10905748" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2024 06:44:12 -0700 X-CSE-ConnectionGUID: b8aqNjvCQruEuDhfGg2a6w== X-CSE-MsgGUID: Qwha0tT2TNCYHPtziIfxzw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,145,1712646000"; d="scan'208";a="29473893" Received: from weis0042.iil.intel.com ([10.12.217.211]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2024 06:44:11 -0700 From: Andrei Otcheretianski To: hostap@lists.infradead.org Cc: Andrei Otcheretianski Subject: [PATCH 2/2] tests: Use different groups in test_sae_no_ffc_by_default Date: Wed, 8 May 2024 16:42:13 +0300 Message-ID: <20240508134213.3913209-2-andrei.otcheretianski@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240508134213.3913209-1-andrei.otcheretianski@intel.com> References: <20240508134213.3913209-1-andrei.otcheretianski@intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240508_064412_020513_784785EC X-CRM114-Status: GOOD ( 11.10 ) X-Spam-Score: -3.1 (---) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The test assumes that STA will try to reconnect with the same SAE group after the first authentication attempt is rejected due to unsupported group. Since this behaviour is fixed in the previous patch [...] Content analysis details: (-3.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [192.198.163.17 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an 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.6 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The test assumes that STA will try to reconnect with the same SAE group after the first authentication attempt is rejected due to unsupported group. Since this behaviour is fixed in the previous patch, configure two different groups to trigger the second authentication attempt. Signed-off-by: Andrei Otcheretianski --- tests/hwsim/test_sae.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_sae.py b/tests/hwsim/test_sae.py index aceb927516..6a8bdafb3d 100644 --- a/tests/hwsim/test_sae.py +++ b/tests/hwsim/test_sae.py @@ -1262,7 +1262,7 @@ def test_sae_no_ffc_by_default(dev, apdev): params['wpa_key_mgmt'] = 'SAE' hapd = hostapd.add_ap(apdev[0], params) - dev[0].request("SET sae_groups 15") + dev[0].request("SET sae_groups 15 16") dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE", scan_freq="2412", wait_connect=False) ev = dev[0].wait_event(["SME: Trying to authenticate"], timeout=3)