-
Notifications
You must be signed in to change notification settings - Fork 132
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
Problems installing mitmproxy (requires cryptography>=3.3,<3.5 and zstandard>=0.11,<0.16) #583
Comments
Thanks for the report. This package isn't currently a priority, but I'll update this issue if we add it in the future. And if anyone else wants it too, please click the thumbs-up button above. |
Thank you for your feedback. I hope this issue can be fixed soon as chaquopy looks very promising for my project in its ability to easily bundle python modules. Here I explain how I wish to integrate it in PCAPdroid. I don't know if you have already evaluated this and if it's feasible in your environment, but it would be great if people could contribute to your project by testing and fixing such packaging issues locally and provide PR. This would be a win for your project as you would expand compatibility and visibility and also a possibility for developers to speed up their integration process. |
You could try using our package build tool to build I've included our existing build files for I don't know anything about If you have any questions, please search the existing issues in the private repository, and create a new one if you still need help. |
Thank you, I'm checking this |
I've updated the requirements in this issue title as they were taken from the master branch of mitmproxy, whereas the latest mitmproxy version on pip (7.0.4) requires some older versions. In particular, I've built The building process is well documented and smooth. Only I've successfully built a poc app which bundles mitmproxy and the PCAPdroid plugin to export the decrypted TLS data. I'm making some adjustments and I will publish it on github soon. Using chaquopy feel like magic, almost everything works out of the box and python errors are reported with a detailed stacktrace which make it fairly easy to troubleshoot them. I only miss these two features:
|
That would be great, you can make a PR in the other repository, or email them to me if you prefer.
In this case the script is auto-generated by the
Because many native modules store state in static variables, the only reliable way to reset the Python environment is to exit the whole process. This is generally discouraged on Android, but it's still possible with the standard Java or Python APIs. Then you can restart the process with a new intent, either from a different app, or a different process in the same app. |
Thanks very much for sending me the recipes: I've now built the packages myself and added them to the public repository. |
That's great! I've just published an initial version of the PCAPdroid mitm addon. There are a lot of things to refine but I'm satisfied with the result. Thank you for providing this great framework! |
Chaquopy version
11.0.0
Relevant parts of your build.gradle file
Describe your issue
I'm trying to install mitmproxy with your plugin but it fails when trying to install
cryptography>=36,<37
andzstandard>=0.11,<0.17
.Log for cryptography:
Log for zstandard:
The text was updated successfully, but these errors were encountered: