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

Add support for universal binaries #3

Closed
wagoodman opened this issue Oct 16, 2022 · 0 comments · Fixed by #11
Closed

Add support for universal binaries #3

wagoodman opened this issue Oct 16, 2022 · 0 comments · Fixed by #11
Labels
enhancement New feature or request

Comments

@wagoodman
Copy link
Contributor

Today if you try to pass a universal binary to many commands it wont work:

$ quill describe /bin/ls
[0000]  INFO quill version: [not provided]
[0000] ERROR 1 error occurred:
        * unable to parse macho formatted file with blacktop: invalid magic number in record at byte 0x0

We need to unwrap each contained binary and sign accordingly (I think... more research needed here). The unwrapping / wrapping could be dealt with by https://github.com/anchore/go-macholibre/ upon detecting a universal binary without changing the overall signing/notarization logic too much.

@wagoodman wagoodman added the enhancement New feature or request label Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant