WiFi password length limited < 100 characters

Tried to log into my own 5G router WiFi for the first time, and discovered that Qubes [Fedora 39] wireless passwords are limited to around 98 characters. Since my password is 103 characters long, I can’t log into my own router. This blew my mind, since for me to change my router requires reprogramming the logins for a bunch of computers and telephones, which won’t happen soon. I’ve used that password for 8 years (I know, don’t say it - I figured anyone dedicated enough to crack it, not only would hack it anyway, but also deserved to succeed), so I’m going to order a 75ft length of CAT 6 cable, so I can use the computer downstairs. Because logging in using Ethernet works.

But it made me cry. Is there talk on the street of upping the limit on WiFi password length-just checking remote chance? I’m still mind blown. Thank you guys!

Hi,
I don’t quite understand the problem - could you please elaborate?
I checked the number of maximum characters in sys-net:fedora-39 for entering a WPA2 or WPA3 protected wifi password: in both cases the character limit was 64 characters.

According to the 802.11i specification:.

A pass-phrase is a sequence of between 8 and 63 ASCII-encoded characters. The limit of 63 comes from the desire to distinguish between a pass-phrase and a PSK displayed as 64 hexadecimal characters.

PSK 256bit = 32 bytes, which are often displayed as 64 hexadecimal characters.

Question: how do you achieve the ability to enter 100 characters in the wifi password field? What kind of WiFi technology is it, how is it secured? What device are you using?

I think WPA3 specification is not limiting the maximum password length and the maximum depends on implementation.

@apparatus,
Could you support your words with a source, such as a quote / link to the WPA3 security documentation?

You can check the RFC:

Try to use nmtui or nmcli to configure your WiFi through network manager, if it doesn’t work, try wpa_supplicant instead of network manager to handle the wireless connection.

It is certainly just be a limitation of the network manager GUI! The password is hashed anyway so the length itself should not matter when connecting.

1 Like

The Router is a Synology rt2600ac using WPA3. Enter the un/pw using either Onlykey or Keypass. Setting up long passwords on a cell phone is tricky, one must copy/paste the password into the password entry box (because cell phone keyboards are limited - my password has no duplicate characters). But for cell phones, once they’re setup, good to go.

Incredible, I had no idea there was an upper limit (e.g. 64 characters) until today.

Research indicates you’re probably right about implementation, firmware is often fuzzy in these areas, like in memory access.

Solene,
Initially I got error “nmcli not running” and it’s late, but I will pursue that, must sleep before work though, it may take some time for me to post back.

To you guys thank you for responses! Give me some time to follow up with your post(s)!

Unless you prefer command line configuration, I would suggest nmtui, which has an old-school text-based GUI, over nmcli which is command line based.