Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signed ipa with vpn permission of Plugins could not work? #283

Open
dawei101 opened this issue Feb 17, 2023 · 8 comments
Open

Signed ipa with vpn permission of Plugins could not work? #283

dawei101 opened this issue Feb 17, 2023 · 8 comments

Comments

@dawei101
Copy link

dawei101 commented Feb 17, 2023

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 dawei101 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 18, 2023
@dawei101 dawei101 reopened this Feb 18, 2023
@dawei101 dawei101 changed the title How to sign ipa with Plugins? Signed ipa with vpn permission of Plugins could not work? Feb 18, 2023
@xujimu
Copy link

xujimu commented Jul 21, 2023

I have the same problem. Have you solved it

@dawei101
Copy link
Author

Not yet

@xujimu
Copy link

xujimu commented Jul 22, 2023

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

@dawei101
Copy link
Author

dawei101 commented Jul 24, 2023

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

Thanks!

@xujimu
Copy link

xujimu commented Jul 27, 2023

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.

@qqizai
Copy link

qqizai commented Sep 18, 2023

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?

@hazmi-e205
Copy link

hazmi-e205 commented Sep 20, 2023

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

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

@qqizai
Copy link

qqizai commented Oct 11, 2023

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!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants