[Bug 42088] Unsetting a secret password doesn't remove it from the keyring
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Aug 30 20:33:38 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=42088
--- Comment #7 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-08-30 18:33:38 UTC ---
Created attachment 66360
--> https://bugs.freedesktop.org/attachment.cgi?id=66360
_keyring_commit: perform deletions for keys in removed, not in secrets
'removed' is essentially a set of (account, key) tuples that should
be deleted. What we were doing was:
foreach account in removed
foreach key in secrets[account]
delete (account, key)
which makes little sense - if we have param-password and
param-proxy-password and we want to unset Parameters['password'],
the current implementation would delete both. This commit changes it to:
foreach account in removed
foreach key in removed[account]
delete (account, key)
which has the advantage of actually making sense.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list