diff --git a/Exploits/fastPathSign/src/codesign.m b/Exploits/fastPathSign/src/codesign.m index 81b094b..0183438 100644 --- a/Exploits/fastPathSign/src/codesign.m +++ b/Exploits/fastPathSign/src/codesign.m @@ -124,7 +124,7 @@ int codesign_sign_adhoc(const char *path, bool preserveMetadata, NSDictionary *c parameters[(__bridge NSString*)kSecCodeSignerIdentity] = (__bridge id)identity; uint64_t preserveMetadataFlags = 0; if (preserveMetadata) { - preserveMetadataFlags = (kSecCSPreserveIdentifier | kSecCSPreserveRequirements | kSecCSPreserveEntitlements | kSecCSPreserveResourceRules); + preserveMetadataFlags = (kSecCSPreserveIdentifier | kSecCSPreserveRequirements | kSecCSPreserveResourceRules); if (!customEntitlements) { preserveMetadataFlags |= kSecCSPreserveEntitlements; }