Better HN
topnewbestaskshowjobs
Log inSign up

perrycynic

8 karma · joined Sep 22, 2015 (11y ago) · 5 submissions

Submissions

comment 11y ago · link · parent

These are explicit overrides programmed into Gatekeeper to deal with weak Xcode signatures during the transition time to stronger signatures. They're not a danger. Of course, Apple will tell you that you should use newer devtools than that. :-)

comment 11y ago · link · parent

Spctl(1) gives you Gatekeeper's acceptance status. If you disabled it, it will (almost) always say "accepted", but in this case it may be "accepted because you turned me off, you XXX." Check the spctl(1) manpage for more options. A recent version will support the --enforce-assessment option to tell you what the real answer is. And turn the dang thing back on while you're at it. :-)

comment 11y ago · link · parent

Note that "anchor apple" means "signed by Apple's build system". It will not cover the Xcode you get from the Mac App Store (it uses a different kind of signature). This incantation is good enough to check for "an Xcode I legitimately got from a web page download."

comment 11y ago · link · parent

$ spctl --assess --verbose /path/to/.app

comment 11y ago · link · parent

The whole point of Gatekeeper is that you can download your software from anywhere and it'll integrity-check it for you. "The downloads were too slow" has no bearing on "and then I saved three minutes by skipping the security check on the software I got from an untrusted site."

:-(