diff --git a/0001-dbus-Expose-support-of-SAE-key-management.patch b/0001-dbus-Expose-support-of-SAE-key-management.patch new file mode 100644 index 0000000..aef1fa6 --- /dev/null +++ b/0001-dbus-Expose-support-of-SAE-key-management.patch @@ -0,0 +1,29 @@ +From 24b22f0aa352bf958c9f67c4ee599e0501a163e8 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +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 +--- + 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"; + diff --git a/wpa_supplicant.spec b/wpa_supplicant.spec index 7ff8f4b..98ed06b 100644 --- a/wpa_supplicant.spec +++ b/wpa_supplicant.spec @@ -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 - 1:2.7 +* Mon Jan 21 2019 Lubomir Rintel - 1:2.7-3 - Enable OWE and DPP +- Expose SAE support on D-Bus * Mon Jan 21 2019 Lubomir Rintel - 1:2.7-2 - Enable MESH & SAE