NetworkManager/clients/common
Jiří Klimeš 348ba7645b clients: add a helper function to get required openconnect VPN secrets
OpenConnect needs three secrets - COOKIE, HOST and FINGERPRINT. They can be
obtained by authenticating to the server. This can be performed by running
"openconnect --authenticate <host>" and the three values are printed to stdout.

Note that the function may (probably will) interactively ask user for
his credentials.

Alternatively, it would be possible to dlopen() libopenconnect and call its
functions. However, as that would be more complicated and would also require
implementing functionality that openconnect simply does for free for us, it is
not worth it, I think.

(cherry picked from commit ea54b7f2c0)
2015-12-12 22:29:25 +01:00
..
nm-polkit-listener.c clients: check errors of polkit_unix_session_new_for_process_sync() 2015-11-25 12:14:02 +01:00
nm-polkit-listener.h clients: add common code for polkit agent listener 2014-11-07 11:37:42 +01:00
nm-secret-agent-simple.c clients: add vpn_type member to secret structure in secret agent 2015-12-12 22:29:03 +01:00
nm-secret-agent-simple.h clients: add vpn_type member to secret structure in secret agent 2015-12-12 22:29:03 +01:00
nm-vpn-helpers.c clients: add a helper function to get required openconnect VPN secrets 2015-12-12 22:29:25 +01:00
nm-vpn-helpers.h clients: add a helper function to get required openconnect VPN secrets 2015-12-12 22:29:25 +01:00