mirror of
https://github.com/SignTools/SignTools.git
synced 2026-04-27 19:05:49 +03:00
[GH-ISSUE #210] Invalid or unsupported format for signature #64
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SignTools#64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Keagel on GitHub (Jun 2, 2022).
Original GitHub issue: https://github.com/SignTools/SignTools/issues/210
I tried basic troubleshooting first
Describe the bug
Can't sign Rocket for Instagram due to an invalid format.
Logs
System configuration
Additional context
I'm able to sign other apps, it's just this one that doesn't work. I'm trying to resign it to enable push notifications on Rocket. Do you know if this is strictly because of the app or if it's a bug?
@ViRb3 commented on GitHub (Jun 2, 2022):
There's definitely something wrong with
Payload/Instagram.app/Frameworks/Rocket.dylib. SignTools uses official Apple tools for signing, so if those fail, it's most likely a problem with the dylib. I can also attest that I've successfully signed many official tweaks, and not a single one had an error.For injecting tweaks, please get the official tweak from Cydia and inject in a clean IPA using the "Advanced" tab in SignTools.
@Keagel commented on GitHub (Jun 2, 2022):
Yeah that's what I tried. Signing works but app closes instantly whenever I add tweaks. Signing the decrypted app works and the app opens fine, but adding Rocket in any way either fails signing when I remove the jailbreak check and recompile the .dylib or just closes instantly when I try to open it. I've tried signing with the .deb file straight from a Cydia repository, from a dylib, with and without removing the jailbreak check.
I guess I'm doing something wrong if you say that it's always worked for you but I don't see what.
@ViRb3 commented on GitHub (Jun 2, 2022):
Oh, when I said "many official tweaks", I didn't mean your one specifically - I haven't tried it. Remember that tweaks are made for jailbroken devices, and naturally not all will work when injected in a non-jailbroken environment, at least not without modifications. This is something for you to figure out unfortunately, since as long as SignTools is concerned, injection works properly. In your case, the tweak is most likely failing to function in a non-jailbroken environment.
@Keagel commented on GitHub (Jun 3, 2022):
Rocket does work for non-jailbroken devices though, once you remove the jailbreak check - which I think I did properly as I simply followed their instructions. Either way I signed a previously working version for the time being.
When you say SignTools can inject the tweaks, do you mean the .deb files?
@ViRb3 commented on GitHub (Jun 3, 2022):
Sounds to me like you're compiling the tweak incorrectly, especially if it signs fine with the official dylib. Regarding the crash, check your crash logs. I can't offer support for individual tweaks, so unless you can track it down to a problem in SignTools, you would unfortunately be on your own.
SignTools can inject .deb files, as well as individual frameworks and dylibs:
github.com/SignTools/SignTools-CI@2f3ffe4d8c/sign.py (L196)@Keagel commented on GitHub (Jun 3, 2022):
No worries.
Good to know, thanks.