After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 670381 - ifnet: WPA passwords get truncated at the '#' character
ifnet: WPA passwords get truncated at the '#' character
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
0.9.x
Other Linux
: Normal normal
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2012-02-19 01:19 UTC by Alexandre Rostovtsev
Modified: 2012-02-26 02:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (1.63 KB, patch)
2012-02-19 01:25 UTC, Alexandre Rostovtsev
none Details | Review

Description Alexandre Rostovtsev 2012-02-19 01:19:11 UTC
Currently, wpa_parser_init() in src/settings/plugins/ifnet/wpa_parser.c interprets any part of a wpa_supplicant.conf line following a '#' character as a comment. This results in e.g. WPA passwords containing the '#' character getting truncated.

The parser needs to do the same thing as wpa_supplicant's own config parsing algorithm does, which is to ignore all '#' characters occurring between the first and last '"' character in a config file line.
Comment 1 Alexandre Rostovtsev 2012-02-19 01:25:59 UTC
Created attachment 207963 [details] [review]
proposed patch
Comment 2 Dan Williams 2012-02-26 02:31:24 UTC
Pushed, thanks!

Dan