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

Issue 1207373002: Implement Mac Keychain migration algorithm. (Closed)

Created:
5 years, 6 months ago by vasilii
Modified:
5 years, 5 months ago
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlist_chromium.org, asvitkine+watch_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

Implement Mac Keychain migration algorithm. This code is currently not actually running, so no migration is happening yet. Design doc: https://docs.google.com/a/google.com/document/d/1A8ZG16bLuUH1u21K0GoABKz_wpz1kchXMnMlpmq_ecA/edit?usp=sharing BUG=466638 Committed: https://crrev.com/0b57b117fdabefd8584a99064822d50deea6d52a Cr-Commit-Position: refs/heads/master@{#336756}

Patch Set 1 #

Total comments: 16

Patch Set 2 : comments #

Total comments: 28

Patch Set 3 : more comments #

Total comments: 6

Patch Set 4 : Ilya's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+307 lines, -5 lines) Patch
M chrome/browser/password_manager/password_store_mac.h View 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac.cc View 1 2 3 4 chunks +116 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_mac_internal.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac_unittest.cc View 1 2 3 4 chunks +128 lines, -3 lines 0 comments Download
M crypto/mock_apple_keychain.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M crypto/mock_apple_keychain_mac.cc View 1 5 chunks +11 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
vasilii
Hi all, stuartmorgan@chromium.org: Please review changes in chrome/browser/password_manager/ rsleevi@chromium.org: Please review changes in crypto/ isherman@chromium.org: ...
5 years, 6 months ago (2015-06-25 19:20:08 UTC) #2
Ilya Sherman
I'm a little worried that users in particularly errorful states might hit these histogram code ...
5 years, 6 months ago (2015-06-25 21:46:25 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/1207373002/diff/1/chrome/browser/password_manager/password_store_mac.cc File chrome/browser/password_manager/password_store_mac.cc (right): https://codereview.chromium.org/1207373002/diff/1/chrome/browser/password_manager/password_store_mac.cc#newcode969 chrome/browser/password_manager/password_store_mac.cc:969: using namespace internal_keychain_helpers; On 2015/06/25 21:46:25, Ilya Sherman wrote: ...
5 years, 6 months ago (2015-06-26 10:46:38 UTC) #4
vasilii
The migration is performed only twice at max. Therefore, those who failed twice will magnify ...
5 years, 6 months ago (2015-06-26 12:18:48 UTC) #5
Ryan Sleevi
//crypto LGTM; some drive-by nits but *shrug* :) https://codereview.chromium.org/1207373002/diff/20001/chrome/browser/password_manager/password_store_mac.cc File chrome/browser/password_manager/password_store_mac.cc (right): https://codereview.chromium.org/1207373002/diff/20001/chrome/browser/password_manager/password_store_mac.cc#newcode975 chrome/browser/password_manager/password_store_mac.cc:975: ScopedVector<PasswordForm> ...
5 years, 6 months ago (2015-06-26 16:44:35 UTC) #6
stuartmorgan
LGTM, but please flesh out the CL description to make it clear that this code ...
5 years, 6 months ago (2015-06-26 21:26:08 UTC) #7
Ilya Sherman
https://codereview.chromium.org/1207373002/diff/20001/chrome/browser/password_manager/password_store_mac_unittest.cc File chrome/browser/password_manager/password_store_mac_unittest.cc (right): https://codereview.chromium.org/1207373002/diff/20001/chrome/browser/password_manager/password_store_mac_unittest.cc#newcode1881 chrome/browser/password_manager/password_store_mac_unittest.cc:1881: "PasswordManager.KeychainMigration.NumChromeOwnedFailedPasswords", 2, 1); How is it possible that the ...
5 years, 5 months ago (2015-06-27 05:45:34 UTC) #8
vasilii
https://codereview.chromium.org/1207373002/diff/20001/chrome/browser/password_manager/password_store_mac.cc File chrome/browser/password_manager/password_store_mac.cc (right): https://codereview.chromium.org/1207373002/diff/20001/chrome/browser/password_manager/password_store_mac.cc#newcode442 chrome/browser/password_manager/password_store_mac.cc:442: SecKeychainAttributeInfo attrInfo; On 2015/06/26 21:26:08, stuartmorgan wrote: > attr_info ...
5 years, 5 months ago (2015-06-29 14:12:45 UTC) #9
Ilya Sherman
LGTM % the remaining nits: https://codereview.chromium.org/1207373002/diff/20001/chrome/browser/password_manager/password_store_mac.cc File chrome/browser/password_manager/password_store_mac.cc (right): https://codereview.chromium.org/1207373002/diff/20001/chrome/browser/password_manager/password_store_mac.cc#newcode1004 chrome/browser/password_manager/password_store_mac.cc:1004: int chrome_owned_locked_forms_count = 0; ...
5 years, 5 months ago (2015-06-29 23:10:52 UTC) #10
vasilii
https://codereview.chromium.org/1207373002/diff/20001/chrome/browser/password_manager/password_store_mac.cc File chrome/browser/password_manager/password_store_mac.cc (right): https://codereview.chromium.org/1207373002/diff/20001/chrome/browser/password_manager/password_store_mac.cc#newcode1004 chrome/browser/password_manager/password_store_mac.cc:1004: int chrome_owned_locked_forms_count = 0; On 2015/06/29 23:10:52, Ilya Sherman ...
5 years, 5 months ago (2015-06-30 08:45:49 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1207373002/60001
5 years, 5 months ago (2015-06-30 08:46:19 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 5 months ago (2015-06-30 10:08:40 UTC) #15
commit-bot: I haz the power
5 years, 5 months ago (2015-06-30 10:09:40 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0b57b117fdabefd8584a99064822d50deea6d52a
Cr-Commit-Position: refs/heads/master@{#336756}

Powered by Google App Engine
This is Rietveld 408576698