summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2022-05-30 11:36:39 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2022-05-30 11:44:46 +0200
commit2a690cb55fa868d4208e1563974e777299cc8766 (patch)
treea3516a7bcf99c283d95c48a0653c8a62dff7adf8
parent0a9a30b51f2bedcaaaba848c3cf217a3692dd3e0 (diff)
downloadnetwork-manager-applet-2a690cb55fa868d4208e1563974e777299cc8766.tar.gz
wifi: change description for wpa-psk to include also WPA3
Since NM 1.32, key-mgmt=wpa-psk also enables WPA3 transition mode. Update the description in the applet and editor to reflect that change. For WPA Enterprise, WPA3 is basically the same as WPA2 but with PMF required. Then we have a stronger WPA3 Enterprise mode enabled with key-mgmt=wpa-eap-suite-b-192. Don't change "WPA/WPA2 Enterprise" to mention "WPA3" as that could be confused with the stronger mode (currently not supported by the editor and applet). While at it, change descriptions to use "/" instead of "&" as I find it more clear.
-rw-r--r--src/applet-dialogs.c2
-rw-r--r--src/connection-editor/page-wifi-security.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/applet-dialogs.c b/src/applet-dialogs.c
index b89d592b..880bfea5 100644
--- a/src/applet-dialogs.c
+++ b/src/applet-dialogs.c
@@ -225,7 +225,7 @@ create_info_label_security (NMConnection *connection)
else if (!strcmp (key_mgmt, "wpa-none"))
label = g_strdup (_("WPA/WPA2"));
else if (!strcmp (key_mgmt, "wpa-psk"))
- label = g_strdup (_("WPA/WPA2"));
+ label = g_strdup (_("WPA/WPA2/WPA3"));
else if (!strcmp (key_mgmt, "sae"))
label = g_strdup (_("WPA3"));
else
diff --git a/src/connection-editor/page-wifi-security.c b/src/connection-editor/page-wifi-security.c
index ae0e1cd0..ee1ee1e8 100644
--- a/src/connection-editor/page-wifi-security.c
+++ b/src/connection-editor/page-wifi-security.c
@@ -407,7 +407,7 @@ finish_setup (CEPageWifiSecurity *self, gpointer user_data)
g_return_if_fail (ws_wpa_psk);
add_security_item (self, NMA_WS (ws_wpa_psk), sec_model,
- &iter, _("WPA & WPA2 Personal"), TRUE, TRUE);
+ &iter, _("WPA/WPA2/WPA3 Personal"), TRUE, TRUE);
if ((active < 0) && ((default_type == NMU_SEC_WPA_PSK) || (default_type == NMU_SEC_WPA2_PSK)))
active = item;
item++;
@@ -420,7 +420,7 @@ finish_setup (CEPageWifiSecurity *self, gpointer user_data)
g_return_if_fail (ws_wpa_eap);
add_security_item (self, NMA_WS (ws_wpa_eap), sec_model,
- &iter, _("WPA & WPA2 Enterprise"), FALSE, FALSE);
+ &iter, _("WPA/WPA2 Enterprise"), FALSE, FALSE);
if ((active < 0) && ((default_type == NMU_SEC_WPA_ENTERPRISE) || (default_type == NMU_SEC_WPA2_ENTERPRISE)))
active = item;
item++;