mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-20 04:50:43 +02:00
settings: don't pass all secrets to agents when requesting secrets
The agent can and will get the secrets it needs itself, since it's providing secrets anyway.
This commit is contained in:
parent
570c0eb2df
commit
f9147ec369
1 changed files with 1 additions and 2 deletions
|
|
@ -187,8 +187,7 @@ nm_secret_agent_get_secrets (NMSecretAgent *self,
|
|||
|
||||
priv = NM_SECRET_AGENT_GET_PRIVATE (self);
|
||||
|
||||
/* FIXME: allow system secrets to be sent to the agent? */
|
||||
hash = nm_connection_to_hash (connection, NM_SETTING_HASH_FLAG_ALL);
|
||||
hash = nm_connection_to_hash (connection, NM_SETTING_HASH_FLAG_NO_SECRETS);
|
||||
|
||||
r = request_new (self, nm_connection_get_path (connection), setting_name, callback, callback_data);
|
||||
r->call = dbus_g_proxy_begin_call_with_timeout (priv->proxy,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue