Skip to content

networkAgent: Ask for wifi secrets in the hints paremeter

Andrew Zaborowski requested to merge balrog-kun/gnome-shell:master into master

The hints and settingName parameters to the agent call may define the specific list of secrets NM actually needs from the user. This seems to have been the intended use of these two parameters but only recently did NM with the IWD backend start to use this to request 802.1x secrets. So if hints is provided, ask user for the specific secrets listed there and don't even look at what type of EAP method is in use. Only the three types of secrets actually in use by NM's IWD backend are supported for now -- they happen to be the same three that _get8021xSecrets() had already supported.

FYI the nm-cli nm client supports this already. Related nm-applet changes have not been merged yet. I still have to look at updating gnome-control-center with one IWD related quirk.

Merge request reports