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
I found this http:// gnome-networkma nager.2324886. n4.nabble. com/NM- 0-9-asks- for-PK- auth-without- need-td11076. html t-consider- not-needed- secrets- for-has_ system_ secr.diff as discribed on https:/ /wiki.ubuntu. com/DebuggingNe tworkManager
I compile NM with patch 0001-don-
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