NetworkManager/libnm-util
Dan Williams d7a86ffd04 libnm-util: fix VPN update_one_secret()
The old function took a string value, which wasn't really correct as
the property type is a GHashTable of string:string.  For whatever
reason this is how nm-applet passed VPN secrets back to NM in the return
from the GetSecrets() D-Bus call.  This was probably easier or
something but it was a special case that's magic and quite unclear.

Since we use nm_connection_update_secrets() more these days, and we
depend on the GValue types we pass into it matching the property
types of the setting property the secret is for, we need to fix that
up for VPN connections.  But keep the old code for backwards
compatibility.

In the future secret agents should pass back VPN secrets in the same
form as the VPN setting specifies them for the "secrets" property:
a GHashTable of string:string.  But the old mechanism of just dumping
the key/value pairs into the returned VPN hash as string:string will
still work.
2011-02-08 20:12:55 -06:00
..
tests libnm-util: fix VPN update_one_secret() 2011-02-08 20:12:55 -06:00
COPYING doc: fix FSF address (bgo #575625) 2009-09-10 21:03:30 -04:00
crypto.c trivial: add missing includes 2010-10-08 16:43:16 -05:00
crypto.h libnm-util: add nm_utils_rsa_key_encrypt() and fix crypto padding mixups 2009-09-15 16:01:50 -07:00
crypto_gnutls.c libnm-util: add nm_utils_rsa_key_encrypt() and fix crypto padding mixups 2009-09-15 16:01:50 -07:00
crypto_nss.c crypto: de-init NSS after calling PR_GetError() 2010-01-21 12:57:31 -08:00
libnm-util.pc.in build: pkg-config file fixes 2010-01-20 16:53:04 -08:00
libnm-util.ver libnm-util: add utility functions for adding/removing permissions 2011-02-07 17:24:50 -06:00
Makefile.am libnm-util: fix handling of secrets flags 2011-01-31 12:36:53 -06:00
nm-connection.c libnm-util: fix updating secrets 2011-02-02 17:18:50 -06:00
nm-connection.h libnm-util: simplify nm_connection_for_each_setting_value() 2011-01-31 21:53:16 -06:00
nm-param-spec-specialized.c libnm-util: convert from old IP6 address format to new 2010-04-19 10:14:44 -07:00
nm-param-spec-specialized.h Rename private nm_* functions to _nm_* 2008-08-26 09:34:31 +00:00
nm-setting-8021x.c libnm-util: NM_SETTING_SECRET_FLAG_SYSTEM_OWNED -> NM_SETTING_SECRET_FLAG_NONE 2011-02-06 23:37:39 -06:00
nm-setting-8021x.h libnm-util: add secret flags for each secret describing how the secret is stored 2011-01-29 13:34:24 -06:00
nm-setting-bluetooth.c doc: document bluetooth setting properties 2009-11-11 13:50:01 -08:00
nm-setting-bluetooth.h libnm-util: add class padding for future expansion 2009-09-30 09:21:32 -07:00
nm-setting-cdma.c libnm-util: update CDMA, GSM, and PPPoE settings for NOT_REQUIRED secrets 2011-02-07 19:16:54 -06:00
nm-setting-cdma.h libnm-util: add secret flags for each secret describing how the secret is stored 2011-01-29 13:34:24 -06:00
nm-setting-connection.c libnm-util: rework permissions helpers to be more useful 2011-02-07 18:35:48 -06:00
nm-setting-connection.h libnm-util: rework permissions helpers to be more useful 2011-02-07 18:35:48 -06:00
nm-setting-gsm.c libnm-util: update CDMA, GSM, and PPPoE settings for NOT_REQUIRED secrets 2011-02-07 19:16:54 -06:00
nm-setting-gsm.h libnm-util: add secret flags for each secret describing how the secret is stored 2011-01-29 13:34:24 -06:00
nm-setting-ip4-config.c introspection: add GObject introspection support (bgo #637032) 2011-01-21 14:46:09 -06:00
nm-setting-ip4-config.h introspection: add GObject introspection support (bgo #637032) 2011-01-21 14:46:09 -06:00
nm-setting-ip6-config.c introspection: add GObject introspection support (bgo #637032) 2011-01-21 14:46:09 -06:00
nm-setting-ip6-config.h introspection: add GObject introspection support (bgo #637032) 2011-01-21 14:46:09 -06:00
nm-setting-olpc-mesh.c misc: license fixups 2010-01-21 15:11:50 -08:00
nm-setting-olpc-mesh.h misc: license fixups 2010-01-21 15:11:50 -08:00
nm-setting-ppp.c doc: document ppp setting properties 2009-11-11 14:06:48 -08:00
nm-setting-ppp.h libnm-util: add class padding for future expansion 2009-09-30 09:21:32 -07:00
nm-setting-pppoe.c libnm-util: update CDMA, GSM, and PPPoE settings for NOT_REQUIRED secrets 2011-02-07 19:16:54 -06:00
nm-setting-pppoe.h libnm-util: add secret flags for each secret describing how the secret is stored 2011-01-29 13:34:24 -06:00
nm-setting-private.h libnm-util: add NM_SETTING_SECRET_FLAG_NOT_REQUIRED 2011-02-07 13:50:40 -06:00
nm-setting-serial.c libnm-util: better error message about missing PPP setting 2010-05-26 00:32:05 -07:00
nm-setting-serial.h libnm-util: add class padding for future expansion 2009-09-30 09:21:32 -07:00
nm-setting-template.c 2008-10-27 Dan Williams <dcbw@redhat.com> 2008-10-27 17:36:18 +00:00
nm-setting-template.h libnm-util: add class padding for future expansion 2009-09-30 09:21:32 -07:00
nm-setting-vpn.c libnm-util: fix VPN update_one_secret() 2011-02-08 20:12:55 -06:00
nm-setting-vpn.h libnm-util: add generic functions for getting/setting secret flags 2011-01-31 12:41:54 -06:00
nm-setting-wimax.c libnm-util: WiMAX setting requires a non-zero-length NSP name 2011-01-12 15:54:56 -06:00
nm-setting-wimax.h wimax: Implement WiMAX support 2009-12-18 15:41:27 +02:00
nm-setting-wired.c doc: trivial fix in documentation of 's390-subchannels' property 2010-08-06 11:36:11 +02:00
nm-setting-wired.h core: handle s390 options more cleanly 2010-06-29 00:37:14 -07:00
nm-setting-wireless-security.c libnm-util: NM_SETTING_SECRET_FLAG_SYSTEM_OWNED -> NM_SETTING_SECRET_FLAG_NONE 2011-02-06 23:37:39 -06:00
nm-setting-wireless-security.h libnm-util: add secret flags for each secret describing how the secret is stored 2011-01-29 13:34:24 -06:00
nm-setting-wireless.c libnm-util: add defines for wifi modes 2011-01-09 02:00:29 -06:00
nm-setting-wireless.h libnm-util: add defines for wifi modes 2011-01-09 02:00:29 -06:00
nm-setting.c libnm-util: don't return empty hashes from nm_setting_to_hash() 2011-02-07 13:44:28 -06:00
nm-setting.h libnm-util: add NM_SETTING_SECRET_FLAG_NOT_REQUIRED 2011-02-07 13:50:40 -06:00
nm-utils-private.h 2008-11-20 Dan Williams <dcbw@redhat.com> 2008-11-20 20:22:14 +00:00
nm-utils.c introspection: add GObject introspection support (bgo #637032) 2011-01-21 14:46:09 -06:00
nm-utils.h libnm-util: add nm_utils_wifi_* functions to handle frequencies/channels 2010-05-31 15:32:13 +02:00