-
Notifications
You must be signed in to change notification settings - Fork 1
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
iOS: Support for managing proxies and certificate authorities #42
Conversation
I haven’t tested it on the device, yet, but this is what I found reading through the code. |
This should probably be rebased on |
Unlike on Android, this current only supports setting a regular proxy. See tweaselORG/meta#21 for WireGuard support.
Currently, this requires a one-time setup step for the added CAs to actually be trusted, we'll have to look into that later, see: #44 (comment)
Like I mentioned (tweaselORG/meta#22 (comment)) Frida crashes the |
Since we found the problem in tweaselORG/meta#22, I was able to test this. mostly anyway, it seems that the Apps I download all seem to crash if I install them on the device. But that has nothing to do with the changes. Could you change the README and fix #55 while you're at it? Then we can merge! |
Just to document: I had a problem where apps wouldn't start because I had more than one mitmproxy CA on the device activated. I don't know how this could have happend, but I just deleted my |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it now successfully and it works. Great, thank you!
With this PR, I'm catching iOS up with the new features added for Android in #27.
This is based on #27, which needs to be merged first.
Functions implemented so far:
installCertificateAuthority()
andremoveCertificateAuthority()
to install or remove a certificate authority as a trusted root CA on the device. Caveat: For the CA to be trusted automatically, the user needs to perform a one-time setup step. (iOS: Support for managing certificate authorities #44)setProxy()
to either set or disable the global proxy settings. (setProxy()
function for Android and iOS #25)Additionally implemented:
stopApp()
to force-stop an app. (stopApp()
function for iOS #37)isAppInstalled()
to check whether an app is already installed on the device. (iOS: Function to check whether app is installed #41)Unrelated to the rest of the PR but also added here (since I didn't want to stack yet another PR):
ensureDevice()
on Android. The device preparation instructions on Android are now delightfully short. \o/ (Android: Automatically install Frida if necessary #39)