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

connman.py: More secure default password for tethering #86

Merged
merged 1 commit into from
Dec 1, 2017

Conversation

Ray-future
Copy link
Contributor

Enabling Wifi tethering always defaults to the password: libreelec. Since the SSID defaults to LibreELEC-AP it is a pretty simple password to guess.
Now a 10 character long random (digits and letters only) string is generated by default. Not sure about the 10 characters is too long or too short.

@MilhouseVH
Copy link
Contributor

I'll include this in test builds.

@Ray-future
Copy link
Contributor Author

Thanks. If someone already used wifi tethering and set a password or used that "libreelec" default it will not override it obviously.

@MilhouseVH
Copy link
Contributor

Seems to be working fine.

If anyone wishes to test (and has previously enabled tethering), they should

  1. disable tethering
  2. edit /storage/.cache/connman/settings and in the [WiFi] section remove:
Tethering.Identifier=LibreELEC-AP
Tethering.Passphrase=libreelec
  1. save, and reboot

When tethering is re-enabled, it should now have a random passphrase, eg. tQCDKuaUlv

@MilhouseVH MilhouseVH merged commit 16ca12b into LibreELEC:master Dec 1, 2017
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

Successfully merging this pull request may close these issues.

2 participants