Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to differentiate preferred networks with and without passwords #14

Open
keithrbennett opened this issue Jul 5, 2018 · 0 comments

Comments

@keithrbennett
Copy link
Owner

keithrbennett commented Jul 5, 2018

For those of us with many (hundreds of) preferred networks, the WiFi GUI may be being slowed down because of this.

It's nice to have preferred networks with passwords saved, because that eliminates the need to find again the password on revisiting that site. However, saving networks without passwords is not as valuable.

It would be nice to provide a way to provide a way to fetch 2 additional lists of preferred networks; one with, and one without passwords.

This is easy to do, as the following command produces a list of network names. The command below is a start:

security dump "/Library/Keychains/System.keychain" -D "AirPort network password" | grep acct | sort -u

It produces lines like the following:

"acct"<blob>="PLDTHOMEFIBR_SHOTEL"

Producing the list of networks without a password would then simply be subtracting the ones with passwords from the entire list.

We would also need to decide how to fit it into the UI; possibly as options to the pref_nets command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant