From patchwork Sat Feb 26 17:36:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jouke Witteveen X-Patchwork-Id: 2028 Return-Path: Delivered-To: patchwork@archlinux.org Received: from mail.archlinux.org [95.216.189.61] by patchwork.archlinux.org with IMAP (fetchmail-6.4.27) for (single-drop); Sat, 26 Feb 2022 17:36:27 +0000 (UTC) Received: from mail.archlinux.org by mail.archlinux.org with LMTP id 3jNhLhplGmKyFggAK+/4rw (envelope-from ) for ; Sat, 26 Feb 2022 17:36:26 +0000 Received: from lists.archlinux.org (lists.archlinux.org [95.217.236.249]) (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 mail.archlinux.org (Postfix) with ESMTPS id 23467D6BA49; Sat, 26 Feb 2022 17:36:25 +0000 (UTC) Received: from lists.archlinux.org (localhost [IPv6:::1]) by lists.archlinux.org (Postfix) with ESMTP id E4426D532B5; Sat, 26 Feb 2022 17:36:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.archlinux.org; s=dkim-rsa; t=1645896984; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=R45Kvn84UfuosQhLVSUbLJlXnSximy+lQtlzwBgznJ4=; b=2wAjXaCDpngNyiEZeq/U5VpiRHtSeVw5RFza1K0pHorURqitx5GXfxJHCHk/AWkDTASExU dT4+i4d+CylYQ9/Q0nTP1S+7PC1MxOVQsJKkxQUgiObJib62pABz0glEgU0RTpLMZUwMPl zGS8cSyO8gFPNZrzeMuGTuAZay24IgrcFvP/dZLdAAEH6TOjRthVzQqJ8BWs+cPMXlkT0S DvA23eHiXL2A3E6HQvUEXMvEBf7zSW0QaXuJyzxwW2+iJvId/ylCPNnGn18aihvNkjGy4K RkAp2F2y9YmTWt88LIuwe3APks5rWyTWcN5j1zz+j2MWPmLamfgZN8Vo566rnKak74hrU7 bd2EDsmhFd/HZgL88kQd2+HroW2criQGdThrqHo+nPeo/fI7Qpc5DGZk54lk8ScttmtQy6 dQBzYmTbCzOzkAc/GP3yu/c+lv4hHeh9rEZoDa5RjM46X6RyCMOHnVedAom7WqB7Wqs8Mi JNO18xQy0JYJ7Xgkb1iHgwS+em5Qe9VuMp20Rp3PxMaA8kl8NJXweS5J0RMMis1d2HPwIn CoBwcioC3Q90TdAjsG8lOnvxNPpT266CKlRfU4haYD14bF72k9Ph/5AMMLYGWEh8HF4llw Os1wDwHPdn+1YBDnMJ7Z6feoXmG6vD4NWiEDT5H0n2ccGiu/tqkEk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=lists.archlinux.org; s=dkim-ed25519; t=1645896984; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=R45Kvn84UfuosQhLVSUbLJlXnSximy+lQtlzwBgznJ4=; b=k+1SE2RxSvg7ShXH8y3F9pyhQFYKldSl+g+n48fOLAj9+bdTxHfzQytRUawTqlIMpJNbrQ 1g3Rj3qAEyAzjNAA== X-Original-To: arch-projects@lists.archlinux.org Delivered-To: arch-projects@lists.archlinux.org Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lists.archlinux.org (Postfix) with ESMTPS id 6819DD532AB for ; Sat, 26 Feb 2022 17:36:23 +0000 (UTC) Received: by mail-ej1-x636.google.com with SMTP id vz16so16982033ejb.0 for ; Sat, 26 Feb 2022 09:36:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition; bh=R45Kvn84UfuosQhLVSUbLJlXnSximy+lQtlzwBgznJ4=; b=wJdOZsCzNGbnKTaLPoKyUjDEdfKr/kxoju8DUIJXR65yBQCaSkWWBRqltSSgs4kbo/ uhdNt0UD9rPtWwYZJ/pW1Pwdk8taet89ur0ZCVAEmCfv4NTojpa9cnDiTrAdZ8wNcpYK 9Isn+1aJTW5X4AKd5nAmtH7Pv7jSIHqjbVvylTOocZVEyMezhhLtXCRU2KoNlE1WCPtf oZhc4+saKtSEQnBOJRkeHLdGIcIVYEerEfbjA0KPAP/LWqskzslQ3w0cbGkQz5o3Ws2Z CKOuZz7oQYk2F+iqZEOpLxmf3bdCWh2Myl3gJvM3E+QZuerHpcyg26SkaKwLgvlXcNw6 XcBQ== X-Gm-Message-State: AOAM530Y2Xfy0Js7+RW6Xw/du+Yu6iC70m83ny1PRoo6GR/Tab+HN117 +AfHjTM59aaq+0a7BykdDNnnZ1hzJeJKTw== X-Google-Smtp-Source: ABdhPJwf6MBpUg8z9NaK340vVSRfIWBfTuGWa2hXxQxLKTBtZf2Lv9UcCIlc6r6eU1w4K8c2vEYAjQ== X-Received: by 2002:a17:906:b252:b0:6ce:41e2:5bb7 with SMTP id ce18-20020a170906b25200b006ce41e25bb7mr10016261ejb.179.1645896982339; Sat, 26 Feb 2022 09:36:22 -0800 (PST) Received: from Mindship-06.localdomain (252-168-166-62.ftth.glasoperator.nl. [62.166.168.252]) by smtp.gmail.com with ESMTPSA id qx13-20020a170906fccd00b006bdeb94f50csm2409248ejb.203.2022.02.26.09.36.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 09:36:21 -0800 (PST) Date: Sat, 26 Feb 2022 18:36:19 +0100 To: arch-projects@lists.archlinux.org Message-ID: MIME-Version: 1.0 Content-Disposition: inline Subject: [arch-projects] [netctl][PATCH] Support WPA3-Personal X-BeenThere: arch-projects@lists.archlinux.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: Arch Linux projects development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jouke Witteveen via arch-projects From: Jouke Witteveen Reply-To: Arch Linux projects development discussion Cc: Jouke Witteveen Errors-To: arch-projects-bounces@lists.archlinux.org Sender: "arch-projects" Authentication-Results: mail.archlinux.org; dkim=pass header.d=lists.archlinux.org header.s=dkim-rsa header.b=2wAjXaCD; dkim=pass header.d=lists.archlinux.org header.s=dkim-ed25519 header.b=k+1SE2Rx; dmarc=pass (policy=none) header.from=archlinux.org; spf=pass (mail.archlinux.org: domain of arch-projects-bounces@lists.archlinux.org designates 95.217.236.249 as permitted sender) smtp.mailfrom=arch-projects-bounces@lists.archlinux.org X-Rspamd-Queue-Id: 23467D6BA49 X-Spamd-Result: default: False [-3.91 / 15.00]; DWL_DNSWL_MED(-2.00)[archlinux.org:dkim]; DMARC_POLICY_ALLOW(-0.50)[archlinux.org,none]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:95.217.236.249]; R_DKIM_ALLOW(-0.20)[lists.archlinux.org:s=dkim-rsa,lists.archlinux.org:s=dkim-ed25519]; RCVD_IN_DNSWL_MED(-0.20)[95.217.236.249:from]; MAILLIST(-0.20)[mailman]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; TAGGED_RCPT(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_REPLYTO(0.00)[arch-projects@lists.archlinux.org]; RCVD_COUNT_FIVE(0.00)[5]; PREVIOUSLY_DELIVERED(0.00)[arch-projects@lists.archlinux.org]; NEURAL_HAM(-0.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::636:received]; ARC_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:95.217.0.0/16, country:DE]; FREEMAIL_CC(0.00)[gmail.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[arch-projects@lists.archlinux.org,arch-projects-bounces@lists.archlinux.org]; RCPT_COUNT_TWO(0.00)[2]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; DKIM_TRACE(0.00)[lists.archlinux.org:+]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FORGED_SENDER_MAILLIST(0.00)[] X-Rspamd-Server: mail.archlinux.org By not introducing a specific security setting for WPA3, we inherrit the WPA2 key restrictions. For now, that is better than nothing. --- src/lib/wpa | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/wpa b/src/lib/wpa index d081540..3605659 100644 --- a/src/lib/wpa +++ b/src/lib/wpa @@ -231,7 +231,8 @@ wpa_make_config_block() { fi ;; wpa) - echo "proto=RSN WPA" + echo "key_mgmt=WPA-PSK SAE" + echo "ieee80211w=1" if [[ "${#Key}" -eq 64 && $Key == +([[:xdigit:]]) ]]; then echo "psk=$Key" else