jtool support for SHA256 signatures

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

jtool support for SHA256 signatures

Postby commanderKin » Sat Aug 05, 2017 3:16 pm

Hey,

I tried running the following command on my app compiled with xcode-beta (iOS11)
Code: Select all
jtool --sig ./path/to/xcode/binary


it results in two things you should be aware of

Code: Select all
Unknown opcode 7375626a - has Apple changed the op codes?Please notify J!
False Info plist
Entitlements (314 bytes) (use --ent to view)
Code Directory (1637 bytes)
      Version:     20200
      Flags:       none
      CodeLimit:   0x2be30
      Identifier:  ---
      CDHash:        2454e6bc81877486dcd2c79cf5201db89d7f915fe0fb496bbc37896758741bd7
      # of Hashes: 44 code + 5 special
      Hashes @229 size: 32 Type: SHA-256


Notice the Hash is of type SHA-256 and version is 20200
also the "Unknown opcode ..."

Commander.
commanderKin
 
Posts: 3
Joined: Thu Aug 03, 2017 8:02 am

Re: jtool support for SHA256 signatures

Postby commanderKin » Sat Aug 05, 2017 3:20 pm

Looking online I got a hit on xerub's github
https://github.com/xerub/ldid/commit/17 ... 93d97eedd3

commit message is "ldid2 handles SHA256 hashes"
commanderKin
 
Posts: 3
Joined: Thu Aug 03, 2017 8:02 am

Re: jtool support for SHA256 signatures

Postby morpheus » Sun Aug 06, 2017 5:00 pm

So does Jtool. That IS a sha-256 you are seeing. So that's LONG supported. Though not in self-signing, yet.

The opcodes are just because I don't handle all of the requirements language yet. Known issue, will be fixed.

[Edit: Self-sign now available in SHA-256 - by default, actually. Also better opcode handling
J
morpheus
Site Admin
 
Posts: 532
Joined: Thu Apr 11, 2013 6:24 pm


Return to Tools

Who is online

Users browsing this forum: No registered users and 1 guest

cron