rcodesign verify file.sh fails with Invalid magic number: 0x23212f62
dsehrawa opened this issue · 2 comments
dsehrawa commented
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
indygreg commented
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.