Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274636 - net-misc/networkmanager: networkmanager may not accept passphrase longer than 62
Summary: net-misc/networkmanager: networkmanager may not accept passphrase longer than 62
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Robert Piasek (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-18 19:06 UTC by Łukasz Siudut
Modified: 2009-06-19 08:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Siudut 2009-06-18 19:06:46 UTC
Networkmanager may not accept passphrase longer than 62. It is because 09_all_handle_WEP_and_WPA_passphrases.patch patch, which contains passphrase length check: "psk_len < 63", while it should be for example "psk_len <= 64".

Reproducible: Always

Steps to Reproduce:
1. Compile networkmanager
2. Run any networkmanager client
3. Try to connect to wpa-psk network with 63 letters length password 

Actual Results:  
Error message, that connection is impossible.

Expected Results:  
Connect to network.
Comment 1 Robert Piasek (RETIRED) gentoo-dev 2009-06-19 08:40:17 UTC
Thank you for reporting.

actually it should be psk_len <= 63 and not psk_len < 63

I will fix it later today.
Comment 2 Robert Piasek (RETIRED) gentoo-dev 2009-06-19 08:58:42 UTC
networkmanager-0.7.1-r6 fixes the problem.