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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2927>
This commit is contained in:
parent
3c6c8a40ae
commit
3a393738ea
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user