149 points · by tosh · 2y ago · 24 comments
Achieving an open-source implementation of Apple Code Signing and notarization - https://news.ycombinator.com/item?id=32386762 - Aug 2022 (51 comments)
Only dang can do that sort of thing. Not us mere mortals.
I do have the idea, though, of letting the software offer to macroexpand people's links to past HN threads in this way (i.e. turn a raw link into an annotated one that mentions the title and date of the thread, and number of comments - because this makes the links more useful to the reader, who can more clearly decide whether to click or not). So maybe it will be more than a joke someday!
For anyone looking for the newest release: https://github.com/indygreg/apple-platform-rs/releases
The second part is the notarization. This is where you upload a .zip, .pkg, or .dmg to apple and they build a hash of your distribution and serve that to folks through gatekeeper. You can also staple the notarization to the package and then you don’t need to talk to the apple servers.
This way apple can revoke your notarization and users will get warnings about your software being maleware.