Implement signing with new CoreTrust bypass

This commit is contained in:
opa334
2023-11-26 18:29:32 +01:00
parent 68abdf124b
commit 2c327a0083
4 changed files with 69 additions and 4 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
#include <stdbool.h>
int binary_sign_adhoc(char *path, bool preserveMetadata);
int binary_sign_adhoc(const char *path, bool preserveMetadata);
+1 -1
View File
@@ -89,7 +89,7 @@ extern const CFStringRef kSecCodeInfoResourceDirectory; /* Internal */
}
#endif
int binary_sign_adhoc(char *path, bool preserveMetadata)
int binary_sign_adhoc(const char *path, bool preserveMetadata)
{
NSString *filePath = [NSString stringWithUTF8String:path];
OSStatus status = 0;