-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should auth_value be 2 when enabling? #61
Comments
Interesting. Thanks for the finding. Perhaps a conditional for that value would work well. I don't recall explicitly setting it to 1 for a specific reason but it may need to be there for older versions of macOS. Feel free to make a PR otherwise I'll assign this to myself |
I also noticed this on macOS 13.5 (Ventura). According to this "macOS TCC" article on HackTricks, value
As I am using Homebrew to install sed -i "" "s/{enable_mode_name}='1'/{enable_mode_name}='2'/" "$(realpath "/opt/homebrew/bin/tccutil")" I'll file a PR… |
The script was setting auth_value to value `1` when enabling an application/client in the tccutil database. According to jacobsalmela#61, on macOS 12.4 and macOS 13.5 the correct value for enabling is `2`. This commit adds a conditional value depending on OS version to use `auth_value=2` on macOS 12.0 and higher. Issue: jacobsalmela#61
Done ✔️: #67. |
The script was setting auth_value to value `1` when enabling an application/client in the tccutil database. According to #61, on macOS 12.4 and macOS 13.5 the correct value for enabling is `2`. This commit adds a conditional value depending on OS version to use `auth_value=2` on macOS 12.0 and higher. Issue: #61
I had trouble getting tccutil to work on macOS 12.4, but once I had enabled access to the TCC database via
csrutil disable
, this worked like a charm:I noticed that your script currently sets auth_value to 1 and I wonder if it should use the value 2 with this version of macOS.
The text was updated successfully, but these errors were encountered: