zsign icon indicating copy to clipboard operation
zsign copied to clipboard

Signed ipa with vpn permission of Plugins could not work?

Open dawei101 opened this issue 3 years ago • 9 comments

After run with below command

zsign -c ./pem.pem -k ./key key.key -m ./x.mobileprovision -o ./out.ipa -z 9 ./ipa.ipa

After sign it , the app could open, and ui is ok. But vpn is not work. Why ? does anything I forget?

Thanks

dawei101 avatar Feb 17 '23 13:02 dawei101

I have the same problem. Have you solved it

xujimu avatar Jul 21 '23 16:07 xujimu

Not yet

dawei101 avatar Jul 22 '23 07:07 dawei101

Not yet

I have successfully made the VPN work. It required modifying zsign; the plugin needed a separate mobileprovision for signing in order to function

xujimu avatar Jul 22 '23 16:07 xujimu

Wow ~~ that's cool !!! Would you like to commit the modification with a new pull request ?

Thanks!

dawei101 avatar Jul 24 '23 04:07 dawei101

Wow ~~ that's cool !!! Would you like to commit the modification with a new pull request ?

Thanks!

The modified source code can only apply to your own app. Simply put, an app including a VPN has a main app and a sub-app. You can unzip your IPA and find a "xxxx.appex" under the PlugIns folder. You can extract it, create a new identity in the developer backend, use the new identity to sign the "xxxx.appex" folder, and then put it back to the main app. When signing the main app, you need to exclude the "xxxx.appex" folder. This may indeed require modifications to zsign.

xujimu avatar Jul 27 '23 04:07 xujimu

Wow ~~ that's cool !!! Would you like to commit the modification with a new pull request ? Thanks!

The modified source code can only apply to your own app. Simply put, an app including a VPN has a main app and a sub-app. You can unzip your IPA and find a "xxxx.appex" under the PlugIns folder. You can extract it, create a new identity in the developer backend, use the new identity to sign the "xxxx.appex" folder, and then put it back to the main app. When signing the main app, you need to exclude the "xxxx.appex" folder. This may indeed require modifications to zsign.

Excuse me, How did you solve sign the plugin?

qqizai avatar Sep 18 '23 07:09 qqizai

I don't have spare time to create a PR for now, but I have a patch to support it from my own project. https://github.com/hazmi-e205/iDebugTool/commit/f181e0f54559d9e2bf56602896591b8f16f87f72#diff-3bf1c9a7888dcaa281c252dd4138ed68ef3d4551a2d0c4dc226b5053398c5400

I hope it can help you guys to expand the features of this powerful tool. Cheers...

hazmi-e205 avatar Sep 20 '23 22:09 hazmi-e205

Wow ~~ that's cool !!! Would you like to commit the modification with a new pull request ? Thanks!

The modified source code can only apply to your own app. Simply put, an app including a VPN has a main app and a sub-app. You can unzip your IPA and find a "xxxx.appex" under the PlugIns folder. You can extract it, create a new identity in the developer backend, use the new identity to sign the "xxxx.appex" folder, and then put it back to the main app. When signing the main app, you need to exclude the "xxxx.appex" folder. This may indeed require modifications to zsign.

it work for me!!

qqizai avatar Oct 11 '23 07:10 qqizai