by Wowfunhappy · 6y ago · 0 comments
> codesign -f -s - [path to binary]
Unless something has changed on Apple Silicon, that's it, you're done, the binary has a signature. It does not have a trusted signature, but you don't need one. I think it was just simpler to write the OS assuming all executables would have a signature.
Yet. Until this you didn't need a signature at all.