[Authentication] Launching the secret service
Michael Leupold
lemma at confuego.org
Sun Jan 30 11:37:20 PST 2011
Hi there,
Michael Leupold wrote:
> Am 04.12.2010 19:07, schrieb Stef Walter:
>> On 2010-09-25 14:56, Michael Leupold wrote:
>>> I figured we haven't actually talked about how a user's desktop decides
>>> which implementation of the secret service to launch and how it is
>>> actually launched.
>>>
>>> As to which daemon is launched we could integrate with xdg-utils by
>>> creating an xdg-secret-service script which launches the daemon
>>> configured by the user.
>>>
>>> Regarding the how D-Bus activation seems to be the way to go. It seems
>>> gnome- keyring already uses that approach. Does it work alright like
>>> that?
>>
>> Yes, I think it works well. In most cases the service is already up and
>> running from when the user logs in. But if the service is not running
>> then DBus activation is used to start it.
>>
>> I think that beyond DBus activation we don't really need to specify
>> anything else in the spec, although service implementations should be
>> free to startup in another way (beforehand) if necessary.
>
> I still think we should talk about how to coordinate which service is
> started if several (gnome-keyring and ksecretserviced) are installed as
> elsewise the daemons will both try to install their own version of a
> service activation file.
Sorry to bug about this again, but as ksecretserviced is supposed to be
released with our next major release we should really find a solution to
this problem. I don't like to be fried by packagers :-)
Regards
Michael
More information about the Authentication
mailing list