Re: Retrieving 'secret' setting

2017-09-08 Thread Colin Helliwell
> On 07 September 2017 at 17:13 Colin Helliwell > wrote: > > > On 07 September 2017 at 16:37 Dan Williams wrote: > > .. > > client = NM.Client.new(None) > > c = > > client.get_connection_by_uuid(sys.argv[1]) > > secrets = > > c.get_secrets(NM.SETTING_WIRELESS_SECURITY_SETTING_NAME) > > > > #

Re: Retrieving 'secret' setting

2017-09-07 Thread Dan Williams
On Thu, 2017-09-07 at 18:24 +0100, Colin Helliwell wrote: > > On 07 September 2017 at 16:37 Dan Williams wrote: > > > > On Thu, 2017-09-07 at 09:31 +0100, Colin Helliwell wrote: > > > > .. > > > Thanks Dan, that gets it. > > > Now I'm struggling to *modify* the password :S I see that I > >

Re: Retrieving 'secret' setting

2017-09-07 Thread Colin Helliwell
> On 07 September 2017 at 16:37 Dan Williams wrote: > > On Thu, 2017-09-07 at 09:31 +0100, Colin Helliwell wrote: > .. > > Thanks Dan, that gets it. > > Now I'm struggling to *modify* the password :S I see that I can > > do a > > settings.set_property(NM.SETTING_GSM_PASSWORD, "NewPw") > >

Re: Retrieving 'secret' setting

2017-09-07 Thread Colin Helliwell
> On 07 September 2017 at 16:37 Dan Williams wrote: > > On Thu, 2017-09-07 at 09:31 +0100, Colin Helliwell wrote: > > > > On 06 September 2017 at 17:18 Dan Williams wrote: > > > > > > On Wed, 2017-09-06 at 12:51 +0100, Colin Helliwell wrote: > > > > > > > > On 06 September 2017 at 11:14 Thom

Re: Retrieving 'secret' setting

2017-09-07 Thread Dan Williams
On Thu, 2017-09-07 at 09:31 +0100, Colin Helliwell wrote: > > On 06 September 2017 at 17:18 Dan Williams wrote: > > > > On Wed, 2017-09-06 at 12:51 +0100, Colin Helliwell wrote: > > > > > > On 06 September 2017 at 11:14 Thomas Haller > > > > > > > > wrote: > > > > > > > > On Wed, 2017-09-06 at

Re: Retrieving 'secret' setting

2017-09-07 Thread Colin Helliwell
> On 06 September 2017 at 17:18 Dan Williams wrote: > > On Wed, 2017-09-06 at 12:51 +0100, Colin Helliwell wrote: > > > > On 06 September 2017 at 11:14 Thomas Haller > > > wrote: > > > > > > On Wed, 2017-09-06 at 10:20 +0100, colin.helliw...@ln-systems.com > > > wrote: > > > > > > > I'm pyth

Re: Retrieving 'secret' setting

2017-09-06 Thread Dan Williams
On Wed, 2017-09-06 at 12:51 +0100, Colin Helliwell wrote: > > On 06 September 2017 at 11:14 Thomas Haller > > wrote: > > > > On Wed, 2017-09-06 at 10:20 +0100, colin.helliw...@ln-systems.com > > wrote: > > > > > I'm python-scripting to get a connection's gsm properties, and > > > want > > > to g

Re: Retrieving 'secret' setting

2017-09-06 Thread Thomas Haller
On Wed, 2017-09-06 at 12:51 +0100, Colin Helliwell wrote: > > On 06 September 2017 at 11:14 Thomas Haller > > wrote: > > > > On Wed, 2017-09-06 at 10:20 +0100, colin.helliw...@ln-systems.com > > wrote: > > > > > I'm python-scripting to get a connection's gsm properties, and > > > want > > > to g

Re: Retrieving 'secret' setting

2017-09-06 Thread Colin Helliwell
> On 06 September 2017 at 11:14 Thomas Haller wrote: > > On Wed, 2017-09-06 at 10:20 +0100, colin.helliw...@ln-systems.com > wrote: > > > 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)" > > se

Re: Retrieving 'secret' setting

2017-09-06 Thread Thomas Haller
On Wed, 2017-09-06 at 10:20 +0100, colin.helliw...@ln-systems.com wrote: > 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 i

Retrieving 'secret' setting

2017-09-06 Thread colin.helliwell
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? Thanks ___ networkmanager-list maili