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

Unified Diff: chrome/installer/mac/sign_app.sh.in

Issue 10344009: Implement Keychain reauthorization (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/mac/sign_app.sh.in
===================================================================
--- chrome/installer/mac/sign_app.sh.in (revision 136305)
+++ chrome/installer/mac/sign_app.sh.in (working copy)
@@ -1,6 +1,6 @@
#!/bin/bash -p
-# Copyright (c) 2011 The Chromium Authors. All rights reserved.
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -45,8 +45,15 @@
helper_eh_app="${versioned_dir}/@MAC_PRODUCT_NAME@ Helper EH.app"
helper_np_app="${versioned_dir}/@MAC_PRODUCT_NAME@ Helper NP.app"
+requirement_string="\
+(identifier \"com.google.Chrome\" or identifier \"com.google.Chrome.canary\") \
+and (certificate leaf = H\"85cee8254216185620ddc8851c7a9fc4dfe120ef\" or \
+certificate leaf = H\"9481882581d8178db8b1649c0eaa4f9eb11288f0\")\
+"
+
codesign -s "${codesign_id}" --keychain "${codesign_keychain}" \
- "${browser_app}" --resource-rules "${browser_app_rules}"
+ "${browser_app}" --resource-rules "${browser_app_rules}" \
+ -r="${requirement_string}"
# Verify everything. Check the framework and helper apps to make sure that the
# signatures are present and weren't altered by the signing process.
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698