Expose support of SAE key management on D-Bus

Also do a new build once the WPA3 features are turned on.
This commit is contained in:
Lubomir Rintel 2019-01-22 13:02:16 +01:00
parent f0fc5fbf86
commit b324e38db0
2 changed files with 35 additions and 2 deletions

View File

@ -0,0 +1,29 @@
From 24b22f0aa352bf958c9f67c4ee599e0501a163e8 Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak@v3.sk>
Date: Mon, 21 Jan 2019 17:18:11 +0000
Subject: [PATCH] dbus: Expose support of SAE key management
This is going to be useful for NetworkManager and likely others.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
---
wpa_supplicant/dbus/dbus_new_handlers.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c
index c3dc8854c..06769e174 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c
@@ -4539,6 +4539,12 @@ static dbus_bool_t wpas_dbus_get_bss_security_prop(
if (ie_data->key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA384)
key_mgmt[n++] = "wpa-ft-fils-sha384";
#endif /* CONFIG_FILS */
+#ifdef CONFIG_SAE
+ if (ie_data->key_mgmt & WPA_KEY_MGMT_SAE)
+ key_mgmt[n++] = "sae";
+ if (ie_data->key_mgmt & WPA_KEY_MGMT_FT_SAE)
+ key_mgmt[n++] = "ft-sae";
+#endif /* CONFIG_SAE */
if (ie_data->key_mgmt & WPA_KEY_MGMT_NONE)
key_mgmt[n++] = "wpa-none";

View File

@ -7,7 +7,7 @@ Summary: WPA/WPA2/IEEE 802.1X Supplicant
Name: wpa_supplicant
Epoch: 1
Version: 2.7
Release: 2%{?dist}
Release: 3%{?dist}
License: BSD
Group: System Environment/Base
Source0: http://w1.fi/releases/%{name}-%{version}%{rcver}%{snapshot}.tar.gz
@ -32,6 +32,9 @@ Patch3: wpa_supplicant-quiet-scan-results-message.patch
# distro specific customization for Qt4 build tools, not suitable for upstream
Patch6: wpa_supplicant-gui-qt4.patch
# http://lists.infradead.org/pipermail/hostap/2019-January/039338.html
Patch7: https://github.com/NetworkManager/hostap/commit/24b22f0.patch#/0001-dbus-Expose-support-of-SAE-key-management.patch
URL: http://w1.fi/wpa_supplicant/
%if %{build_gui}
@ -172,8 +175,9 @@ chmod -R 0644 %{name}/examples/*.py
%endif
%changelog
* Mon Jan 21 2019 Lubomir Rintel <lkundrak@v3.sk> - 1:2.7
* Mon Jan 21 2019 Lubomir Rintel <lkundrak@v3.sk> - 1:2.7-3
- Enable OWE and DPP
- Expose SAE support on D-Bus
* Mon Jan 21 2019 Lubomir Rintel <lkundrak@v3.sk> - 1:2.7-2
- Enable MESH & SAE