jgrulich added a comment.
Use NetworkManagerQt::Utils::wpaPskIsValid() and
NetworkManagerQt::Utils:wepKeyIsValid(). It doesn't make sense to have only
validation for WPA.
REPOSITORY
R116 Plasma Network Management Applet
REVISION DETAIL
https://phabricator.kde.org/D20900
To: McPain, jgr
McPain updated this revision to Diff 57237.
McPain added a comment.
Use validation
REPOSITORY
R116 Plasma Network Management Applet
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D20900?vs=57189&id=57237
REVISION DETAIL
https://phabricator.kde.org/D20900
AFFECTED FILES
kded/p
jgrulich added a comment.
Then the password dialog should use some sort of validation (we already use
it for example in the editor and applet) and do not allow to accept a password
which is likely not valid.
REPOSITORY
R116 Plasma Network Management Applet
REVISION DETAIL
https://phabri
McPain created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
Herald added a reviewer: jgrulich.
McPain requested review of this revision.
REVISION SUMMARY
PasswordDialog accepted all WPA-PSK keys, included ones shorter than 8
characters, which causes s