Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Issue 2463263002: Unlock all libsecret items in Password Manager and OSCrypt (Closed)

Created:
4 years, 1 month ago by Tom (Use chromium acct)
Modified:
4 years, 1 month ago
Reviewers:
Tom Anderson
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org, cfroussios
Target Ref:
refs/pending/branch-heads/2883
Project:
chromium
Visibility:
Public.

Description

Unlock all libsecret items in Password Manager and OSCrypt 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} NOTRY=true NOPRESUBMIT=true

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -53 lines) Patch
M chrome/browser/password_manager/native_backend_libsecret.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/native_backend_libsecret_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/os_crypt/key_storage_libsecret.cc View 4 chunks +54 lines, -7 lines 0 comments Download
M components/os_crypt/key_storage_libsecret_unittest.cc View 6 chunks +31 lines, -34 lines 0 comments Download
M components/os_crypt/libsecret_util_linux.h View 1 chunk +0 lines, -1 line 0 comments Download
M components/os_crypt/libsecret_util_linux.cc View 3 chunks +6 lines, -9 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 7 (4 generated)
Tom Anderson
lgtm from my @chromium account
4 years, 1 month ago (2016-11-01 00:02:36 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2463263002/1
4 years, 1 month ago (2016-11-01 00:04:41 UTC) #5
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 00:08:15 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1)

Powered by Google App Engine
This is Rietveld 408576698