GNOME Bugzilla – Bug 721776
NetworkManager always check secret agent for modify access
Last modified: 2020-11-12 14:35:13 UTC
NetworkManager always check secret agent for modify access even if secret flag is always-ask in get_next_cb (src/settings/nm-agent-manager.c), has_system_secrets always return TRUE because nm_connection_for_each_setting_value iterate by all possible settings which never used in this connection, as result we always have secret with flag NM_SETTING_SECRET_FLAG_NONE Can someone help to resolve this problem? I found this http://gnome-networkmanager.2324886.n4.nabble.com/NM-0-9-asks-for-PK-auth-without-need-td11076.html I compile NM with patch 0001-don-t-consider-not-needed-secrets-for-has_system_secr.diff as discribed on https://wiki.ubuntu.com/DebuggingNetworkManager As I see in DEBUG log this patch skip all not needed secrets, but my problem still not completely resolved, we are using WPA2 Enterprise network (EAP-TTLS) and as I found EAP authentication has two variants of secrets: 'password' and 'password-raw' (https://developer.gnome.org/NetworkManager/0.9/ref-settings.html) password-raw not used in graphical configurator but it is possible to set it and it flag only by editing config file or via API I checked all possible combination and found that 'password-raw' used only if it's set in config file or if password-flag=NM_SETTING_SECRET_FLAG_NOT_REQUIRED I think 'password-raw' flag should be considered with 'password' flag
bugzilla.gnome.org is being shut down in favor of a GitLab instance. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time. If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/ Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).