On Thursday 09 June 2016 06:14:14 Hans Vanpee wrote:

[...]

> Anyway, the "Login" collection unlocks automatically and most applications
> (like Google Chrome, etc) store their passwords in this place. I did try to
> make a new collection using libsecret but it didn't work. We would need to
> password protect this collection (or leave passwords un-encrypted) so some
> GUI work would be involved. "Login" is already there and it does all the
> work for us :-)

I played with the code a little more and found that on my system "Login" 
wouldn't work. Once I fixed the check you found, dt was finally trying to 
create 
its own collection (which it probably never ever did before) and failed with 
this message:

** Message: Remote error from secret service: 
org.freedesktop.DBus.Error.NotSupported: Only the 'default' alias is supported

So right now I am not sure how to best fix this. One way would be to not create 
any collection explicitly but just use secret_service_store() and 
secret_service_lookup_sync() or maybe secret_service_search_sync () and rely 
on the library using the default locations.

Tobias

[...]

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to