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

fx-compat: Apple Silicon source build can't load Mac Word dylib #103

Closed
dstillman opened this issue Oct 6, 2022 · 1 comment
Closed
Assignees
Milestone

Comments

@dstillman
Copy link
Member

The Apple Silicon part of the binary seems to be hardened and can't load an unsigned dylib:

code signature in [dylib] not valid for use in process: Trying to load an unsigned library

The Intel part of the binary doesn't seem to be affected, so loading under Rosetta with arch -arch x86_64 works.

We want to keep the hardening, so we should look into either 1) signing the dylib in Git or 2) signing source builds with Zotero's real cert. In theory (1) would just be committing the version from a real build. Need to confirm that that works in a source build.

(If we go with (1), our build process would still re-sign, so if we messed up and forgot to rebuild it before a cert expired it would only affect Apple Silicon source builds.)

@dstillman dstillman self-assigned this Oct 6, 2022
@dstillman dstillman added this to the Zotero 7 milestone Oct 6, 2022
@dstillman
Copy link
Member Author

Fixed by b03a43f

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

No branches or pull requests

1 participant