From 3dd2a1ead4b84c42f7ceee190c4633f1b6b8d301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Falconnier?= Date: Fri, 17 May 2024 10:26:59 +0200 Subject: [PATCH] Add cdhash, teamID, signingID to the bundle events Fix #1352 --- Source/santabundleservice/SNTBundleService.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/santabundleservice/SNTBundleService.m b/Source/santabundleservice/SNTBundleService.m index b800959a1..fe275b3f9 100644 --- a/Source/santabundleservice/SNTBundleService.m +++ b/Source/santabundleservice/SNTBundleService.m @@ -226,6 +226,9 @@ - (NSDictionary *)generateEventsFromBinaries:(NSArray *)fis MOLCodesignChecker *cs = [fi codesignCheckerWithError:NULL]; se.signingChain = cs.certificates; + se.teamID = cs.teamID; + se.signingID = cs.signingID; + se.cdhash = cs.cdhash; dispatch_sync(dispatch_get_main_queue(), ^{ relatedEvents[se.fileSHA256] = se;