Rajeesh K Nambiar
2011-07-31 12:36:14 UTC
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102157/
-----------------------------------------------------------
Review request for Network Management.
Summary
-------
WEP key validation (should have only 5 to 13 ASCII characters for Ascii key; and 10 to 26 Hex characters for Hex key) wasn't working. Most of the bits were present, here's a gross hack to make it really work. Only implemented and tested WEP validation, but can be extended for other security types as well.
I'm not sure this could be the best/easiest implementation, spent a night figuring out the right signal/slots :-). If this hack could be refined, please let me know!
Diffs
-----
libs/ui/security/wpapskwidget.h 7077836
libs/ui/security/eapmethodstack.h 552f5c9
libs/ui/security/nullsecuritywidget.h a0faa46
libs/ui/security/securityleap.h 5d9b034
libs/ui/security/securitywidget.h 71ebf4a
libs/ui/security/wepwidget.h e78338c
libs/ui/security/wepwidget.cpp f024555
libs/ui/security/wirelesssecuritysettingwidget.cpp fbc2c34
Diff: http://git.reviewboard.kde.org/r/102157/diff
Testing
-------
Tested with WEP Hex and ASCII key validations. "OK" button of connection editor widget is now properly enabled/disabled upon changing key.
Thanks,
Rajeesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110731/8fd1c15c/attachment.htm
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102157/
-----------------------------------------------------------
Review request for Network Management.
Summary
-------
WEP key validation (should have only 5 to 13 ASCII characters for Ascii key; and 10 to 26 Hex characters for Hex key) wasn't working. Most of the bits were present, here's a gross hack to make it really work. Only implemented and tested WEP validation, but can be extended for other security types as well.
I'm not sure this could be the best/easiest implementation, spent a night figuring out the right signal/slots :-). If this hack could be refined, please let me know!
Diffs
-----
libs/ui/security/wpapskwidget.h 7077836
libs/ui/security/eapmethodstack.h 552f5c9
libs/ui/security/nullsecuritywidget.h a0faa46
libs/ui/security/securityleap.h 5d9b034
libs/ui/security/securitywidget.h 71ebf4a
libs/ui/security/wepwidget.h e78338c
libs/ui/security/wepwidget.cpp f024555
libs/ui/security/wirelesssecuritysettingwidget.cpp fbc2c34
Diff: http://git.reviewboard.kde.org/r/102157/diff
Testing
-------
Tested with WEP Hex and ASCII key validations. "OK" button of connection editor widget is now properly enabled/disabled upon changing key.
Thanks,
Rajeesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110731/8fd1c15c/attachment.htm