-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
Add password to configuration ap #484
Conversation
I don't really see how moving from no password to a password everyone knows really makes anything more secure. However the iSpindel does store your WiFi password in plain text and displays that, which is not ideal if the config is so open. For me the risk is so low I don't consider a worrying issue (I can control how long the config is open for. I do wonder if multiple devices can access it at the same time, can there be an Eve?). Perhaps the AP should never show the stored password in that manner. |
Hmm. My issue is that I don't want to transfer my wifi credentials in the clear ever. Having said that, I recognize that using a standard password likely isn't the best idea. One way I've seen this handled is through a user header file. That allows those of us that want to add a password to do so during the FW build process. I just wish there was a way to do this with the pre-compiled builds. Maybe the AP password could be auto-generated per device and displayed on the console? In terms of displaying the AP password, past the initial config step I would rather not have the saved AP password displayed on the console. That should be an easy fix. Let me see if I can whip something up for that. In the mean time, should we move the discussion on the AP password to an issue? |
Three clear problems which need to be addressed. |
Pull request #493 submitted to hide password output. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding a fixed passphrase to the AP adds little to no security, as the first approach of a potential hacker would be to google "iSpindel psk" so that is "security by obscurity"
Even worse is that is gives an impression to the users of a false security which is worse than not to.
My suggestion is to make this a feature, adding a field to the UI to set a PSK for the AP as well.
That's a good idea, although it does mean sending credentials in the clear. What about using SSL for the config pages? That would solve the requirement to configure without a pre-set / known WPA PSK and ensure wifi credentials are not sent in the clear. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Oops, I haven't updated this yet. Let me see if I can add a field to configure the AP with a password. I'd still prefer a default out of the box PW so that nothing is ever sent in the clear. What about a pre-configured default PW that requires either the user to disable or change it upon first use? |
5781a9e
to
ffd14d4
Compare
Commit with added option to set / unset AP password from the config page has been pushed. Hopefully this works. |
I've verified the changes work but realize that there may be too many forced updates here for comfort. I'm happy to close this and create a new "clean" pull request if that would help. My apologies for the messy history. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This commit adds a default password to the configuration AP which encrypts traffic to/from the iSpindel during configuration. Encrypting the traffic will prevent wifi configuration information being transmitted in the clear.
I thought about randomizing the access points password or making this dependent on the device but that might be too complex to manage when you have multiple devices.