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

Issue 1089233002: Fix KeychainItemForForm so that it understands not to specify a path in case of Android credentials (Closed)

Created:
5 years, 8 months ago by engedy
Modified:
5 years, 8 months ago
Reviewers:
Mike West, dconnelly
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix KeychainItemForForm so that it understands not to specify a path when looking for Keychain items corresponding to Android credentials. While other code in PasswordStoreMac omitted the path before storing the Keychain item, KeychainItemForForm derived an erroneous path for an Android credential as well, and insisted to retrieve only Keychain items having that path -- yielding no matches. This has led to deleting and updating existing passwords not working. BUG=476851 Committed: https://crrev.com/fe788235016d6087f6bcce24f7cab9147154e751 Cr-Commit-Position: refs/heads/master@{#325449}

Patch Set 1 : Bug reproduction with expected test failures. #

Patch Set 2 : Enabled fix. #

Patch Set 3 : Fixed tests and one more issue in implementation. #

Patch Set 4 : Add TODO. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -6 lines) Patch
M chrome/browser/password_manager/password_store_mac.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_mac_unittest.cc View 1 2 3 8 chunks +43 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
engedy
@Daniel, please take a look. Caveat: MockAppleKeychain::AddInternetPassword() does not normally care if newly added element ...
5 years, 8 months ago (2015-04-16 14:54:22 UTC) #2
dconnelly
lgtm
5 years, 8 months ago (2015-04-16 15:07:11 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1089233002/60001
5 years, 8 months ago (2015-04-16 15:17:08 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/56826)
5 years, 8 months ago (2015-04-16 15:25:46 UTC) #7
engedy
@Mike, could you please review for OWNER's approval?
5 years, 8 months ago (2015-04-16 15:27:29 UTC) #9
Mike West
lgtm
5 years, 8 months ago (2015-04-16 15:39:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1089233002/60001
5 years, 8 months ago (2015-04-16 15:39:54 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-16 15:59:54 UTC) #13
commit-bot: I haz the power
5 years, 8 months ago (2015-04-16 16:01:02 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fe788235016d6087f6bcce24f7cab9147154e751
Cr-Commit-Position: refs/heads/master@{#325449}

Powered by Google App Engine
This is Rietveld 408576698