Merge branch 'main' into sequoia-development

This commit is contained in:
Mykola Grymalyuk
2024-08-20 15:26:26 -06:00
2 changed files with 10 additions and 3 deletions

View File

@@ -33,6 +33,8 @@ class KernelCacheSupport:
["teamID"] = Team ID (blank on ad-hoc signed)
To grab the CDHash of a kext, run 'codesign -dvvv <kext_path>'
"""
if not kext_name.endswith(".kext"):
return False
try:
aux_cache_path = Path(self.mount_location_data) / Path("/private/var/db/KernelExtensionManagement/AuxKC/CurrentAuxKC/com.apple.kcgen.instructions.plist")