include identifier and don't exclude leaf node

This commit is contained in:
bridiver
2022-02-26 09:51:01 -07:00
parent 8698110062
commit bc28cb1d2f
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -66,7 +66,6 @@ trap check_exit EXIT
# brave/scripts/signing_helper.py will retrieve this value when called from
# sign_chrome.py
export MAC_PROVISIONING_PROFILE
export MAC_SIGNING_IDENTIFIER
# Clear output directory. It seems GN auto-creates directory path to the
# expected outputs. However, the signing script doesn't expect the path to
+1 -1
View File
@@ -137,7 +137,7 @@ def GetBraveSigningConfig(config_class, mac_provisioning_profile=None):
@property
def codesign_requirements_outer_app(self):
return 'designated => anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists / and certificate leaf[field.1.2.840.113635.100.6.1.13] / exists */ and certificate leaf[subject.OU] = ' + os.environ['MAC_SIGNING_IDENTIFIER']
return 'designated => identifier "' + self.base_bundle_id + '" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists / and certificate leaf[field.1.2.840.113635.100.6.1.13] / exists */'
config_class = ConfigNonChromeBranded