gnome-keyring Getting default keyring name



Hi all,
  I'm running into a problem in getting the default keyring name. I'm
using Ubuntu 11.10, which ships GNOME keyring 3.2.1.

The gnome_keyring_get_default_keyring_sync() function returns a NULL
string for the keyring (and no error).

But when I store some passwords and specify NULL as the keyring to be
used, they end up into the "login" keyring. This is a problem, because
when I want to find them back, I compare the "keyring" field from the
GnomeKeyringFound structure (which is "login") with the name of the
keyring I'm using (NULL) and they don't match.

I would expect the gnome_keyring_get_default_keyring_sync() to return me
"login", then.

To me this sounds like a bug, but I'd like to ask for some more
competent opinion before filing one. :-)

Ciao,
  Alberto

-- 
http://blog.mardy.it <- geek in un lingua international!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]