desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #81761
[Bug 1144781] Re: python-gnomekeyring cannot display technical properties of keys
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: gnome-python-desktop (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-python-desktop in Ubuntu.
https://bugs.launchpad.net/bugs/1144781
Title:
python-gnomekeyring cannot display technical properties of keys
Status in “gnome-python-desktop” package in Ubuntu:
Confirmed
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-python-desktop/+bug/1144781/+subscriptions