rpg-cli icon indicating copy to clipboard operation
rpg-cli copied to clipboard

macOS binary is unsigned, requiring Sec&Privacy adjustment

Open colindean opened this issue 4 years ago • 3 comments

I downloaded the binary and ran it on macOS 10.15.7. I got a security warning. I was able to open the Security & Privacy prefpane and allow it to run. The next time I ran it, I got the security warning again, but I was able to proceed.

colindean avatar May 26 '21 20:05 colindean

Note that you can get around this without the sec&privacy change by opening the dir where binary is with Finder, right clicking the binary and clicking Open. If you allow permissions there you'll be able to run in the shell next time without problems. I could add a note for that in the README.

I'm not familiar with the Apple signing process to prevent this altogether, I could look into it if it's not too onerous.

facundoolano avatar May 26 '21 20:05 facundoolano

Added a nothe to the README about this.

facundoolano avatar May 26 '21 21:05 facundoolano

Haven't done it yet, but it seems like a good tutorial: https://www.kencochrane.com/2020/08/01/build-and-sign-golang-binaries-for-macos-with-github-actions/

It feels like a lot of steps to setup, but can be automated easily :)

DNA avatar Jun 15 '21 15:06 DNA

Closing this, as it's referred in the README already.

facundoolano avatar Jul 10 '24 13:07 facundoolano