Review Request: Secrets: fix missing secrets for VPN plugins without explicit storage type
Andrey Borzenkov
arvidjaar at gmail.com
Mon Mar 14 19:07:03 CET 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100856/
-----------------------------------------------------------
Review request for Network Management.
Summary
-------
Patch series b1810..a1115e introduced the following regression:
Same function was misused for both "secrets were loaded from
stable storage" as well as "are there any volatile secrets".
Additionally, secretsAvailable() never really checked whether
secrets were loaded at all.
The patch reverts secretsAvailable() semantic to "secrets loaded
from stable storage" and adds additionally hasVolatileSecrets()
to check whether any secret is never stored and has to be always
asked from user.
Addtitionally doAskUser() never really reset error after user
supplied secrets so connection hung. Fixed as well.
Fixes https://bugs.kde.org/show_bug.cgi?id=262555
Special thanks to Xeno for providing exceptional good test case.
This addresses bug 262555.
http://bugs.kde.org/show_bug.cgi?id=262555
Diffs
-----
libs/internals/connection.h 752ae78
libs/internals/connection.cpp 2914b39
libs/internals/setting.h ec16bf1
libs/internals/settings/vpn.h d809c79
libs/internals/settings/vpn.cpp 4186655
libs/internals/settings/vpnpersistence.cpp cffbe53
libs/ui/connectionsecretsjob.cpp 5a90b99
Diff: http://git.reviewboard.kde.org/r/100856/diff
Testing
-------
Testing was done under current GIT using real OpenVPN server
Thanks,
Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110314/52ebbeb6/attachment.htm
More information about the kde-networkmanager
mailing list