Reviewers: TVL,
Description:
Do Keychain reauthorization at update time.
In addition to the at-launch reauthorization, this adds an at-update
reauthorization step. It only runs for users not on a system Keystone
ticket,
because the updater runs as root when on a system ticket, and root can't
read
individual user's Keychains. The at-update reauthorization is intended to
handle the reauthorization for users who rarely restart Chrome and might
miss
out on the at-launch step during the window where Chrome is signed by the
old
certificate but has the new reauthorization code in place. The at-update
reauthorization step can remain in place even after the certificate switch
occurs by shipping an old reauthorization stub binary signed with the old
certificate.
BUG=108238
TEST=none
Please review this at
https://chromiumcodereview.appspot.com/10377173/
SVN Base: svn://
svn.chromium.org/chrome/trunk/src/
Affected files:
M chrome/app/
breakpad_mac.mm
M chrome/browser/
chrome_browser_main_mac.mm
M chrome/browser/mac/
keychain_reauthorize.mm
M chrome/chrome_installer.gypi
M chrome/common/chrome_switches.h
M chrome/common/chrome_switches.cc
M chrome/installer/mac/dmgdiffer.sh
A chrome/installer/mac/keychain_reauthorize_main.cc
M chrome/installer/mac/keystone_install.sh
M chrome/installer/mac/pkg-dmg