NetworkManager/libnm-util
Dan Williams 2b2404bbef settings: preserve agent secrets the right way
What we want to do here is keep separate caches of system and
agent secrets.  For system secrets, we cache them because NM
periodically clears secrets using nm_connection_clear_secrets() to
ensure they don't stay around in memory, and that transient secrets
get requested again when they are needed.  For agent secrets, we
only want them during activation, but a connection read from disk
will not include agent secrets becuase by definition they aren't
stored in system settings along with the connection.  Thus we need
to keep the agent/transient secrets somewhere for the duration of
the activation to ensure they don't get deleted.

This removes the copy-back hack in update_auth_cb() which copied
agent/transient secrets back into the connection over top of the
transient secrets that had been copied back in
nm_settings_connection_replace_settings().  No reason to copy
them twice if we keep an agent/transient secrets hash and do
the right thing with it.
2011-08-16 16:19:23 -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 settings: preserve agent secrets the right way 2011-08-16 16:19:23 -05:00
Makefile.am settings: preserve agent secrets the right way 2011-08-16 16:19:23 -05:00
nm-connection.c settings: preserve agent secrets the right way 2011-08-16 16:19:23 -05:00
nm-connection.h settings: preserve agent secrets the right way 2011-08-16 16:19:23 -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 settings: preserve agent secrets the right way 2011-08-16 16:19:23 -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 settings: preserve agent secrets the right way 2011-08-16 16:19:23 -05:00
nm-setting.h settings: preserve agent secrets the right way 2011-08-16 16:19:23 -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