You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MacOS blocks binaries from untrusted sources, so you can't just download the binary, chmod +x it, and go.
A workaround is to base64 encode the binary, and then decode it back and chmod that. It looks like in that process, you lose the flag that tells MacOS that this came from an external library.
One option could therefore to write a simple "installer" that takes the base64 of the binary and decodes it. You could do this in the form of a bash script that:
contains some bash code, then a delimiter line like # BASE64 FOLLOWS
the bash code cats itself, uses awk to only print out the lines after that delimiter, base64 -d on that, and then chmod +x
The text was updated successfully, but these errors were encountered:
MacOS blocks binaries from untrusted sources, so you can't just download the binary,
chmod +x
it, and go.A workaround is to base64 encode the binary, and then decode it back and chmod that. It looks like in that process, you lose the flag that tells MacOS that this came from an external library.
One option could therefore to write a simple "installer" that takes the base64 of the binary and decodes it. You could do this in the form of a bash script that:
# BASE64 FOLLOWS
awk
to only print out the lines after that delimiter,base64 -d
on that, and thenchmod +x
The text was updated successfully, but these errors were encountered: