mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 23:20:34 +01:00
nm_connection_replace_settings() replaces the connection's settings but doesn't allow interception of the new settings. Plugins would then send out the update signal, but secrets are scrubbed out of them to ensure secrets aren't leaked out into D-Bus signals. With NM 0.8 the system settings service was integrated into NM and thus nm_connection_clear_secrets() acts directly on the system settings plugins' NMConnection objects. So when NM cleared secrets (for example after determining that they might be bad in a device's stage2 handler), we completely lost the secrets forever. Adding this function allows the system settings service to hook into the connection updates when the plugin connection's backing storage (like config files or whatever) changes and cache the secrets for use in NMSettingsConnectionInterface get_secrets() requestes. |
||
|---|---|---|
| .. | ||
| ifcfg-rh | ||
| ifcfg-suse | ||
| ifupdown | ||
| keyfile | ||
| Makefile.am | ||