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

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

Issue 2832073002: Refactor mac signing scripts for development workflow (Closed)
Patch Set: Renamed requirement 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
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..33da85223fed9d871eee703fb21648f22c24060b
--- /dev/null
+++ b/chrome/installer/mac/variables.sh
@@ -0,0 +1,22 @@
+# 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
Mark Mentovai 2017/04/25 20:34:57 Blank line before this, and the same on line 12. O
Greg K 2017/04/25 22:15:05 Done.
+# 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\") \
+"

Powered by Google App Engine
This is Rietveld 408576698