GithubHelp home page GithubHelp logo

Feature Request: Mach-O signer about ipsw HOT 19 CLOSED

blacktop avatar blacktop commented on May 27, 2024
Feature Request: Mach-O signer

from ipsw.

Comments (19)

CRKatri avatar CRKatri commented on May 27, 2024 1

Well trust me, they do not go unappreciated (pun not intended). I'll make sure to read the docs more thoroughly in the future 😆. You have so many awesome features in here sometime I lose track of what you already have.

from ipsw.

blacktop avatar blacktop commented on May 27, 2024

I like where your head's at! 🤘

from ipsw.

CRKatri avatar CRKatri commented on May 27, 2024

Also, more importantly, the jtool2 -vv --sig command. This is very useful when inspecting a signature.

from ipsw.

blacktop avatar blacktop commented on May 27, 2024

dude... I thought we were cool... 😢

ipsw macho info MACHO --sig -V
ipsw macho info MACHO --dump-cert -V

https://blacktop.github.io/ipsw/docs/commands/macho/#macho-info---sig

from ipsw.

CRKatri avatar CRKatri commented on May 27, 2024

I feel stupid 🤦🏻‍♂️, next time I'll read the docs before commenting.

from ipsw.

blacktop avatar blacktop commented on May 27, 2024

It's cool, I make all these awesome features for my beloved community and don't do a good job advertising them, which is probably why I see people recreating features from ipsw all the time 😞 , it's also my fault for writing it in Go I suppose 😉

from ipsw.

blacktop avatar blacktop commented on May 27, 2024

Just to update you on this initial feature request, I'm hopefully going to take another, 🤞 final, attempt at making a "near perfect" dsc splitter, which requires a LOT of macho re-writing, so once I get into that "flow" I should be able to add custom signatures etc.

from ipsw.

CRKatri avatar CRKatri commented on May 27, 2024

Could you extend ipsw macho info --sig to work on a .app bundle directly? i.e. ipsw macho info --sig -V TestApp.app instead of ipsw macho info --sig -V TestApp.app/TestApp

from ipsw.

blacktop avatar blacktop commented on May 27, 2024

Could you extend ipsw macho info --sig to work on a .app bundle directly? i.e. ipsw macho info --sig -V TestApp.app instead of ipsw macho info --sig -V TestApp.app/TestApp

done

from ipsw.

CRKatri avatar CRKatri commented on May 27, 2024

I think the correct way is to actually first check if path.app/Info.plist exists, if it does then get the name of the executable from the CFBundleExecutable key and read path.app/CFBundleExecutableVal if path.app/Info.plist doesn't exist, then read path.app/Contents/Info.plist and read path.app/Contents/MacOS/CFBundleExecutableVal

from ipsw.

CRKatri avatar CRKatri commented on May 27, 2024

I tried to fix this myself but Go syntax confuses me, sorry.

from ipsw.

blacktop avatar blacktop commented on May 27, 2024

ah interesting, that does make sense, I checked a handful of apps and they all worked, but that is a much better solution.

from ipsw.

blacktop avatar blacktop commented on May 27, 2024

Not saying I will or that it makes sense to, but if I re-wrote ipsw do you think Swift of Rust would be better?

from ipsw.

CRKatri avatar CRKatri commented on May 27, 2024

Swift definitely. I am not a fan of rust, it is incredibly slow to compile and makes huge binaries. It's package manager is also not very good in my opinion. But personally I think ipsw is perfectly fine in Go, I plan on learning go in the future so hopefully I can help you out then.

from ipsw.

CRKatri avatar CRKatri commented on May 27, 2024

ah interesting, that does make sense, I checked a handful of apps and they all worked, but that is a much better solution.

The current solution will work for most macOS apps. However it won't work for iOS apps.

from ipsw.

blacktop avatar blacktop commented on May 27, 2024

Is there a comprehensive list of fields for those two plists anywhere? I figure there might be other interesting fields that I could start mining etc, for example: CFBundleURLSchemes 🤔

from ipsw.

CRKatri avatar CRKatri commented on May 27, 2024

https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Introduction/Introduction.html seems to list some stuff.

from ipsw.

blacktop avatar blacktop commented on May 27, 2024

should be good now (wrt .apps) 🤞

from ipsw.

blacktop avatar blacktop commented on May 27, 2024

😏

from ipsw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.