Ask HN: Are Golang binaries without Apple Dev acct possible?

2 points by verdverm ↗ HN
I've been using GoReleaser to build and publish my Go binaries to GitHub. I tried installing the Mac on Catalina and hit the "untrusted developer" problem.

Is it possible to distribute these binaries without paying for and setting up code signing? Seems that 10.15 is more strict about these things.

Does the homebrew path get around this by building what you install locally?

3 comments

[ 3.9 ms ] story [ 23.7 ms ] thread
It seems like you can sign binaries with non-apple provided certificates:

https://developer.apple.com/library/archive/documentation/Se...

This github issue (https://github.com/goreleaser/goreleaser/issues/835) mentions: So, the sign pipe is supposed to be generic enough so it could be used with different signing mechanisms

Not tried this but it looks like its possible

Thanks, I'll give it a try this weekend and reply here with a more concrete answer