shellcheck icon indicating copy to clipboard operation
shellcheck copied to clipboard

MaxOS shellcheck binary is not notarized

Open adamawolf opened this issue 5 years ago • 1 comments

I wanted to incorporate shellcheck into my organization's tool chain to run as a precommit on each developer's machine. I planned to include the prebuilt binary as an artifact that gets downloaded when the developer initializes their working copy of our source code. However, when first running the executable we're greeted with:

Screen Shot 2021-07-01 at 9 06 49 AM

This is because shellcheck is not notarized.

It would be amazing if future versions could follow these steps to notarize the pre-built binaries.

Either way, thanks for this great tool!

adamawolf avatar Jul 01 '21 16:07 adamawolf

I discovered this is just the "quarantine" file attribute that gets set when the file originates from a web browser. I can unset it on the binary using sudo xattr -r -d com.apple.quarantine shellcheck and this allows me to distribute it to the rest of my team as desired. Closing.

adamawolf avatar Jul 14 '21 19:07 adamawolf