Raise SIP requirement for root patching

This commit is contained in:
Mykola Grymalyuk
2022-08-23 12:27:46 -06:00
parent 763fe04c21
commit 6162e73a9f
5 changed files with 8 additions and 12 deletions

View File

@@ -173,7 +173,7 @@ Note: For security reasons, OpenShell will be disabled when Vault is set.
print(
f"""SIP is used to ensure proper security measures are set,
however to patch the root volume this must be lowered partially.
Only disable is absolutely necessary. SIP value = 0x802
Only disable is absolutely necessary. SIP value = 0xA03
Valid options:

View File

@@ -185,8 +185,3 @@ class generate_defaults:
nv_web_status = global_settings.global_settings().read_property("Force_Web_Drivers")
if nv_web_status is True:
settings.force_nv_web = True
if settings.disable_cs_lv is True:
# With Ventura, SIP needs to be lowered for AMFI to work
settings.custom_sip_value = "0xA03"

View File

@@ -213,7 +213,7 @@ class detect_root_patch:
def check_sip(self):
if self.constants.detected_os > os_data.os_data.catalina:
if self.nvidia_web is True:
if self.nvidia_web is True or self.constants.detected_os >= os_data.os_data.ventura:
sip = sip_data.system_integrity_protection.root_patch_sip_big_sur_3rd_part_kexts
sip_hex = "0xA03"
sip_value = (