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

Issue 10344009: Implement Keychain reauthorization (Closed)

Created:
8 years, 7 months ago by Mark Mentovai
Modified:
8 years, 7 months ago
Reviewers:
stuartmorgan, Nico
CC:
chromium-reviews
Visibility:
Public.

Description

Implement Keychain reauthorization. This implements chrome::browser::mac::KeychainReauthorize, which will rewrite all Keychain items accessible to Chrome having an old requirement string showing up in any ACL, transitioning them to the new requirement string, which is now used when signing the application. Rewriting is handled by deleting the old Keychain item and storing a new one in its place. The transition code is not yet live, but the requirement string for signed applications is. BUG=108238 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=137235

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 14

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1165 lines, -2 lines) Patch
A chrome/browser/mac/keychain_reauthorize.h View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/browser/mac/keychain_reauthorize.cc View 1 2 3 1 chunk +441 lines, -0 lines 0 comments Download
A chrome/browser/mac/security_wrappers.h View 1 2 3 4 1 chunk +252 lines, -0 lines 0 comments Download
A chrome/browser/mac/security_wrappers.cc View 1 2 3 4 1 chunk +428 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/installer/mac/sign_app.sh.in View 1 2 3 2 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Mark Mentovai
This code isn’t live yet, but it’s the meat of the part that will be ...
8 years, 7 months ago (2012-05-08 15:29:44 UTC) #1
Nico
This looks all fine as far as I can tell. (Disclaimer: I haven't used the ...
8 years, 7 months ago (2012-05-08 18:46:25 UTC) #2
Mark Mentovai
I’ll add Stuart as someone who has Keychain experience. If you’re comfortable LGTMing, I’ll still ...
8 years, 7 months ago (2012-05-08 20:34:49 UTC) #3
stuartmorgan
LGTM; all nits That said, I found this *incredibly* hard to read, mostly because it's ...
8 years, 7 months ago (2012-05-10 06:50:54 UTC) #4
Mark Mentovai
I broke things up substantially here. I haven’t tested this yet but will do that ...
8 years, 7 months ago (2012-05-14 21:28:45 UTC) #5
stuartmorgan
LGTM, thanks for the rework! Much easier to hold each part in my head as ...
8 years, 7 months ago (2012-05-15 12:03:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mark@chromium.org/10344009/31001
8 years, 7 months ago (2012-05-15 18:36:48 UTC) #7
Mark Mentovai
8 years, 7 months ago (2012-05-15 18:43:06 UTC) #8
I completed my testing with this and only needed to make a couple of errors
tolerable without logging anything. That difference is in patch set 5, and this
is now going in. The next change will be a small one to enable the transition
code.

Powered by Google App Engine
This is Rietveld 408576698