NetworkManager/libnm-util
Dan Williams e2d88f59e6 settings: preserve agent secrets over Update operation
The core problem was that the Update would trigger a write to
disk to save the connection's new settings, which called
nm_settings_connection_replace_settings().  Which saved existing
transient (agent/unsaved) secrets, replaced settings with the
new ones from Update(), then copied back the old transient
secrets.  This was to ensure that changes triggered from getting
agent secrets during activation (which might write the connection
out to disk if new system secrets were provided, which triggered
an inotify read-back of the connection, which blew away the
transient secrets just returned from the agent) didn't blow away
transient secrets.  Unfortunately that fix was too general.

As a quick hack for now, copy the new secrets and re-apply them
after nm_connection_replace_settings() has run.  We'll do the
actual fix later, but it's more involved and needs more testing
so we don't want to apply it this close to release.
2011-08-16 15:48:38 -05:00
..
tests settings: preserve agent secrets over Update operation 2011-08-16 15:48:38 -05:00
COPYING doc: fix FSF address (bgo #575625) 2009-09-10 21:03:30 -04:00
crypto.c libnm-util: recognize PKCS#8 private keys and check passwords (bgo #649326) 2011-05-13 14:22:06 -05:00
crypto.h libnm-util: recognize PKCS#8 private keys and check passwords (bgo #649326) 2011-05-13 14:22:06 -05:00
crypto_gnutls.c libnm-util: recognize PKCS#8 private keys and check passwords (bgo #649326) 2011-05-13 14:22:06 -05:00
crypto_nss.c libnm-util: recognize PKCS#8 private keys and check passwords (bgo #649326) 2011-05-13 14:22:06 -05:00
libnm-util.pc.in build: pkg-config file fixes 2010-01-20 16:53:04 -08:00
libnm-util.ver core: add MAC address blacklisting feature for WiFi and ethernet connections 2011-06-30 16:46:26 +02:00
Makefile.am libnm-util: test symbol exports against .ver file 2011-03-21 13:36:43 -05:00
nm-connection.c settings: preserve agent secrets over Update operation 2011-08-16 15:48:38 -05:00
nm-connection.h settings: preserve agent secrets over Update operation 2011-08-16 15:48:38 -05:00
nm-param-spec-specialized.c libnm-util: rename symbol to fix export check 2011-07-19 09:56:46 -05: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: more 802.1x setting documentation updates 2011-07-02 15:47:15 -05:00
nm-setting-8021x.h libnm-util: update 802.1x setting documentation 2011-07-02 15:38:41 -05:00
nm-setting-bluetooth.c libnm-util: add some missing GObject introspection annotations 2011-07-19 11:14:01 -05:00
nm-setting-bluetooth.h docs: document Bluetooth setting more fully 2011-07-05 14:18:55 -05:00
nm-setting-cdma.c core: don't require serial and PPP settings for mobile broadband 2011-02-25 11:24:20 -06:00
nm-setting-cdma.h docs: update CDMA setting documentation 2011-07-05 18:11:35 -05:00
nm-setting-connection.c libnm-util: add new compare flags for ignoring various types of secrets 2011-06-07 18:22:48 -05: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 docs: update GSM setting documentation 2011-07-05 14:19:54 -05:00
nm-setting-gsm.h docs: update GSM setting documentation 2011-07-05 14:19:54 -05:00
nm-setting-ip4-config.c libnm-util: enforce IPv4 prefix range validity 2011-07-05 19:26:57 -05:00
nm-setting-ip4-config.h docs: document the IP4Config setting 2011-07-05 15:25:08 -05:00
nm-setting-ip6-config.c libnm-util: default to allowing IPv6 connections to fail 2011-07-20 23:56:48 -05:00
nm-setting-ip6-config.h docs: document the IP6Config setting 2011-07-05 19:27:46 -05: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 docs: document PPP setting 2011-07-19 11:34:11 -05:00
nm-setting-ppp.h docs: document PPP setting 2011-07-19 11:34:11 -05:00
nm-setting-pppoe.c libnm-util: add some missing GObject introspection annotations 2011-07-19 11:14:01 -05:00
nm-setting-pppoe.h docs: document the PPPoE setting 2011-07-19 11:08:38 -05: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 docs: update Serial setting documentation 2011-07-05 18:17:08 -05:00
nm-setting-serial.h docs: update Serial setting documentation 2011-07-05 18:17:08 -05: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 docs: update VPN setting 'user-name' property documentation 2011-08-12 10:23:25 -05:00
nm-setting-vpn.h docs: another trivial doc fix 2011-07-19 12:27:44 -05:00
nm-setting-wimax.c libnm-util: update WiMAX setting documentation 2011-07-02 15:38:27 -05:00
nm-setting-wimax.h libnm-util: update WiMAX setting documentation 2011-07-02 15:38:27 -05:00
nm-setting-wired.c libnm-util: fix up some GObject introspection annotations 2011-07-05 17:34:48 -05:00
nm-setting-wired.h docs: update Wired setting documentation 2011-07-05 16:54:07 -05:00
nm-setting-wireless-security.c docs: fix some Wireless Security setting documentation 2011-07-05 18:13:51 -05:00
nm-setting-wireless-security.h docs: update Wireless Security setting documentation 2011-07-05 18:09:14 -05:00
nm-setting-wireless.c libnm-util: fix up some GObject introspection annotations 2011-07-05 17:34:48 -05:00
nm-setting-wireless.h docs: update Wireless setting documentation 2011-07-05 17:09:00 -05:00
nm-setting.c libnm-util: add new compare flags for ignoring various types of secrets 2011-06-07 18:22:48 -05:00
nm-setting.h docs: update Setting object documentation 2011-07-05 14:26:52 -05:00
nm-utils-private.h 2008-11-20 Dan Williams <dcbw@redhat.com> 2008-11-20 20:22:14 +00:00
nm-utils.c libnm-util: fix symbol export checks to catch un-exported ones too 2011-05-05 12:26:17 -05:00
nm-utils.h trivial: put all prototypes inside G_BEGIN_DECLS and G_END_DECLS 2011-05-31 14:06:13 +02:00