Chromium Code Reviews
DescriptionAdd a dummy entry with libsecret when initializing OSCrypt.
Under certain conditions, gnome libsecret methods that perform a lookup
in keyring may ignore a locked keyring and return empty results, instead
of unlocking said keyring. Store operations are unaffected by this quirk
(or bug, presumably).
With this change, we store a dummy entry during the initialisation of
OSCrypt. This ensures that the default keyring gets unlocked and is
available for future reads.
This solution is also applied to Password Manager, before performing
calls to secret_service_search_sync.
This solution should be temporary, until the underlying issue gets fixed
or there is an official workaround.
BUG=660005, 631171
Review-Url: https://codereview.chromium.org/2461453002
Cr-Commit-Position: refs/heads/master@{#428378}
NOTRY=true
NOPRESUBMIT=true
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 10 (6 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||