indygreg/apple-platform-rs

rcodesign verify file.sh fails with Invalid magic number: 0x23212f62

dsehrawa opened this issue · 2 comments

rcodesign verify file.sh

fails with on MacOS:-

Mach-O parse failure: binary parsing error: Invalid magic number: 0x23212f62
Error: problems reported during verification

The apple
codesign -dvvv file.sh shows the certificate correctly

The verify command currently assumes the path is a Mach-O binary. The verification code hasn't been touched since we added support for bundles and other signable entity types.

I believe this was fixed in 187aedd. If there's a missing feature you are requesting, please file a new issue.