What is the gnome keyring api for PyGi?

Anyone where I can find the gnome keyring api in PyGi?

I used:

import gnomekeyring

Now I want to use the new python / gobject introspection, so this would be something like:

from gi.repository import GnomeKeyring

But I can not find the module to load. Does anyone know if / how can I access the Gnome Keyring API with gobject python introspection?

+3
source share
2 answers

To access the secret service (gnome-keyring), you must use libsecret (a new library replacing libgnome-keyring)

It has built-in support for Gobject Introspection support, so this should work:

from gi.repository import Secret
+4
source

PyGI , - API. , - PyGI, C Gnome Development Reference C gnome-keyring. , gnomekeyring.

0

All Articles