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

Unified Diff: chrome/installer/mac/variables.sh

Issue 2832073002: Refactor mac signing scripts for development workflow (Closed)
Patch Set: Fix wrong requirement variable name Created 3 years, 8 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/installer/mac/sign_versioned_dir.sh.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/mac/variables.sh
diff --git a/chrome/installer/mac/variables.sh b/chrome/installer/mac/variables.sh
new file mode 100644
index 0000000000000000000000000000000000000000..3cb206fd1f6bbd637eae2129dad8a0c6cce9a9fc
--- /dev/null
+++ b/chrome/installer/mac/variables.sh
@@ -0,0 +1,24 @@
+# Copyright 2017 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.
+
+# This signs the main app and helper executable, and enables "rootless"
+# protections. The main app does not use library validation because it has to
+# load Flash player, plugins, etc.
+enforcement_flags_app="restrict"
+
+# All the helpers (crashpad, app_mode_loader, etc.), run under library
+# validation as they should not run any code not signed by Google.
+enforcement_flags_helpers="${enforcement_flags_app},library"
+
+# The installer tools are signed with the kill bit as well, as they run on
+# signing machines and should never be modified.
+enforcement_flags_installer_tools="${enforcement_flags_helpers},kill"
+
+# The designated requirement suffix used when signing Chrome's binaries. It
+# contains the hash of the certificate used to sign Chrome. When transitioning
+# signing certs, this may include the hash of both the old and new certificate.
+requirement_suffix="\
+and (certificate leaf = H\"85cee8254216185620ddc8851c7a9fc4dfe120ef\" or \
+certificate leaf = H\"c9a99324ca3fcb23dbcc36bd5fd4f9753305130a\") \
+"
« no previous file with comments | « chrome/installer/mac/sign_versioned_dir.sh.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698