We've been looking at the python-keyring project in order to use it as
part of the Linux desktopcouch system -- at the moment, desktopcouch, a
per-user database, stores its authentication keys in gnome-keyring, and
we'd like to not depend on gnome-keyring but instead be cross-platform,
and python-keyring is obviously ideal for this!
However, gnome-keyring can store a little more data than python-keyring
can, obviously because python-keyring deliberately has a simpler API so
that it can be cross-platform. What we're thinking about is allowing
python-keyring functions to take an extra optional parameter which would
be used to "fill in" some of the missing richness of the gnome-keyring
API, so if my application is using python-keyring then I can pass my
"extra data" when creating or retrieving keys: on systems where extra
data is supported (like gnome-keyring) that extra data can be used to
store more information about the saved keys, and on systems where extra
data is not supported, the optional parameter is ignored.
Have you already thought of work in this direction? Perhaps you've
already made a start on it. If not, do you have suggestions about how
you think it ought to work, and how the API should look?
Stuart
--
You received this message because you are subscribed to the Google Groups "Desktop CouchDB" group.
To post to this group, send email to desktop...@googlegroups.com.
To unsubscribe from this group, send email to desktop-couch...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/desktop-couchdb?hl=en.
Definitely! (And cool that you're having some success with the Windows
port :))
Manuel, I don't know if you caught yesterday's discussion about
python-keyring: thomasvs has a branch
(https://code.edge.launchpad.net/~thomasvs/desktopcouch/0.5-keyring)
which moves towards it. There was lots of discussion about this branch
(so it won't be taken precisely as it stands): see
http://irclogs.ubuntu.com/2010/01/05/%23ubuntuone.html#t17:15 for that
discussion, and any thoughts you have would also obviously be useful!
sil