[PATCH 0/5] Framework for allowing mix of permanent and one-time VPN secrets

Andrey Borzenkov arvidjaar at gmail.com
Fri Nov 26 18:19:40 CET 2010


The following patches are also attached as single patch to
https://bugs.kde.org/show_bug.cgi?id=244416

I have connection that is using vpnc with dynamic one time password. It turned
out, it was not possible to use it with knetworkmanager. The main reason was -
VPN framework for saving/restoring secrets checks only whether *something* was
stored, not whether individual secrets were actually defined. It means, when I
tried to define VPNC connection with password as "always ask" it saved empty
password in wallet. Later on connection request empty password was fetched and
silently used, leading to connection failure.

Because one time secrets look potentially useful to other VPN types as well,
this patch series

1. Adds framework for defining secret storage type to VPN layer
2. Adds separate "query secrets" dialogue, as full fledged connection property
seems to be just an overkill at this moment
3. Finally makes vpnc plugin use both of the above

I am using these patches for quite some time successfully (both
with monolithic knetworkmanager and now with plasma applet).

Comments are welcome. Thank you!

-- 
Andrey Borzenkov



More information about the kde-networkmanager mailing list