Comment 25 for bug 745540

Revision history for this message
Alejandro J. Cura (alecu) wrote :

There have been a few changes in the keyring protocol from Gnome 2 to Gnome 3, like the change in the "Secret" structure that affects CreateItem, and the changes to the properties names as mterry says, and probably some other change that we have yet to find.

ubuntu-sso-client currently works fine with Gnome 2, but breaks with Gnome 3. We want it to support both versions, but there's no way to find out via DBus what keyring version is running other than trying one of the changed methods or properties, catching the error and retrying with the other signature.

We've started doing that each time CreateItem was called in the first branch, but a few of the other changes popped up, and it fails again. So we'll work on a different approach that will switch to the keyring 3 protocol the first time one of this errors happens, and it will use the new property names and other possible changes.