I was just surprised to find out that devices when connecting to WiFi networks compare the SSID to known ones and try the saved password.
In other terms: I have replaced my home router, and my device connected on the new network right away after it had the same SSID and password.
Is this not a hazard? What if someone would set up a rogue network with same known SSID and devices would try the saved passwords? Wouldn't the impostor get to know the password they tried?
I believe there has to be some kind of secure layer around saved passwords but this still got me thinking.