[Gambas-user] IDE Connection Editor password save anomaly (was Re: Extracting fields from a Result)

Doug Hutcheson owlbrudder at gmail.com
Thu Jan 4 02:52:56 CET 2018



On Wed, 2018-01-03 at 20:38 -0500, T Lee Davidson wrote:
> On 01/03/2018 07:40 PM, Doug Hutcheson wrote:
> > > Given that, I would have to assume that the runtime is looking in
> > > the '.connection' Settings file in the project source
> > > directory for the password. And, it's not there.
> > 
> > Perhaps it is sending an invalid request to secret-tool (the Gnome
> > variant). I have tried a couple of times to extract the key
> > from the command line using secret-tool and the result is a null
> > value, exactly what we are seeing when trying to make a
> > connection. We may be onto something here!
> 
> Doug, I'm not referring to a Desktop keyring. I'm referring to the
> Settings[0] file created by the Connection Editor when the
> "OK" button is clicked. It is found in the project's directory in the
> hidden directory, ".connection". In my case, it is named,
> "Connection1.connection" and is just a text file with the connection
> parameters -- minus the password.
> 
You are correct, Lee, the password is not being stored there. I was
leaping one step further and trying to decipher the alternative method
of using the keyring - sorry for the confusion. My few attempts to get
the password from the keyring were failures and I was just wondering if
a malformed request to the keyring is returning null. In the meantime,
I used Seahorse to browse my keyring and now it is not showing most of
my keys any more. Aaaargh! (Slaps forehead).

We will get to the bottom of this, but might need some help.

Kind regards,
Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180104/ea81be83/attachment.html>


More information about the User mailing list