Re: Retrieving 'secret' setting

On 06 September 2017 at 11:14 Thomas Haller <thaller redhat com> wrote:

On Wed, 2017-09-06 at 10:20 +0100, colin helliwell ln-systems com

I'm python-scripting to get a connection's gsm properties, and want
to get
the password - which "c.for_each_setting_value(print_values, None)"
seems to
not report (just "None").
What would be the technique to get it?


on D-Bus, secrets are exposed separately from regular properties of the

GetSettings() vs GetSecrets() in

Anyway, from libnm (and python gi) you would call

secrets = remote_connection.get_secrets('ethernet')

Great, got that. Now, don't suppose you could help me get to grips with parsing the Glib.Variant....? ;)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]