thorrak / tiltbridge

Tilt Hydrometer to WiFi Bridge
http://www.tiltbridge.com/
Other
61 stars 27 forks source link

Special characters in WPA2 PSK Passwords #19

Closed skroz1 closed 3 years ago

skroz1 commented 4 years ago

It appears that certain special characters are not being escaped correctly in the MPA2 PSK passphrase. In testing, the Tiltbridge was not able to join a 2.4 GHz wifi network when the PSK contained a $ character. Removing this character resolved the issue.

lbussy commented 3 years ago

I created a soft AP with which to test using the following:

#include <ESP8266WiFi.h>
#include <Arduino.h>

const char *ssid = "soft-access-point";
// const char *password = "$password";
const char *password = "pa$$word";

void setup()
{
  WiFi.softAP(ssid, password);
}

void loop() { ; }

I tested connecting TiltBridge to the AP with passwords $password and pa$$word and both worked as expected. I am unable to reproduce.

Can you provide a more specific failure scenario?

lbussy commented 3 years ago

Tested ok during a review. Closing. Can re-open with additional detail.