Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] Dev binary files stockfish-macos-m1-apple-silicon can't be executed #5874

Open
PedanticHacker opened this issue Feb 11, 2025 · 2 comments

Comments

@PedanticHacker
Copy link
Contributor

Describe the issue

All dev binary files for macOS (i.e., stockfish-macos-m1-apple-silicon) are flat out rejected by macOS and can't be executed, because the OS isn't able to verify their digital signature, since they don't have any.

The binary files for macOS of Stockfish's final release versions (like 16, 16.1, 17) work fine, since they include a digital signature, but those dev versions of binary files don't have a digital signature and are thus blocked by macOS, even if the com.apple.quarantine extended attribute of the file is removed. It also doesn't help if a binary file is made executable, even if it is already, but just to be sure.

Expected behavior

I expect all dev binary files for macOS to be executable.

Steps to reproduce

  1. Download this Stockfish dev binary file for a Silicon-based Mac
  2. Unpack the downloaded TAR file
  3. Double-click the stockfish-macos-m1-apple-silicon binary file, found in the stockfish-macos-m1-apple-silicon/stockfish directory
  4. You will get a warning message, and all you can do is put the file in the Trash

Anything else?

I haven't been able to test the Intel-based versions of Stockfish dev binary files, because I only have a Silicon-based Mac. I imagine the issue would be the same.

At compile time, all those binary files for Intel-based and Silicon-based Macs should get a digital signature, even if they are just development versions of Stockfish. This will certainly solve the issue, but I hope it is doable.

Operating system

MacOS

Stockfish version

All dev binary files for macOS

@Disservin
Copy link
Member

They actually don't include a signature from us directly, neither do windows binaries btw.

The reason that the releases binaries work is that probably those binaries were whitelisted from someone at Microsoft/Apple.

@Disservin
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants