On Fri, Apr 9, 2010 at 8:00 AM, Dan Williams <[email protected]> wrote: > On Thu, 2010-04-08 at 17:15 +0800, Mu Qiao wrote: >> On Thu, Apr 8, 2010 at 4:49 PM, Simon Geard <[email protected]> wrote: >> > On Thu, 2010-04-08 at 16:38 +0800, Mu Qiao wrote: >> >> One more thing. I find that NetworkManager uses gnome keyring to store >> >> keys. But I didn't find any code doing that. Could you please give me >> >> some directions? >> > >> > NetworkManager doesn't use the gnome keyring itself - the Gnome >> > network-manager-applet does. >> > >> > Simon. >> > >> > _______________________________________________ >> > networkmanager-list mailing list >> > [email protected] >> > http://mail.gnome.org/mailman/listinfo/networkmanager-list >> > >> > >> >> Thanks, great help. >> No wonder I just find keyring code in nm-applet. :) >> Can I say the plug-in should not worry about security information >> since nm-applet will handle it? > > You still need to worry about security information for your plugin if > you're doing a full implementation. The applet stores /user/ settings, > which are specific to that user, while your plugin stores system-wide > settings that are available to all uses. > > However, as long as your plugin returns an error when it's asked to save > a connection that it doesn't support, and as long as you have the > 'keyfile' plugin enabled, then NM falls back to the keyfile plugin. > > In /etc/NetworkManager/NetworkManager.conf (or nm-system-settings.conf), > use: > > [main] > plugins=<your plugin>,keyfile > > > to enable that behavior. > > Dan > > >
So if currently I only want to configure IP, gateway, DNS for wireless by my plug-in and ignore security information, will the security information still be handled by nm-applet and my plug-in work properly? -- Best wishes, Mu Qiao _______________________________________________ networkmanager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
