From 3a393738ea07c47f5571b4cfc317351306a6212a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 29 Aug 2023 19:09:21 +0200 Subject: [PATCH] status/network: Don't show OWE networks as secure The OWE protocol is used by public networks to provide some form of encryption, but without authentication. That makes them more secure than unencrypted public networks, but still significantly less secure than "proper" encryption types like WPA. The are not shown as secure by Settings' network panel, so we shouldn't do so either. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6918 Part-of: --- js/ui/status/network.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 324ad4f55..322d7d91a 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -811,7 +811,10 @@ const WirelessNetwork = GObject.registerClass({ } get secure() { - return this._securityType !== NM.UtilsSecurityType.NONE; + return this._securityType !== NM.UtilsSecurityType.NONE && + this._securityType !== NM.UtilsSecurityType.UNKOWN && + this._securityType !== NM.UtilsSecurityType.OWE && + this._securityType !== NM.UtilsSecurityType.OWE_TM; } get is_active() {