* properties/nm-openvpn-dialog.glade: Add "show passwords" checkbox.
* properties/nm-openvpn.c (auth_combo_changed_cb): Change the
sensitivity of "show passwords" checkbox depending on whether the
active page has any password entries.
* properties/auth-helpers.c (fill_password): Add a signal handler for
"show passwords" checkbox to change the password entry's visibility.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4092 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* Implement required "save_secrets" and "delete_connection" methods of the
VPN plugin UI interface.
Add the password widgets to the properties UI so that the passwords can be
edited/deleted from the UI. Reorganize the code a bit to avoid duplicate
code (using VPNC plugin as a template).
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4090 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-openvpn-service.c
- Clean up management socket and connect timer when the plugin stops;
becuase of this openvpn's output needs to be processed from the
child watch callback otherwise it gets lost when the management
socket is cleaned up during the state change to STOPPED.
- Fix parsing of private key auth failure
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4056 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* common-gnome/keyring-helpers.c
common-gnome/keyring-helpers.h
- Add defines for secret tags in the keyring
- (keyring_helpers_delete_secret): delete a secret from the keyring for
a given connection UUID
- (keyring_helpers_save_secret): vpn service is always going to be
vpnc's
* auth-dialog/main.c
- (get_secrets): use secret tag #defines; vpn service will always be
vpnc's
* properties/nm-vpnc.c
properties/nm-vpnc.h
- (fill_vpn_passwords): fill secrets in the UI if the connection is
system-scope
- (update_connection): fill secrets if the connection is system-scope
so they can be saved with the system settings service
- (save_secrets, delete_connection): implement
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4053 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-openvpn-service.c
- (nm_openvpn_start_openvpn_binary): send --script-security=2 to allow
the plugin's scripts to be run. Requires OpenVPN 2.1-rc9 or later,
distros with older versions should patch this out.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4041 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* libnm-util/nm-setting-vpn.c
libnm-util/nm-setting-vpn.h
- Split VPN secrets from VPN data so that settings services can actually
figure out that they are secrets and store them accordingly
* system-settings/plugins/keyfile/nm-keyfile-connection.c
system-settings/plugins/keyfile/reader.c
system-settings/plugins/keyfile/reader.h
system-settings/plugins/keyfile/writer.c
- Store VPN secrets separately from VPN data so that they can be fetched
on demand
- Implement the get_secrets() call so that (a) secrets don't leak out
to unprivileged callers, and (b) secrets can be sent to privileged
callers when needed
* vpn-daemons/vpnc/src/nm-vpnc-service.c
- Handle split VPN secrets
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4031 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* common-gnome/Makefile.am
common-gnome/keyring-helpers.c
common-gnome/keyring-helpers.h
Makefile.am
- Split out keyring read/write routines to common library
* configure.in
- Don't require libgnomeui anymore
* auth-dialog/main.c
- (get_secrets): use common keyring helpers
- (main): remove usage of libgnomeui
* auth-dialog/gnome-two-password-dialog.c
- (gnome_two_password_dialog_get_password,
gnome_two_password_dialog_get_password_secondary): use gnome-keyring
secure memory
* properties/nm-vpnc.c
properties/nm-vpnc-dialog.glade
properties/Makefile.am
- Grab VPN passwords from the keyring if available and allow them to
be edited
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4030 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* auth-dialog/main.c
- (get_secrets): don't gtk_widget_show_all() because that exposes
widgets that were supposed to be hidden
- (main): don't segfault on missing passwords (like hitting Cancel)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4026 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* auth-dialog/main.c
- (get_secrets): don't gtk_widget_show_all() because that exposes
widgets that were supposed to be hidden
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4025 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* auth-dialog/main.c
- (get_secrets): don't gtk_widget_show_all() because that exposes
widgets that were supposed to be hidden
- (main): don't segfault on missing passwords (like hitting Cancel)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4024 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* auth-dialog/main.c
- Convert to connection UUIDs (requires NM svn 4013 or later)
- General cleanups
- Store secrets in the keyring the same way the pptp and vpnc plugins do
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4016 4912f4e0-d625-0410-9fb7-b9a5a253dbdc