• cfroussios's avatar
    Unlock all libsecret items in Password Manager and OSCrypt · 51e9b147
    cfroussios authored
    The various libsecret methods have different contracts w.r.t. unlocking
    keyring items. Of the currently used methods, only secret_service_store
    will trigger unlocking as necessary. As a result, operations fail in
    various ways until someone performs the first store operation.
    
    With the CL, the libsecret native backend of Password Manager is set to explicitly
    request unlocking of items on every call. OSCrypt avoids using
    secret_service_lookup, which apparently ignores locked items.
    
    BUG=657828,631171
    
    Review-Url: https://codereview.chromium.org/2441653002
    Cr-Commit-Position: refs/heads/master@{#427067}
    51e9b147
key_storage_libsecret_unittest.cc 8.12 KB