[GH-ISSUE #30] Invalid AP password gives no warning #22

Closed
opened 2026-02-28 01:22:56 +03:00 by kerem · 3 comments
Owner

Originally created by @paccerdk on GitHub (Dec 22, 2015).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/30

I've spent a few hours trying to figure out why i couldn't change the default AP SSID / password.

The module would come up with the default "AutoConnectAP" and no password,
and seemed to do so regardless of what i did.

Turns out i picked a password which was too short.

Using a password less than 8 characters results in the module using previous saved AP settings.

This is probably intended behavior, but i suggest printing a warning when using passwords <8 characters, or maybe a comment mentioning this.

Originally created by @paccerdk on GitHub (Dec 22, 2015). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/30 I've spent a few hours trying to figure out why i couldn't change the default AP SSID / password. The module would come up with the default "AutoConnectAP" and no password, and seemed to do so regardless of what i did. Turns out i picked a password which was too short. Using a password less than 8 characters results in the module using previous saved AP settings. This is probably intended behavior, but i suggest printing a warning when using passwords <8 characters, or maybe a comment mentioning this.
kerem closed this issue 2026-02-28 01:22:56 +03:00
Author
Owner

@tzapu commented on GitHub (Dec 23, 2015):

hi, already mentioned here https://github.com/tzapu/WiFiManager#password-protect-the-configuration-access-point

i did not add a warning as i did not know what the criteria was, maybe simply 8 chars or longer is enough as a check

<!-- gh-comment-id:166815193 --> @tzapu commented on GitHub (Dec 23, 2015): hi, already mentioned here https://github.com/tzapu/WiFiManager#password-protect-the-configuration-access-point i did not add a warning as i did not know what the criteria was, maybe simply 8 chars or longer is enough as a check
Author
Owner

@paccerdk commented on GitHub (Dec 23, 2015):

After a bit of digging around, I've come to the following conclusions:

Pass-phrase must consist of 8 to 63 ASCII-encoded characters in the range of 32 to 126 (decimal)

A valid SSID consists of 0-32 octets with arbitrary contents.

This is according to the IEEE 802.11 standard

Source:
http://standards.ieee.org/getieee802/download/802.11-2012.pdf

<!-- gh-comment-id:166838078 --> @paccerdk commented on GitHub (Dec 23, 2015): After a bit of digging around, I've come to the following conclusions: Pass-phrase must consist of 8 to 63 ASCII-encoded characters in the range of 32 to 126 (decimal) A valid SSID consists of 0-32 octets with arbitrary contents. This is according to the IEEE 802.11 standard Source: http://standards.ieee.org/getieee802/download/802.11-2012.pdf
Author
Owner

@tzapu commented on GitHub (Dec 23, 2015):

thanks for this
added warning in latest commit

<!-- gh-comment-id:166934584 --> @tzapu commented on GitHub (Dec 23, 2015): thanks for this added warning in latest commit
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#22
No description provided.