Since MacOS 11.0.1, the operating system enforces that any executable must be signed before it’s allowed to run.
When a user downloads and tried to run a MacOS arm64 binary (e.g. for 26.0), the first interaction they get is the error that “bitcoind” is damaged and can’t be opened. You should move it to the Bin.
<img width="260" alt="image" src="https://github.com/bitcoin/bitcoin/assets/69010457/97ed147e-aa74-484c-a56e-1c3014aedaf4">
Even though this is quickly resolved by running codesign --sign - ./bitcoind, the error message does not provide any such directions, and is quite confusing for users.
I would suggest that we, in order of my preference:
- ship codesigned binaries by default, and keep unsigned binaries available at https://bitcoincore.org/bin/ for those that need/want it
- include a README.txt in the tar.gz with codesigning instructions (which cli users should be reasonably used to / familiar with anyway). An install shell script would be an option too but is probably more controversial.
- add clear instructions on bitcoincore.org and bitcoin.org
I'm unsure if any similar issues exist for the Windows binaries, but if so, we should probably take a similar approach there (if anyone with a Windows machine can confirm this, that would be great).