← Back to team overview

gwibber-bugs team mailing list archive

[Bug 745540] Re: Method "CreateItem" with signature "a{sv}(oayay)b" on interface "org.freedesktop.Secret.Collection" doesn't exist

 

Later on, I copied my existing login.keyring to a file named
"default,keyring".  That caused the ubuntuOne application to prompt me
to create a new keyring named default.  If I typed a password in, each
time, I would be told that a user pressed cancel on the application.
But if I allowed the keyring daemon to "create a new keyring named
default", and just hit ok with no password (and clicked "store passwords
insecurely"), It worked fine.

I'm now connected to UbuntuOne on the broken machine, but in the
passwords and keys app, I have an empty keyring named default, my old
keyring named login, and a new one named default_1 which contains my
UbuntuOne password.

Oddly, the file command shows that default_1.keyring is just ASCII text, while the login.keyring is recognized as
login.keyring:        GNOME keyring, major version 0, minor version 0, crypto type 0 (AEL), hash type 0 (MD5), name "login", last modified Mon Dec 14 08:11:29 2009, created Mon Dec 14 08:11:29 2009, not locked if idle, hash iterations 1653, salt 3211078258452735141, 6 item(s)

So, I went in and changed the password on default_1 - the new keyring
created when I started up UbuntuOne.  I could still run u1sdtool -q /
-c, and it would reconnect fine.  Then I shut down UbuntuOne, deleted
the UbuntuOne password from default_1, and ran u1sdtool -c.  It opened
up the login prompt as it should, and went ahead and logged in.  It
created a new entry (ID #2, even though #1 was deleted) in the default_1
keyring.

So, this seems to be a collection of keyring failures:
 1) creating a new-format keyring with a password always returns failure (probably because it defaults to not being unlocked?)
 2) whatever call UbuntuOne is using, it can't seem to add entries to the old format keyring
  2a) the password and keys app can happily add and remove passwords from both the new and old-format keyrings

The full workaround for UbuntuOne appears to be
  1) move old keyring file out of the way
  2) allow UbuntuOne to create a new keyring with an empty password
  3) move the old keyrinng back into the keyrings directory
  4) start up Passwords and Keys and set an actual password on the new keyring

-- 
You received this bug notification because you are a member of Gwibber
Bug Heros, which is subscribed to Gwibber.
https://bugs.launchpad.net/bugs/745540

Title:
  Method "CreateItem" with signature "a{sv}(oayay)b" on interface
  "org.freedesktop.Secret.Collection" doesn't exist

Status in Gwibber:
  Invalid
Status in Ubuntu Single Sign On Client:
  Fix Released
Status in “libgnome-keyring” package in Ubuntu:
  Fix Released
Status in “python-launchpadlib” package in Ubuntu:
  Invalid
Status in “ubuntu-sso-client” package in Ubuntu:
  Fix Released
Status in “ubuntuone-client” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: python-launchpadlib

  Hi,

  With gnome-keyring from gnome3 ppa (2.91.93) I get the following
  traceback when trying to use requestsync --lp

  The authorization page:
   (URL)
  should be opening in your browser. Use your browser to authorize
  this program to access Launchpad on your behalf. 

  Waiting to hear from Launchpad about your decision...
  ** Message: secret service operation failed: Method "CreateItem" with signature "a{sv}(oayay)b" on interface "org.freedesktop.Secret.Collection" doesn't exist

  Traceback (most recent call last):
    File "/usr/bin/requestsync", line 328, in <module>
      main()
    File "/usr/bin/requestsync", line 148, in main
      Launchpad.login(service=options.lpinstance)
    File "/usr/lib/python2.7/dist-packages/ubuntutools/lp/lpapicache.py", line 61, in login
      version=api_version)
    File "/usr/lib/pymodules/python2.7/launchpadlib/launchpad.py", line 538, in login_with
      credential_save_failed, version)
    File "/usr/lib/pymodules/python2.7/launchpadlib/launchpad.py", line 345, in _authorize_token_and_login
      credentials = authorization_engine(credentials, credential_store)
    File "/usr/lib/pymodules/python2.7/launchpadlib/credentials.py", line 465, in __call__
      credential_store.save(credentials, self.unique_consumer_id)
    File "/usr/lib/pymodules/python2.7/launchpadlib/credentials.py", line 244, in save
      raise e
  gnomekeyring.IOError

  
  I also get the same error when trying to add an account for ubuntuone

  Related to bug #734671 ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/gwibber/+bug/745540/+subscriptions