Jordi Ivars wrote:
Hi all.
I'm working with an application written in pygtk and glade and I need to save a user and password pair and I like to use gnome-keyring. Anyone knows how can I save or send a password to gnome-keyring to store in it or a method to do it? Or documentation to read about it:)?
It's currently not possible, since you do not have access to the libgnome-keyring library which is necessary for you to use to interact with the keyring daemon.
There are two possible ways of solving this, so python applications can access the keyrings:
1) Write C bindings for the library 2) Reimplement the library in python
1 is very painful and requires a lot of PythonC knowledge.
2 is possible since the library communicates with the daemon through a socket, so if you chose this you need to dig into the gnome-keyring sources and do exactly as it does.
Johan _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
