Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's not a cryptographic signature.

Use codesign -s - path to binary to recompute the checksum.



And to do that, as a package maintainer, you sometimes have to trace upstream’s build system because you need to intercept the file after the build system has patched it, but before they’re actually using it to run the tests. And then you try to inject the codesign command line into the upstream build system, and hope it’s going to work this time.

And often enough, it just doesn’t work at all ([1] ballpark number of issues, [2] one example case where I can confirm that I was affected myself).

Apple’s codesigning is hell.

[1]: https://github.com/search?q=org%3AHomebrew+codesign&type=iss...

[2]: https://github.com/Homebrew/brew/issues/7857#issuecomment-71...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: