jtool --sig issues

Used for discussing the various tools in the book as well as encouraging members to share tools

jtool --sig issues

Postby jeffjohnson » Mon Feb 05, 2018 2:45 pm

I've been testing jtool, which looks very jcool, and I've noticed a few issues with jtool --sig. I'm running macOS 10.12.6.

1. Unlike codesign, jtool doesn't handle an app bundle path with a slash character at the end, which is added by shell tab completion.

Code: Select all
$ jtool --sig /Applications/Slack.app/
jtool: /Applications/Slack.app/ is not a regular file

Code: Select all
$ jtool --sig /Applications/Slack.app
Blob at offset: 8608 (10768 bytes) is an embedded signature

2. For App Store apps (for example Slack), I'm seeing an error in the output. If you need more details, let me know.

Code: Select all
Unknown opcode 7375626a - has Apple changed the op codes?Please notify J!

3. It appears not to be looking for the app's CFBundleExecutable in the "Info.plist".

Code: Select all
$ jtool --sig /Applications/Install\ macOS\ Sierra.app
jtool: can't open /Applications/Install macOS Sierra.app/Contents/MacOS//Install macOS Sierra - No such file or directory

Code: Select all
Posts: 1
Joined: Mon Feb 05, 2018 1:59 pm

Re: jtool --sig issues

Postby morpheus » Tue Feb 06, 2018 1:41 am

All valid points, and I'll fix. Thanks for letting me know.
Site Admin
Posts: 738
Joined: Thu Apr 11, 2013 6:24 pm

Return to Tools

Who is online

Users browsing this forum: No registered users and 2 guests