-
Notifications
You must be signed in to change notification settings - Fork 49
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
Certificate checks are off #5
Comments
Good suggestion.I will add some warning in README. |
What's the reason to use that In our app we apply the proxy settings manually to our HTTP client and don't need to disable that check (just double checked this while reading about the security concerns about this package; we just use |
@tp I believe it's for Charles Proxy, which sniffs HTTPS traffic for debugging purposes, and thus requires you to install a self-signed CA certificate in the platform store Dart's As the development of such plugins is often motivated by the desire to use Charles Proxy with Flutter, the fact that Although I believe it's better to make the overwrite optional, maybe by a flag in the constructor for use cases such as yours |
Check this pull request #11 |
Thank you for the plugin!
When scanning the code, I've found the following in
http_proxy.dart
:If I'm not mistaken, then that effectively turns off all certificate checks - any communication done with this http client is not protected against a wide range of attacks!
Is there a way to use proxies without disabling certificate checks?
If not I think there should be strong warning somewhere that the plugin should only be used for non-sensitive data or dev environments.
The text was updated successfully, but these errors were encountered: