code: def _auto_unlock_key_position(self):
          
          found_pos = None
          default_keyring_ids = gkr.list_item_ids_sync(self.default_keyring)
          for pos in default_keyring_ids:
              item_attrs = gkr.item_get_attributes_sync(self.default_keyring, pos)
              app = 'application'
              if item_attrs.has_key(app) and item_attrs[app] == "opensesame":
                  found_pos = pos
                  break
          return found_pos
docs: Find the open sesame password in the default keyring