gnome-keyring Error using a newly created keyring



Hi, I'm having another issue :-)

I'm calling gnome_keyring_create_sync() to create a new keyring named
"signon-test". The call succeeds (no error code).
But then, all methods on the newly created keyring return error 4 ("No
such keyring"). Am I missing something?

I'm attaching the D-Bus logs; here the function I'm calling right after
the keyring has been created is gnome_keyring_unlock_sync().
It seems that the client library is not using the correct object path.
Is it a bug?

Ciao,
  Alberto

-- 
http://blog.mardy.it <- geek in un lingua international!
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=28 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.183"
   string ""
   string ":1.183"
method call sender=:1.183 -> dest=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method call sender=:1.183 -> dest=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='org.gnome.secrets.Prompt',member='Completed'"
method call sender=:1.183 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',member='NameOwnerChanged',interface='org.freedesktop.DBus'"
method call sender=:1.183 -> dest=org.freedesktop.secrets serial=4 path=/org/freedesktop/secrets/collection/signon_2dtest; interface=org.freedesktop.DBus.Properties; member=Get
   string "org.freedesktop.Secret.Collection"
   string "Label"
method call sender=:1.6 -> dest=org.freedesktop.DBus serial=1054 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetConnectionUnixProcessID
   string ":1.183"
error sender=:1.6 -> dest=:1.183 error_name=org.freedesktop.Secret.Error.NoSuchObject reply_serial=4
   string "The '/org/freedesktop/secrets/collection/signon_2dtest' object does not exist"
method call sender=:1.183 -> dest=org.freedesktop.secrets serial=5 path=/org/freedesktop/secrets; interface=org.freedesktop.Secret.Service; member=OpenSession
   string "dh-ietf1024-sha256-aes128-cbc-pkcs7"
   variant       array of bytes [
         7e 71 32 e5 66 c4 4b b8 f3 13 c3 06 31 cf d3 a0 a4 f7 3a bd d0 a8 11
         be f0 04 aa 70 7d 62 6a 7e d5 0b 2d 75 7e 97 b8 22 a7 1d ea 8a f7 54
         1e 38 dc ab 1a 51 18 88 7c 43 e0 55 52 a2 df ae 78 40 3d d8 d7 2e 2d
         eb 0d a7 67 9f 18 1d 7e d2 2a 84 ff d6 b5 0d 97 c4 84 8f 67 71 01 c5
         af 2f 0c e2 15 91 39 5d 38 c9 23 8f 80 96 0e 6b cd 2f b0 2c 56 95 41
         df 3b 35 2a a0 67 f2 14 e3 7c 47 5e bf
      ]
method return sender=:1.6 -> dest=:1.183 reply_serial=5
   variant       array of bytes [
         43 1b cd 86 4d c3 2b 63 d6 9f 41 e8 cf 13 d5 c0 ac ab 18 bc c1 1f 7d
         dd c0 95 c2 5d 66 ac c9 a9 03 e8 b3 c1 18 9b e5 d6 d8 74 4e c5 6f 27
         97 d7 2d 7c a5 23 0c 7c 75 36 2a ba ce f7 37 b5 09 c6 3f 1a 20 73 75
         f5 4a f3 25 0d 46 fe 5b 0f 31 fd f7 20 60 eb 6f 17 ff 49 cd 6e 2e bc
         00 e9 1e f6 c8 88 5a 86 31 fc 35 55 8c 08 05 52 a6 fa a5 77 9c 64 5e
         54 6b 22 65 ae ad b2 d5 9e 44 bb 48 18
      ]
   object path "/org/freedesktop/secrets/session/s31"
method call sender=:1.183 -> dest=org.freedesktop.secrets serial=6 path=/org/freedesktop/secrets; interface=org.gnome.keyring.InternalUnsupportedGuiltRiddenInterface; member=CreateWithMasterPassword
   array [
      dict entry(
         string "org.freedesktop.Secret.Collection.Label"
         variant             string "signon-test"
      )
   ]
   struct {
      object path "/org/freedesktop/secrets/session/s31"
      array of bytes [
         ef bb be 31 5f 0d 71 ab c0 d4 81 5b 6c 40 c5 80
      ]
      array of bytes [
         5c fa 16 66 40 94 12 b8 39 b1 1a ad 1f 0c fd 2a
      ]
      string "text/plain; charset=utf8"
   }
method return sender=:1.6 -> dest=:1.183 reply_serial=6
   object path "/org/freedesktop/secrets/collection/signon_2dtest_5f7"
method call sender=:1.183 -> dest=org.freedesktop.secrets serial=7 path=/org/freedesktop/secrets; interface=org.gnome.keyring.InternalUnsupportedGuiltRiddenInterface; member=UnlockWithMasterPassword
   object path "/org/freedesktop/secrets/collection/signon_2dtest"
   struct {
      object path "/org/freedesktop/secrets/session/s31"
      array of bytes [
         33 12 36 4e 95 96 80 31 78 f9 39 2b 22 3d de 2a
      ]
      array of bytes [
         c0 38 33 56 81 9f ca fa 27 53 19 c3 bb 02 41 f7
      ]
      string "text/plain; charset=utf8"
   }
error sender=:1.6 -> dest=:1.183 error_name=org.freedesktop.Secret.Error.NoSuchObject reply_serial=7
   string "The collection does not exist"
method call sender=:1.183 -> dest=org.freedesktop.secrets serial=8 path=/org/freedesktop/secrets/collection/signon_2dtest; interface=org.freedesktop.Secret.Collection; member=Delete
error sender=:1.6 -> dest=:1.183 error_name=org.freedesktop.Secret.Error.NoSuchObject reply_serial=8
   string "The '/org/freedesktop/secrets/collection/signon_2dtest' object does not exist"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=29 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.183"
   string ":1.183"
   string ""


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