wifi: drop support for wpa-none key-mgmt

System Internals / NetworkManager - Beniamino Galvani [redhat.com] - 26 August 2019 08:25 EDT

NM didn't support wpa-none for years because kernel drivers used to be broken. Note that it wasn't even possible to *add* a connection with wpa-none because it was rejected in nm_settings_add_connection_dbus(). Given that wpa-none is also deprecated in wpa_supplicant and is considered insecure, drop altogether any reference to it.

c97e0ce30 wifi: drop support for wpa-none key-mgmt
clients/common/nm-meta-setting-desc.c | 2 +-
clients/common/nm-secret-agent-simple.c | 2 +-
clients/common/settings-docs.h.in | 2 +-
clients/tui/nm-editor-bindings.c | 3 +-
libnm-core/nm-setting-wireless-security.c | 43 +++----------
libnm-core/nm-setting-wireless.c | 8 ---
libnm-core/nm-utils.c | 26 --------
libnm/nm-device-wifi.c | 3 +-
src/devices/wifi/nm-device-wifi.c | 59 ------------------
src/devices/wifi/nm-wifi-ap.c | 34 ----------
src/devices/wifi/nm-wifi-utils.c | 72 ++--------------------
src/settings/nm-settings.c | 11 ----
.../plugins/ifcfg-rh/nms-ifcfg-rh-reader.c | 4 +-
.../plugins/ifcfg-rh/nms-ifcfg-rh-writer.c | 2 +-
.../plugins/ifcfg-rh/tests/test-ifcfg-rh.c | 4 +-
src/supplicant/nm-supplicant-config.c | 4 +-
src/supplicant/nm-supplicant-settings-verify.c | 2 +-
17 files changed, 23 insertions(+), 258 deletions(-)

Upstream: cgit.freedesktop.org


  • Share