python-gnomekeyring cannot display technical properties of keys

Bug #1144781 reported by Redsandro
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-python-desktop (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

With python-gnomekeyring you can get the "name" and the "secret" of a key.

But when you add LUKS passwords that are remembered forever in the gvfs-mount dialog for two or more identical harddrives (or other storage media I presume), there is a problem getting the secret manually.

GnomeKeyringItemInfo at 0x1960d70
Name: Encryption passphrase for Seagate ST31000333AS (1.0 TB Hard Disk)
Secret: Password001

GnomeKeyringItemInfo at 0x18cf3c0
Name: Encryption passphrase for Seagate ST31000333AS (1.0 TB Hard Disk)
Secret: Password002

Searching by name has multiple results, so you can no longer loop to find the related name. In this case you would want to get the details. If you check the Details-tab in Seahorse (AKA "Passwords and Keys" dialog), you'll see exactly what you need:
gvfs-luks-uuid: 5cf35067-5fd0-4a0f-a240-3b4725975ec9
gvfs-luks-uuid: 7fe09d7a-a68b-4776-a78d-df0ef4412e14

But how does Seahorse know this? I cannot get this from GnomeKeyringItemInfo items.

Redsandro (redsandro)
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-python-desktop (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.