Fake Code Sign in Ubuntu?

Discussion in 'iOS Development' started by mohitd2000, Jul 23, 2010.

  1. mohitd2000

    mohitd2000 Member

    Joined:
    Jul 6, 2009
    Messages:
    231
    Likes Received:
    0
    Device:
    3G iPod touch
    Is it possible to fake code sign in Linux Ubuntu? Or is this limited to Mac Terminal and iPhone MobileTerminal?
  2. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    It's not so much "fake" signing, as it is signing the binary with any ol' signature. With newer jailbreaks, the kernel is patched to allow not just Apple's, but any code signature on the programs. This is where "ldid," the Link Identity Editor, comes into play. Provided you have a proper built version apple's codesign_allocate tool(from iPhone darwin cctools) on your system(see http://saurik.com/id/4), you should be able to set your CODESIGN_ALLOCATE variable in your shell, and use ldid just as you would on the device itself with the compatibility toolchain.

    Source for ldid can be found here: http://svn.telesphoreo.org/trunk/data/ldid/

Share This Page