Open shadowhand opened 2 weeks ago
It seems the only way to allow 7777 to run is to allow applications from anywhere. This is a two step process:
spctl --global-disable
, which will enable the hidden "Anywhere" option for allowed apps.Once this change is made spctl --assess /usr/local/bin/7777
exits cleanly.
Can you clarify what runs spctl
?
I upgraded macOS too and things run fine:
@shadowhand I don't have that set to anywhere
though 🤔
I'll try to upgrade to the latest version, just in case…
It is still working fine with the latest version:
@mnapoli I think if you have previously bypassed SP for 7777 then it remembers the setting. I suspect that new installations of MacOS and/or 7777 will run into this.
OK that could be it. Could you explain what the problem is exactly? I don't know what it means to run spctl --add
and why one would run that command.
@mnapoli spctl used to allow specific unsigned apps to be executed. Now it seems that Apple has done away with that, only allowing Configuration Profiles to modify the SP database, so if users get an error saying that 7777 is unsigned and cannot be opened, they will need to allow applications from Anywhere, per my screenshots above. (See also this repo README. 😉 )
I have updated the title/description based on the exchange.
Ah-ha, while reading through some commentary from people smarter than me, I came across this comment:
Not unsigned apps, it flags “quarantined” apps that have been downloaded from arbitrary websites. Apps that don’t have the “mark of the web” quarantine flag will run just fine.
You can remove this flag from CLI too:
xattr -d com.apple.quarantine $FILE
As such, the recommended method of installing 7777 (via curl) should continue to work as expected for everyone. However, if someone tries to use download 7777 via a browser, it may not work.
See also this repo README. 😉
Doh! 🤦
Thanks for taking the time to add the details!
OK I'll clarify that explicitly in the README, thanks a lot. Between this app and the Bref Dashboard, I really hate distributing desktop or CLI apps 🥲 Working in the web is much more fun!
It seems that Apple no longer allows
spctl --add ...
at all; this is the documentation fromman spctl
in MacOS 15.1.0:And indeed, checking the assessment fails:
This does not appear to impact users who already have SP bypassed for 7777, but it will likely impact new installations.