On Wednesday 08 June 2016 19:39:35 Hans Vanpee wrote:
> I am using darktable 2.1.0 on Fedora 23 (with Gnome) and the credentials for
> Flickr, Google+, etc are stored in the "session" collection. Each time when
> I logoff, the session credentials are cleared and I have to start all over
> connecting to these services when I logon again.
> 
> Is this behavior by design? Does it work like this on all Gnome setups? Is
> this the same on KDE/kwallet?
> 
> The default "Login" collection on Gnome is unlocked automatically when I
> login to my computer and passwords are encrypted, so it looks like a good
> candidate for storing these passwords.
> 
> When looking at the code in src/common/pwstorage/backend_libsecret.c it
> seems like darktable tries to create a "darktable" collection for storing
> passwords. This never works on my computer ("secret-tool search --all magic
> darktable" shows that all credentials are stored in the "session"
> collection).
> 
> I made a small change to backend_libsecret.c to use the "Login" collection
> and now I don't need to go through the connection procedure anymore when
> login on. If anyone is interested I can send the patch to implement this
> change.

Reading the libsecret docs I couldn't find any way to tell it to create a non-
session collection. But that seems to be in line with the rest of that 
library/system, it is hardly documented at all. It's also not obvious to me 
how to actually configure the backend used to store the secrets passed to the 
service.

So if you found a way to make the collection permanent I am interested. If 
your patch is merely renaming the collection to "Login" then we can't accept 
that patch as it wouldn't fix anything.

Tobias

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

Reply via email to