←back to thread

2603 points mattsolle | 4 comments | | HN request time: 0s | source
Show context
rubatuga ◴[] No.25075246[source]
Does anybody now how to disable all hashing on macOS? The best I could do was disable GateKeeper with `sudo spctl --master-disable`.
replies(2): >>25075356 #>>25075912 #
1. LeoNatan25 ◴[] No.25075356[source]
You can also disable code signing enforcement and amfi by adding the following boot args:

cs_enforcement_disable=1 amfi_get_out_of_my_way=1

replies(2): >>25075600 #>>25075648 #
2. Wowfunhappy ◴[] No.25075600[source]
Would anyone be able to explain more specifically how cs_enforcement_disable is is different from disabling Gatekeeper?
replies(1): >>25085683 #
3. rubatuga ◴[] No.25075648[source]
Thanks, you can also disable library code signing validation too:

`sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true`

4. saagarjha ◴[] No.25085683[source]
I believe GateKeeper only works on first launch.