[Telepathy] GNOME/KDE: standarisation of secret schemas

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Jul 16 03:16:16 PDT 2012


Hey,

GNOME 3.6 is moving away [0] from gnome-keyring to libsecret.
libsecret is a new client for the Secret Service DBus API. The Secret
Service allows storage of passwords in a common way on the desktop.
Supported by gnome-keyring and ksecretservice.

Thanks to Stef we already have patch [1] porting Empathy to libsecret.
This may be a good time to try to standardise the secret schemas used by
Empathy and KDE-Telepathy for maximum synergy. Actually, maybe that's
something we could add to the TP spec?

Atm, Empathy stores and uses 2 secret keys:

- CM param having the secret flag: (account-id, param-name) 
- The key of password protected rooms: (account-id, room-id)

"account-id" is actually the account path, we way want to change it to a
clearer name.


We'll have to define schema names for both keys. We could use something
like "org.freedesktop.Telepathy.Account" and "
org.freedesktop.Telepathy.Room".


I have no idea how/if kde-tp is already using libsecret as well, so if
you have some info please let me know.


	G.



[0] https://live.gnome.org/GnomeGoals/LibsecretMigration
[1] https://bugzilla.gnome.org/show_bug.cgi?id=679884



More information about the telepathy mailing list