dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.88k stars 483 forks source link

Wifi password length is limited to 50 characters #4226

Open TwoBeers44 opened 3 years ago

TwoBeers44 commented 3 years ago

Describe the bug

As the title say...when you try to connect to your router in client mode, the maximum password length is set to 50 characters.

With WPA2-AES the password can be from 8 to 63 characters.

https://www.routersecurity.org/wepwpawpa2.php#:~:text=The%20shortest%20password%20allowed%20with,up%20to%2063%20characters%20long.

The shortest password allowed with WPA2 is 8 characters long. A password of 14 or 15 characters should be long enough to defeat most brute force guessing. [...] WPA2 passwords can be up to 63 characters long.

Steps to reproduce the behavior

If the problem is reproducable, list the steps here:

  1. Go to 'WLAN'
  2. Click on 'Client-Modus'
  3. Select WIFI Network
  4. try to insert passwords longer than 50 characters

Expected behavior

password should be from 8 to 63 characters.

Screenshots

not needed

Environment

deCONZ Logs

not needed

Additional context

not needed

TwoBeers44 commented 3 years ago

Hey, will you change that soon?

TwoBeers44 commented 3 years ago

I also posted the bug here

https://github.com/dresden-elektronik/phoscon-app-beta/issues/251

They said, it will be fixed...