diff --git a/script/signing_helper.py b/script/signing_helper.py index 9650dc33cbe2..07261feceb96 100644 --- a/script/signing_helper.py +++ b/script/signing_helper.py @@ -113,7 +113,14 @@ def AddBravePartsForSigning(parts, config): # Overwrite to avoid TeamID mismatch with widevine dylib. parts['helper-app'].entitlements = 'helper-entitlements.plist' - parts['helper-app'].options = CodeSignOptions.RESTRICT + CodeSignOptions.KILL + CodeSignOptions.HARDENED_RUNTIME + parts['helper-app'].options = (CodeSignOptions.RESTRICT + + CodeSignOptions.KILL + + CodeSignOptions.HARDENED_RUNTIME) + # Alerts helper is not being distributed with Chrome yet and, because it + # uses the same identifier as the current Alerts service, the signing fails. + # For now we can set a different identifier and then remove this change once + # the helper starts being bundled into the distribution. + parts['helper-alerts'].identifier = '{}.helper.alerts'.format(config.base_bundle_id) return parts