python-sdbus / python-sdbus-networkmanager

python-sdbus binds for NetworkManager
GNU Lesser General Public License v2.1
30 stars 6 forks source link

Investigate secret fields of connection settings #43

Closed igo95862 closed 1 year ago

igo95862 commented 2 years ago

For example, Wireguard field private-key is not returned from simple GetSettings call.

Instead the connection object GetSecrets method must be called with "wireguard" key.

igo95862 commented 1 year ago

Now there is secret_fields_names attribute which is a list of attribute names that are considered secret.